Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.514/1.514, allocations: 287.4 MB / 302.6 MB, free: 8.301 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008104/0.0008106, allocations: 180 kB / 371.1 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.215/1.215, allocations: 205.4 MB / 0.6298 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006884/0.0006882, allocations: 96.53 kB / 0.7431 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003583/0.0003584, allocations: 15.98 kB / 0.8662 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1725/0.1729, allocations: 115.3 MB / 0.9787 GB, free: 28.08 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.4996/0.6726, allocations: 173.4 MB / 1.148 GB, free: 10.68 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.007432/0.68, allocations: 5.355 MB / 1.153 GB, free: 8.395 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009379/0.681, allocations: 32.5 kB / 1.153 GB, free: 8.379 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001056/0.6821, allocations: 403.1 kB / 1.154 GB, free: 8.16 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.003679/0.6858, allocations: 1.206 MB / 1.155 GB, free: 7.41 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002638/0.6884, allocations: 0.8871 MB / 1.156 GB, free: 6.793 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003389/0.6918, allocations: 2.991 MB / 1.159 GB, free: 5.047 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009725/0.6928, allocations: 0.7068 MB / 1.159 GB, free: 4.621 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001841/0.6947, allocations: 0.8597 MB / 1.16 GB, free: 4.164 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001213/0.6959, allocations: 0.7557 MB / 1.161 GB, free: 3.754 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001148/0.696, allocations: 39.28 kB / 1.161 GB, free: 3.754 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002176/0.6982, allocations: 0.9203 MB / 1.162 GB, free: 3.277 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003442/0.6986, allocations: 343.1 kB / 1.162 GB, free: 3.059 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002765/0.6988, allocations: 234.3 kB / 1.162 GB, free: 2.934 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001556/0.7004, allocations: 1.402 MB / 1.164 GB, free: 2.039 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.7004, allocations: 0 / 1.164 GB, free: 2.039 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.473e-06/0.7004, allocations: 3.938 kB / 1.164 GB, free: 2.035 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.226e-05/0.7004, allocations: 0 / 1.164 GB, free: 2.035 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.001869/0.7023, allocations: 1.224 MB / 1.165 GB, free: 1.086 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.7024, allocations: 12.94 kB / 1.165 GB, free: 1.082 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001474/0.7025, allocations: 127.3 kB / 1.165 GB, free: 0.9766 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002299/0.7048, allocations: 442.2 kB / 1.166 GB, free: 0.7891 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001223/0.7061, allocations: 0.752 MB / 1.166 GB, free: 196 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003178/0.7064, allocations: 127.5 kB / 1.166 GB, free: 144 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001178/0.7065, allocations: 77.91 kB / 1.166 GB, free: 116 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001793/0.7083, allocations: 0.9998 MB / 1.167 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.123e-05/0.7084, allocations: 1.469 kB / 1.167 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-05/0.7084, allocations: 31.69 kB / 1.167 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.045e-05/0.7085, allocations: 35.8 kB / 1.168 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001862/0.7104, allocations: 0.897 MB / 1.168 GB, free: 15.08 MB / 0.7136 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.005547/0.7159, allocations: 3.538 MB / 1.172 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001501/0.7174, allocations: 0.653 MB / 1.172 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007034/0.7181, allocations: 350.9 kB / 1.173 GB, free: 11.85 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001737/0.7183, allocations: 94.84 kB / 1.173 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/0.7184, allocations: 47.22 kB / 1.173 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=39): time 2.675e-06/0.7184, allocations: 0 / 1.173 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of matching and sorting (n=41): time 0.007315/0.7257, allocations: 2.513 MB / 1.175 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.331e-05/0.7258, allocations: 58.34 kB / 1.175 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008685/0.7266, allocations: 0.7852 MB / 1.176 GB, free: 9.77 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.849e-05/0.7267, allocations: 36.39 kB / 1.176 GB, free: 9.73 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000282/0.727, allocations: 443.8 kB / 1.177 GB, free: 9.34 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001226/0.7271, allocations: 149.1 kB / 1.177 GB, free: 9.211 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.943e-05/0.7272, allocations: 14.97 kB / 1.177 GB, free: 9.199 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.7273, allocations: 326.9 kB / 1.177 GB, free: 8.879 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007184/0.728, allocations: 320.3 kB / 1.177 GB, free: 8.73 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007713/0.7288, allocations: 438 kB / 1.178 GB, free: 8.449 MB / 0.7136 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.00482/0.7336, allocations: 1.97 MB / 1.18 GB, free: 7.418 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.7336, allocations: 0 / 1.18 GB, free: 7.418 MB / 0.7136 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002909/0.7365, allocations: 1.088 MB / 1.181 GB, free: 6.883 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.7366, allocations: 7.594 kB / 1.181 GB, free: 6.883 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.7366, allocations: 2.938 kB / 1.181 GB, free: 6.883 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005278/0.7371, allocations: 194.2 kB / 1.181 GB, free: 6.797 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006406/0.7378, allocations: 166.2 kB / 1.181 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003689/0.7415, allocations: 2.183 MB / 1.183 GB, free: 4.953 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001043/0.7425, allocations: 93.14 kB / 1.183 GB, free: 4.91 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.714e-05/0.7426, allocations: 19.5 kB / 1.183 GB, free: 4.906 MB / 0.7136 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (59): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0004396/0.743, allocations: 285.1 kB / 1.184 GB, free: 4.688 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001153/0.7432, allocations: 86.59 kB / 1.184 GB, free: 4.645 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001782/0.7433, allocations: 95.78 kB / 1.184 GB, free: 4.578 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.7433, allocations: 6.641 kB / 1.184 GB, free: 4.574 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.7434, allocations: 0 / 1.184 GB, free: 4.574 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002534/0.7459, allocations: 0.9445 MB / 1.185 GB, free: 4.039 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00475/0.7507, allocations: 2.185 MB / 1.187 GB, free: 2.602 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.7507, allocations: 2.906 kB / 1.187 GB, free: 2.602 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006061/0.7513, allocations: 144.6 kB / 1.187 GB, free: 2.562 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000493/0.7518, allocations: 190.5 kB / 1.187 GB, free: 2.48 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.965e-05/0.7518, allocations: 20.55 kB / 1.187 GB, free: 2.465 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002985/0.7548, allocations: 2.067 MB / 1.189 GB, free: 0.7109 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.7549, allocations: 3.094 kB / 1.189 GB, free: 0.7109 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003486/0.7583, allocations: 1.517 MB / 1.191 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004684/0.7588, allocations: 236.6 kB / 1.191 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001066/0.7589, allocations: 15.67 kB / 1.191 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008164/0.7598, allocations: 98.22 kB / 1.191 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.153e-05/0.7599, allocations: 40.62 kB / 1.191 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.825e-05/0.7599, allocations: 26.86 kB / 1.191 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0006279/0.7606, allocations: 0.5454 MB / 1.192 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7606, allocations: 3.938 kB / 1.192 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0008043/0.7614, allocations: 270.6 kB / 1.192 GB, free: 15.2 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.U,volDyn.dynBal.mXi[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 (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.003972/0.7654, allocations: 2.136 MB / 1.194 GB, free: 13.74 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002322/0.7677, allocations: 0.9268 MB / 1.195 GB, free: 13.26 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/0.7677, allocations: 6.875 kB / 1.195 GB, free: 13.26 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0008771/0.7686, allocations: 478.3 kB / 1.195 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002536/0.7711, allocations: 0.5219 MB / 1.196 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01035/0.7815, allocations: 5.859 MB / 1.202 GB, free: 6.258 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005267/0.782, allocations: 1.04 MB / 1.203 GB, free: 5.191 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0007725/0.7828, allocations: 207.2 kB / 1.203 GB, free: 4.984 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004222/0.7833, allocations: 315.3 kB / 1.203 GB, free: 4.676 MB / 0.7292 GB Notification: Performance of SimCode: time 2.31e-07/0.7833, allocations: 0 / 1.203 GB, free: 4.676 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4219/1.205, allocations: 26.82 MB / 1.229 GB, free: 10.27 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002307/1.205, allocations: 299.4 kB / 1.23 GB, free: 9.906 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.671/3.877, allocations: 0 / 1.23 GB, free: 9.906 MB / 0.7605 GB (rm -f Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.fmu > Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1)