Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.394/1.394, allocations: 288.4 MB / 303.6 MB, free: 8.094 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.0007992/0.0007992, allocations: 184.4 kB / 372.3 MB, free: 10.13 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.157/1.157, allocations: 205.4 MB / 0.631 GB, free: 9.914 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.0006697/0.0006697, allocations: 102.8 kB / 0.7444 GB, free: 5.824 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003254/0.0003255, allocations: 12.31 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1437, allocations: 115.3 MB / 0.9802 GB, free: 27.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.4492/0.5929, allocations: 173.4 MB / 1.15 GB, free: 11.01 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.007346/0.6003, allocations: 5.355 MB / 1.155 GB, free: 7.641 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009255/0.6012, allocations: 28.94 kB / 1.155 GB, free: 7.629 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001173/0.6024, allocations: 463.1 kB / 1.155 GB, free: 7.266 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.003086/0.6055, allocations: 1.406 MB / 1.157 GB, free: 6.191 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002415/0.6079, allocations: 0.9539 MB / 1.158 GB, free: 5.527 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003132/0.6111, allocations: 2.978 MB / 1.16 GB, free: 3.793 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008877/0.612, allocations: 0.7151 MB / 1.161 GB, free: 3.359 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001528/0.6135, allocations: 0.8721 MB / 1.162 GB, free: 2.895 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001244/0.6148, allocations: 0.7642 MB / 1.163 GB, free: 2.477 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.000106/0.6149, allocations: 38.41 kB / 1.163 GB, free: 2.477 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00279/0.6177, allocations: 1.683 MB / 1.164 GB, free: 1.539 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003661/0.618, allocations: 339.5 kB / 1.165 GB, free: 1.324 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0005477/0.6186, allocations: 0.5204 MB / 1.165 GB, free: 1.004 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001558/0.6202, allocations: 1.47 MB / 1.167 GB, free: 84 kB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.6202, allocations: 4 kB / 1.167 GB, free: 80 kB / 0.698 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6202, allocations: 0 / 1.167 GB, free: 80 kB / 0.698 GB Notification: Performance of Transformations before backend: time 1.142e-05/0.6202, allocations: 4 kB / 1.167 GB, free: 76 kB / 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.6221, allocations: 1.22 MB / 1.168 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.6221, allocations: 13.5 kB / 1.168 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001442/0.6223, allocations: 123.6 kB / 1.168 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002295/0.6246, allocations: 438.5 kB / 1.168 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001188/0.6258, allocations: 0.7641 MB / 1.169 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003219/0.6261, allocations: 120.2 kB / 1.169 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/0.6262, allocations: 81.44 kB / 1.169 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001753/0.628, allocations: 0.9991 MB / 1.17 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.469e-05/0.628, allocations: 5.312 kB / 1.17 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.13e-05/0.6281, allocations: 32.25 kB / 1.17 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.218e-05/0.6281, allocations: 26.75 kB / 1.17 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001865/0.63, allocations: 0.9091 MB / 1.171 GB, free: 13.11 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.005465/0.6355, allocations: 3.525 MB / 1.175 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001472/0.637, allocations: 0.6551 MB / 1.175 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007067/0.6377, allocations: 355.2 kB / 1.176 GB, free: 9.887 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001566/0.6379, allocations: 98.88 kB / 1.176 GB, free: 9.785 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.6379, allocations: 40.19 kB / 1.176 GB, free: 9.742 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=39): time 2.204e-06/0.6379, allocations: 0 / 1.176 GB, free: 9.742 MB / 0.7136 GB Notification: Performance of matching and sorting (n=41): time 0.007187/0.6451, allocations: 2.515 MB / 1.178 GB, free: 8.32 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.83e-05/0.6451, allocations: 54.75 kB / 1.178 GB, free: 8.258 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007754/0.6459, allocations: 0.7839 MB / 1.179 GB, free: 7.816 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.614e-05/0.646, allocations: 35.45 kB / 1.179 GB, free: 7.781 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002666/0.6463, allocations: 442.8 kB / 1.18 GB, free: 7.391 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001153/0.6464, allocations: 153.8 kB / 1.18 GB, free: 7.258 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.018e-05/0.6464, allocations: 10.84 kB / 1.18 GB, free: 7.25 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.81e-05/0.6465, allocations: 327.1 kB / 1.18 GB, free: 6.93 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000723/0.6473, allocations: 320.2 kB / 1.18 GB, free: 6.781 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007933/0.6481, allocations: 441.9 kB / 1.181 GB, free: 6.492 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.004818/0.6529, allocations: 1.971 MB / 1.183 GB, free: 5.461 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.6529, allocations: 3.312 kB / 1.183 GB, free: 5.461 MB / 0.7136 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002912/0.6558, allocations: 1.086 MB / 1.184 GB, free: 4.926 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.6558, allocations: 6.094 kB / 1.184 GB, free: 4.926 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.6559, allocations: 3.188 kB / 1.184 GB, free: 4.926 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005136/0.6564, allocations: 194 kB / 1.184 GB, free: 4.84 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006281/0.657, allocations: 159.3 kB / 1.184 GB, free: 4.797 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003715/0.6607, allocations: 2.197 MB / 1.186 GB, free: 2.992 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000978/0.6617, allocations: 90.17 kB / 1.186 GB, free: 2.949 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.017e-05/0.6618, allocations: 25.02 kB / 1.186 GB, free: 2.941 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.000431/0.6622, allocations: 281.6 kB / 1.187 GB, free: 2.723 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001156/0.6624, allocations: 91.03 kB / 1.187 GB, free: 2.676 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001614/0.6625, allocations: 93.95 kB / 1.187 GB, free: 2.613 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.6625, allocations: 7.016 kB / 1.187 GB, free: 2.609 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.6625, allocations: 0 / 1.187 GB, free: 2.609 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002532/0.6651, allocations: 0.948 MB / 1.188 GB, free: 2.07 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004618/0.6697, allocations: 2.171 MB / 1.19 GB, free: 0.6484 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.6697, allocations: 3.219 kB / 1.19 GB, free: 0.6484 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005903/0.6703, allocations: 147.2 kB / 1.19 GB, free: 0.6055 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000487/0.6708, allocations: 196.1 kB / 1.19 GB, free: 0.5156 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.477e-05/0.6709, allocations: 12.03 kB / 1.19 GB, free: 0.5117 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00293/0.6738, allocations: 2.068 MB / 1.192 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.6738, allocations: 7 kB / 1.192 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0034/0.6772, allocations: 1.502 MB / 1.194 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003655/0.6776, allocations: 238.4 kB / 1.194 GB, free: 13.67 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.32e-05/0.6777, allocations: 9.719 kB / 1.194 GB, free: 13.67 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008499/0.6786, allocations: 102.8 kB / 1.194 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.245e-05/0.6786, allocations: 40.62 kB / 1.194 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.224e-05/0.6787, allocations: 38.59 kB / 1.194 GB, free: 13.58 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.000571/0.6793, allocations: 0.5422 MB / 1.195 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6793, allocations: 0 / 1.195 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0007407/0.68, allocations: 266.7 kB / 1.195 GB, free: 13.25 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.003923/0.684, allocations: 2.159 MB / 1.197 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002334/0.6863, allocations: 0.9146 MB / 1.198 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.6863, allocations: 7.938 kB / 1.198 GB, free: 10.58 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0008695/0.6872, allocations: 483.8 kB / 1.198 GB, free: 10.1 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00249/0.6897, allocations: 0.5267 MB / 1.199 GB, free: 9.578 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01026/0.7, allocations: 5.845 MB / 1.205 GB, free: 3.547 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005118/0.7005, allocations: 1.044 MB / 1.206 GB, free: 2.477 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0007215/0.7012, allocations: 199.2 kB / 1.206 GB, free: 2.277 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003879/0.7016, allocations: 311.3 kB / 1.206 GB, free: 1.973 MB / 0.7292 GB Notification: Performance of SimCode: time 3.2e-07/0.7016, allocations: 0 / 1.206 GB, free: 1.973 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9543/1.656, allocations: 27.11 MB / 1.233 GB, free: 7.285 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001901/1.656, allocations: 302.7 kB / 1.233 GB, free: 6.926 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.679/4.335, allocations: 2.5 kB / 1.233 GB, free: 6.926 MB / 0.7605 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.fmu > Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1)