Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001557/0.001562, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 194.7 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.236/1.236, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 1.019/1.019, allocations: 143.1 MB / 433.4 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 68.09 kB / 0.5143 GB, free: 11.6 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1534/0.1548, allocations: 82.03 MB / 0.5944 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.4285/0.5833, allocations: 190.6 MB / 0.7805 GB, free: 14.65 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.008698/0.5921, allocations: 5.71 MB / 0.7861 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008485/0.593, allocations: 39.75 kB / 0.7861 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001294/0.5943, allocations: 0.5669 MB / 0.7867 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003599/0.5979, allocations: 1.61 MB / 0.7882 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002881/0.6008, allocations: 1.205 MB / 0.7894 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00291/0.6037, allocations: 2.56 MB / 0.7919 GB, free: 2.941 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001566/0.6053, allocations: 1.039 MB / 0.7929 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001973/0.6073, allocations: 1.047 MB / 0.7939 GB, free: 0.8398 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001853/0.6091, allocations: 0.8476 MB / 0.7948 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002976/0.6094, allocations: 115.9 kB / 0.7949 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002758/0.6122, allocations: 1.547 MB / 0.7964 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0007378/0.613, allocations: 498.8 kB / 0.7969 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.00137/0.6143, allocations: 0.6456 MB / 0.7975 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003341/0.6177, allocations: 2.232 MB / 0.7997 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.6177, allocations: 0 / 0.7997 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.323e-06/0.6177, allocations: 0 / 0.7997 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.189e-05/0.6178, allocations: 0 / 0.7997 GB, free: 10.96 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.002961/0.6207, allocations: 1.519 MB / 0.8012 GB, free: 9.391 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.6208, allocations: 8.031 kB / 0.8012 GB, free: 9.383 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001647/0.6209, allocations: 146.8 kB / 0.8013 GB, free: 9.234 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003027/0.624, allocations: 474 kB / 0.8018 GB, free: 8.77 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001424/0.6254, allocations: 0.818 MB / 0.8026 GB, free: 7.91 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003648/0.6258, allocations: 125.9 kB / 0.8027 GB, free: 7.785 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001365/0.6259, allocations: 87.91 kB / 0.8028 GB, free: 7.699 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002209/0.6282, allocations: 1.186 MB / 0.8039 GB, free: 6.492 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.457e-05/0.6282, allocations: 0 / 0.8039 GB, free: 6.492 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.97e-05/0.6283, allocations: 36 kB / 0.804 GB, free: 6.457 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.189e-05/0.6283, allocations: 38 kB / 0.804 GB, free: 6.418 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002478/0.6308, allocations: 1.077 MB / 0.805 GB, free: 5.344 MB / 0.6231 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006658/0.6375, allocations: 4.357 MB / 0.8093 GB, free: 0.7266 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002136/0.6396, allocations: 0.7693 MB / 0.8101 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009842/0.6406, allocations: 410.9 kB / 0.8104 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001739/0.6408, allocations: 101 kB / 0.8105 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/0.6409, allocations: 46.52 kB / 0.8106 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=43): time 1.744e-06/0.6409, allocations: 0 / 0.8106 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of matching and sorting (n=45): time 0.006067/0.6469, allocations: 2.198 MB / 0.8127 GB, free: 13.13 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.349e-05/0.647, allocations: 67.41 kB / 0.8128 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001058/0.6481, allocations: 0.8685 MB / 0.8136 GB, free: 12.17 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.862e-05/0.6481, allocations: 33.7 kB / 0.8137 GB, free: 12.13 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003693/0.6485, allocations: 499.2 kB / 0.8142 GB, free: 11.64 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001609/0.6487, allocations: 157.7 kB / 0.8143 GB, free: 11.48 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002206/0.6489, allocations: 126.1 kB / 0.8144 GB, free: 11.36 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.649, allocations: 330 kB / 0.8147 GB, free: 11.03 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001026/0.6501, allocations: 377 kB / 0.8151 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001157/0.6512, allocations: 0.5066 MB / 0.8156 GB, free: 10.1 MB / 0.6387 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.006422/0.6577, allocations: 2.285 MB / 0.8178 GB, free: 7.75 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.6577, allocations: 4 kB / 0.8178 GB, free: 7.746 MB / 0.6387 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002439/0.6601, allocations: 0.9937 MB / 0.8188 GB, free: 6.742 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.87e-05/0.6602, allocations: 8 kB / 0.8188 GB, free: 6.734 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.6602, allocations: 7.984 kB / 0.8188 GB, free: 6.727 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/0.6602, allocations: 11.94 kB / 0.8188 GB, free: 6.715 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009897/0.6612, allocations: 191.8 kB / 0.819 GB, free: 6.527 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.584e-05/0.6612, allocations: 4 kB / 0.819 GB, free: 6.523 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001052/0.6623, allocations: 71.92 kB / 0.8191 GB, free: 6.453 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.268e-05/0.6624, allocations: 28 kB / 0.8191 GB, free: 6.426 MB / 0.6387 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004758/0.6628, allocations: 320.6 kB / 0.8194 GB, free: 6.105 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001829/0.663, allocations: 94.88 kB / 0.8195 GB, free: 6.012 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002166/0.6633, allocations: 100.8 kB / 0.8196 GB, free: 5.91 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.6633, allocations: 7.938 kB / 0.8196 GB, free: 5.902 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.6633, allocations: 3.984 kB / 0.8196 GB, free: 5.898 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002077/0.6654, allocations: 1.032 MB / 0.8206 GB, free: 4.781 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004894/0.6703, allocations: 2.156 MB / 0.8227 GB, free: 2.527 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/0.6703, allocations: 4 kB / 0.8227 GB, free: 2.523 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009373/0.6712, allocations: 159.9 kB / 0.8229 GB, free: 2.367 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-05/0.6713, allocations: 8 kB / 0.8229 GB, free: 2.359 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.701e-05/0.6713, allocations: 16 kB / 0.8229 GB, free: 2.344 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.527e-05/0.6713, allocations: 11.92 kB / 0.8229 GB, free: 2.332 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.6714, allocations: 7.938 kB / 0.8229 GB, free: 2.324 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003272/0.6746, allocations: 1.429 MB / 0.8243 GB, free: 0.832 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004154/0.6751, allocations: 252 kB / 0.8246 GB, free: 0.5664 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001553/0.6752, allocations: 19.98 kB / 0.8246 GB, free: 0.5469 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009469/0.6762, allocations: 67.94 kB / 0.8246 GB, free: 492 kB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.416e-05/0.6763, allocations: 43.83 kB / 0.8247 GB, free: 448 kB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.042e-05/0.6764, allocations: 35.91 kB / 0.8247 GB, free: 412 kB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007514/0.6771, allocations: 0.5966 MB / 0.8253 GB, free: 15.81 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6771, allocations: 7.938 kB / 0.8253 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008986/0.678, allocations: 268 kB / 0.8256 GB, free: 15.54 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004062/0.6821, allocations: 2.082 MB / 0.8276 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002483/0.6846, allocations: 0.8892 MB / 0.8285 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.698e-06/0.6846, allocations: 0 / 0.8285 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001039/0.6857, allocations: 405 kB / 0.8289 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00282/0.6885, allocations: 0.5841 MB / 0.8294 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01553/0.704, allocations: 8.558 MB / 0.8378 GB, free: 2.66 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009373/0.705, allocations: 1.106 MB / 0.8389 GB, free: 1.527 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001111/0.7061, allocations: 259.8 kB / 0.8391 GB, free: 1.27 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005669/0.7067, allocations: 355.3 kB / 0.8394 GB, free: 0.9219 MB / 0.6544 GB Notification: Performance of SimCode: time 7.92e-07/0.7067, allocations: 0 / 0.8394 GB, free: 0.9219 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2929/0.9996, allocations: 28.58 MB / 0.8674 GB, free: 211.5 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.698/10.7, allocations: 7.656 kB / 0.8674 GB, free: 211.5 MB / 0.67 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1)