Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",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.001047/0.001047, allocations: 92.95 kB / 16.02 MB, free: 84 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.001281/0.001281, allocations: 184.9 kB / 16.92 MB, free: 6.934 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.298/1.298, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.651/0.651, allocations: 115.5 MB / 407.6 MB, free: 2.715 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002739/0.0002739, allocations: 15.98 kB / 496 MB, free: 6.27 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1188, allocations: 77.53 MB / 0.56 GB, free: 8.938 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.3943/0.5132, allocations: 185.8 MB / 0.7415 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00803/0.5213, allocations: 5.736 MB / 0.7471 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00108/0.5224, allocations: 39.75 kB / 0.7472 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001364/0.5238, allocations: 0.4974 MB / 0.7477 GB, free: 6.418 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003895/0.5277, allocations: 1.735 MB / 0.7493 GB, free: 4.676 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002508/0.5302, allocations: 1.086 MB / 0.7504 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003918/0.5341, allocations: 4.094 MB / 0.7544 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001148/0.5353, allocations: 0.7718 MB / 0.7552 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001553/0.5368, allocations: 0.8711 MB / 0.756 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001789/0.5386, allocations: 0.902 MB / 0.7569 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.866e-05/0.5387, allocations: 44 kB / 0.7569 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002497/0.5413, allocations: 1.621 MB / 0.7585 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000356/0.5416, allocations: 398.8 kB / 0.7589 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005808/0.5422, allocations: 0.6003 MB / 0.7595 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002082/0.5443, allocations: 2.13 MB / 0.7616 GB, free: 8.137 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.5443, allocations: 0 / 0.7616 GB, free: 8.137 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.173e-06/0.5443, allocations: 0 / 0.7616 GB, free: 8.137 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.063e-05/0.5443, allocations: 0 / 0.7616 GB, free: 8.137 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.001929/0.5463, allocations: 1.296 MB / 0.7628 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.5463, allocations: 8.031 kB / 0.7628 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001592/0.5465, allocations: 139.2 kB / 0.763 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001839/0.5483, allocations: 318.3 kB / 0.7633 GB, free: 6.324 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001077/0.5494, allocations: 0.8084 MB / 0.7641 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.82e-05/0.5495, allocations: 66 kB / 0.7641 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001207/0.5496, allocations: 84 kB / 0.7642 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001471/0.5511, allocations: 0.9209 MB / 0.7651 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.054e-05/0.5511, allocations: 0 / 0.7651 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.799e-05/0.5512, allocations: 40 kB / 0.7651 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-05/0.5512, allocations: 30 kB / 0.7652 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001349/0.5526, allocations: 0.8393 MB / 0.766 GB, free: 3.492 MB / 0.5762 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.004655/0.5573, allocations: 3.541 MB / 0.7694 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000723/0.558, allocations: 0.5004 MB / 0.7699 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000439/0.5584, allocations: 302 kB / 0.7702 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001704/0.5586, allocations: 101.5 kB / 0.7703 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/0.5587, allocations: 42.94 kB / 0.7704 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=47): time 1.693e-06/0.5587, allocations: 0 / 0.7704 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of matching and sorting (n=49): time 0.003639/0.5623, allocations: 1.958 MB / 0.7723 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.944e-05/0.5624, allocations: 55.84 kB / 0.7723 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008648/0.5632, allocations: 0.8058 MB / 0.7731 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.985e-05/0.5633, allocations: 37.7 kB / 0.7732 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002949/0.5636, allocations: 475.4 kB / 0.7736 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001313/0.5637, allocations: 173.4 kB / 0.7738 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.367e-05/0.5638, allocations: 61.69 kB / 0.7738 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.195e-05/0.5639, allocations: 329.9 kB / 0.7741 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004113/0.5643, allocations: 245.2 kB / 0.7744 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004824/0.5648, allocations: 361.2 kB / 0.7747 GB, free: 10.12 MB / 0.5919 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.003595/0.5684, allocations: 1.569 MB / 0.7763 GB, free: 8.5 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.5684, allocations: 0 / 0.7763 GB, free: 8.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001209/0.5696, allocations: 0.7963 MB / 0.777 GB, free: 7.688 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.5697, allocations: 8 kB / 0.777 GB, free: 7.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.5697, allocations: 4 kB / 0.777 GB, free: 7.676 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002665/0.57, allocations: 97.91 kB / 0.7771 GB, free: 7.574 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006431/0.5706, allocations: 155.8 kB / 0.7773 GB, free: 7.422 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002449/0.5731, allocations: 3.051 MB / 0.7803 GB, free: 4.105 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008528/0.5739, allocations: 71.8 kB / 0.7803 GB, free: 4.035 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.493e-05/0.574, allocations: 20 kB / 0.7804 GB, free: 4.016 MB / 0.5919 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 (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004085/0.5744, allocations: 307.3 kB / 0.7806 GB, free: 3.707 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001321/0.5746, allocations: 90.91 kB / 0.7807 GB, free: 3.617 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001855/0.5747, allocations: 100.7 kB / 0.7808 GB, free: 3.516 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.5748, allocations: 12 kB / 0.7808 GB, free: 3.504 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.5748, allocations: 0 / 0.7808 GB, free: 3.504 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009689/0.5757, allocations: 0.8544 MB / 0.7817 GB, free: 2.559 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002554/0.5783, allocations: 1.802 MB / 0.7834 GB, free: 0.6562 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.5783, allocations: 7.938 kB / 0.7834 GB, free: 0.6484 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005997/0.5789, allocations: 144.1 kB / 0.7836 GB, free: 0.5078 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002043/0.5791, allocations: 72.8 kB / 0.7836 GB, free: 444 kB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.181e-05/0.5792, allocations: 12 kB / 0.7837 GB, free: 432 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001346/0.5805, allocations: 1.644 MB / 0.7853 GB, free: 14.65 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.5806, allocations: 4.172 kB / 0.7853 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001432/0.582, allocations: 1.103 MB / 0.7863 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003138/0.5823, allocations: 232 kB / 0.7866 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/0.5824, allocations: 16 kB / 0.7866 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007583/0.5832, allocations: 68.62 kB / 0.7866 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.42e-05/0.5833, allocations: 43.89 kB / 0.7867 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-05/0.5834, allocations: 31.98 kB / 0.7867 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006254/0.584, allocations: 0.5615 MB / 0.7873 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.9e-07/0.584, allocations: 3.938 kB / 0.7873 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007926/0.5848, allocations: 280 kB / 0.7875 GB, free: 12.25 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U) * 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): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001938/0.5867, allocations: 1.715 MB / 0.7892 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001173/0.5879, allocations: 0.7971 MB / 0.79 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.5879, allocations: 64 / 0.79 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0005458/0.5885, allocations: 434.7 kB / 0.7904 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003007/0.5915, allocations: 0.5811 MB / 0.791 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009769/0.6013, allocations: 7.721 MB / 0.7985 GB, free: 0.6094 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006277/0.6019, allocations: 1.087 MB / 0.7996 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000827/0.6028, allocations: 211.7 kB / 0.7998 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004263/0.6032, allocations: 347.3 kB / 0.8001 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of SimCode: time 6.01e-07/0.6032, allocations: 0 / 0.8001 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.788/2.391, allocations: 26.42 MB / 0.8259 GB, free: 4.953 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003254/2.391, allocations: 287.9 kB / 0.8262 GB, free: 4.574 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.192/5.583, allocations: 0 / 0.8262 GB, free: 4.574 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1)