Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: translateModel(BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 109.3 kB / 16.41 MB, free: 6.512 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 189.5 kB / 17.35 MB, free: 5.738 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.308/1.308, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002073/0.002073, allocations: 294.5 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9458/0.9458, allocations: 169.2 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00188/0.00188, allocations: 95.84 kB / 0.6821 GB, free: 6.941 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3698/0.3717, allocations: 86.96 MB / 0.767 GB, free: 3.664 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.03812/0.4099, allocations: 41.57 MB / 0.8076 GB, free: 9.938 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01346/0.4233, allocations: 10.41 MB / 0.8178 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001465/0.4248, allocations: 59.62 kB / 0.8179 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001733/0.4266, allocations: 0.6521 MB / 0.8185 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004652/0.4313, allocations: 1.975 MB / 0.8204 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002745/0.4341, allocations: 1.184 MB / 0.8216 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004057/0.4381, allocations: 3.415 MB / 0.8249 GB, free: 8.207 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001394/0.4395, allocations: 1.059 MB / 0.826 GB, free: 7.133 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002518/0.4421, allocations: 1.276 MB / 0.8272 GB, free: 5.863 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001261/0.4433, allocations: 0.8789 MB / 0.8281 GB, free: 4.98 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002024/0.4436, allocations: 100 kB / 0.8282 GB, free: 4.883 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001799/0.4454, allocations: 0.8694 MB / 0.829 GB, free: 4.012 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002983/0.4457, allocations: 275 kB / 0.8293 GB, free: 3.742 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007331/0.4464, allocations: 0.626 MB / 0.8299 GB, free: 3.113 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002507/0.4489, allocations: 1.942 MB / 0.8318 GB, free: 1.168 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.4489, allocations: 0 / 0.8318 GB, free: 1.168 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.112e-06/0.4489, allocations: 0 / 0.8318 GB, free: 1.168 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.384e-05/0.449, allocations: 0 / 0.8318 GB, free: 1.168 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.002524/0.4515, allocations: 1.511 MB / 0.8332 GB, free: 15.6 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.4516, allocations: 12.03 kB / 0.8333 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003737/0.4519, allocations: 135.4 kB / 0.8334 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001792/0.4537, allocations: 1.1 MB / 0.8345 GB, free: 14.31 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.303e-05/0.4538, allocations: 58 kB / 0.8345 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001127/0.4539, allocations: 75.91 kB / 0.8346 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001383/0.4553, allocations: 0.7944 MB / 0.8354 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.303e-05/0.4553, allocations: 4 kB / 0.8354 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.537e-05/0.4554, allocations: 24 kB / 0.8354 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.308e-05/0.4554, allocations: 24 kB / 0.8354 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001135/0.4566, allocations: 0.5672 MB / 0.836 GB, free: 12.73 MB / 0.6075 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.003909/0.4605, allocations: 3.544 MB / 0.8394 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005529/0.4611, allocations: 262.9 kB / 0.8397 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003504/0.4614, allocations: 181.3 kB / 0.8399 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004817/0.4619, allocations: 0.6609 MB / 0.8405 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.462, allocations: 42.48 kB / 0.8405 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=31): time 1.713e-06/0.462, allocations: 0 / 0.8405 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of matching and sorting (n=31): time 0.001168/0.4631, allocations: 0.5217 MB / 0.8411 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.643e-05/0.4632, allocations: 55.41 kB / 0.8411 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001102/0.4643, allocations: 0.9417 MB / 0.842 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.143e-05/0.4643, allocations: 33.7 kB / 0.8421 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003673/0.4647, allocations: 0.4956 MB / 0.8425 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.267e-05/0.4648, allocations: 110.4 kB / 0.8426 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001536/0.465, allocations: 118 kB / 0.8428 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.4651, allocations: 329.9 kB / 0.8431 GB, free: 5 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003592/0.4655, allocations: 165 kB / 0.8432 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004876/0.4659, allocations: 357.3 kB / 0.8436 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008283/0.4668, allocations: 0.5039 MB / 0.8441 GB, free: 3.844 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.4668, allocations: 4 kB / 0.8441 GB, free: 3.84 MB / 0.6075 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001101/0.4679, allocations: 0.6133 MB / 0.8447 GB, free: 3.219 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.4679, allocations: 8 kB / 0.8447 GB, free: 3.211 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.468, allocations: 7.984 kB / 0.8447 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.468, allocations: 8 kB / 0.8447 GB, free: 3.195 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004384/0.4684, allocations: 123.8 kB / 0.8448 GB, free: 3.074 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.335e-05/0.4684, allocations: 12.38 kB / 0.8448 GB, free: 3.062 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005568/0.469, allocations: 83.25 kB / 0.8449 GB, free: 2.98 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.387e-05/0.4691, allocations: 27.98 kB / 0.8449 GB, free: 2.953 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (65): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003175/0.4694, allocations: 273.8 kB / 0.8452 GB, free: 2.676 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001565/0.4695, allocations: 98.78 kB / 0.8453 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009537/0.4705, allocations: 498.2 kB / 0.8458 GB, free: 2.09 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007206/0.4712, allocations: 449.5 kB / 0.8462 GB, free: 1.621 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.4712, allocations: 0 / 0.8462 GB, free: 1.621 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003059/0.4716, allocations: 227.8 kB / 0.8464 GB, free: 1.379 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001197/0.4717, allocations: 7.938 kB / 0.8464 GB, free: 1.371 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005079/0.4722, allocations: 31.97 kB / 0.8464 GB, free: 1.34 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.614e-05/0.4723, allocations: 20.25 kB / 0.8465 GB, free: 1.32 MB / 0.6075 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001034/0.4733, allocations: 0.5078 MB / 0.847 GB, free: 0.8047 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001271/0.4746, allocations: 0.815 MB / 0.8477 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003573/0.475, allocations: 188 kB / 0.8479 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007806/0.4758, allocations: 0.6586 MB / 0.8486 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of Backend: time 5.31e-07/0.4758, allocations: 3.938 kB / 0.8486 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001674/0.4774, allocations: 0.686 MB / 0.8492 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of SimCode: time 0.004005/0.4815, allocations: 2.46 MB / 0.8516 GB, free: 11.94 MB / 0.6231 GB Notification: Performance of Templates: time 0.033/0.5145, allocations: 21.51 MB / 0.8727 GB, free: 6.723 MB / 0.6387 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)