Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.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.Media.Antifreeze.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater") translateModel(BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 104.9 kB / 16.4 MB, free: 6.379 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.001199/0.001199, allocations: 184.3 kB / 17.33 MB, free: 5.852 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.258/1.258, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002132/0.002132, allocations: 298.6 kB / 291.5 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9029/0.9029, allocations: 169.2 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001726/0.001726, allocations: 91.86 kB / 0.6821 GB, free: 6.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4045/0.4062, allocations: 86.99 MB / 0.767 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002441/0.4087, allocations: 1.377 MB / 0.7684 GB, free: 2.512 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003501/0.4122, allocations: 2.907 MB / 0.7712 GB, free: 15.59 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.745e-05/0.4123, allocations: 0 / 0.7712 GB, free: 15.59 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 8.867e-05/0.4124, allocations: 11.92 kB / 0.7712 GB, free: 15.58 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001091/0.4125, allocations: 39.81 kB / 0.7713 GB, free: 15.54 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005812/0.4131, allocations: 191.1 kB / 0.7714 GB, free: 15.35 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002496/0.4134, allocations: 235.5 kB / 0.7717 GB, free: 15.12 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.168e-05/0.4134, allocations: 7.656 kB / 0.7717 GB, free: 15.12 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001043/0.4135, allocations: 95.83 kB / 0.7718 GB, free: 15.02 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001493/0.4137, allocations: 123.7 kB / 0.7719 GB, free: 14.9 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.302e-05/0.4137, allocations: 12 kB / 0.7719 GB, free: 14.89 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003911/0.4141, allocations: 135.9 kB / 0.772 GB, free: 14.76 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.155e-05/0.4142, allocations: 91.75 kB / 0.7721 GB, free: 14.67 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 9.667e-05/0.4143, allocations: 87.64 kB / 0.7722 GB, free: 14.58 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003921/0.4147, allocations: 277.8 kB / 0.7725 GB, free: 14.31 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.4148, allocations: 0 / 0.7725 GB, free: 14.31 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.453e-06/0.4148, allocations: 0 / 0.7725 GB, free: 14.31 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.142e-06/0.4148, allocations: 3.938 kB / 0.7725 GB, free: 14.31 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0008141/0.4156, allocations: 0.53 MB / 0.773 GB, free: 13.73 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.4156, allocations: 12.03 kB / 0.773 GB, free: 13.72 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001161/0.4158, allocations: 20.75 kB / 0.773 GB, free: 13.7 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002293/0.416, allocations: 236 kB / 0.7732 GB, free: 13.43 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.349e-05/0.416, allocations: 32.3 kB / 0.7733 GB, free: 13.4 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.652e-05/0.4161, allocations: 12.38 kB / 0.7733 GB, free: 13.39 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006415/0.4167, allocations: 298.2 kB / 0.7736 GB, free: 13.09 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.4167, allocations: 0 / 0.7736 GB, free: 13.09 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.247e-05/0.4168, allocations: 8 kB / 0.7736 GB, free: 13.08 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.4168, allocations: 4 kB / 0.7736 GB, free: 13.08 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001345/0.4181, allocations: 0.7452 MB / 0.7743 GB, free: 12.33 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003296/0.4185, allocations: 309.3 kB / 0.7746 GB, free: 11.98 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001556/0.42, allocations: 0.6796 MB / 0.7753 GB, free: 11.29 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004868/0.4205, allocations: 229.3 kB / 0.7755 GB, free: 11.06 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003606/0.4209, allocations: 400 kB / 0.7759 GB, free: 10.6 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.4209, allocations: 34.5 kB / 0.7759 GB, free: 10.55 MB / 0.545 GB Notification: Performance of pre-optimization done (n=37): time 1.523e-06/0.4209, allocations: 0 / 0.7759 GB, free: 10.55 MB / 0.545 GB Notification: Performance of matching and sorting (n=37): time 0.001529/0.4225, allocations: 0.6461 MB / 0.7765 GB, free: 9.902 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.667e-05/0.4225, allocations: 59.16 kB / 0.7766 GB, free: 9.832 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.993e-05/0.4226, allocations: 134.1 kB / 0.7767 GB, free: 9.691 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.635e-05/0.4227, allocations: 29.7 kB / 0.7767 GB, free: 9.656 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.793e-05/0.4227, allocations: 88.8 kB / 0.7768 GB, free: 9.566 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.889e-05/0.4228, allocations: 122.2 kB / 0.7769 GB, free: 9.445 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.722e-05/0.4229, allocations: 65.69 kB / 0.777 GB, free: 9.375 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.941e-05/0.423, allocations: 330.8 kB / 0.7773 GB, free: 9.043 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004474/0.4235, allocations: 191.8 kB / 0.7775 GB, free: 8.855 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004546/0.4239, allocations: 207.8 kB / 0.7777 GB, free: 8.652 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008584/0.4248, allocations: 356.3 kB / 0.778 GB, free: 8.301 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.4248, allocations: 0 / 0.778 GB, free: 8.301 MB / 0.545 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001006/0.4258, allocations: 469.2 kB / 0.7785 GB, free: 7.836 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.4258, allocations: 4 kB / 0.7785 GB, free: 7.832 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.4258, allocations: 0 / 0.7785 GB, free: 7.832 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.4259, allocations: 8 kB / 0.7785 GB, free: 7.824 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00034/0.4262, allocations: 91.86 kB / 0.7786 GB, free: 7.734 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.4262, allocations: 0 / 0.7786 GB, free: 7.734 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001813/0.4264, allocations: 55.73 kB / 0.7786 GB, free: 7.68 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.493e-05/0.4264, allocations: 11.98 kB / 0.7787 GB, free: 7.668 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (37): * Single equations (assignments): 37 * 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.0001208/0.4266, allocations: 148.2 kB / 0.7788 GB, free: 7.516 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.242e-05/0.4266, allocations: 23.73 kB / 0.7788 GB, free: 7.492 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001127/0.4277, allocations: 0.5168 MB / 0.7793 GB, free: 6.973 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.4278, allocations: 7.938 kB / 0.7793 GB, free: 6.965 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.4278, allocations: 0 / 0.7793 GB, free: 6.965 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-06/0.4278, allocations: 4 kB / 0.7793 GB, free: 6.961 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002842/0.4281, allocations: 313.3 kB / 0.7796 GB, free: 6.605 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.4281, allocations: 0 / 0.7796 GB, free: 6.605 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003266/0.4284, allocations: 103.8 kB / 0.7797 GB, free: 6.504 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.4284, allocations: 0 / 0.7797 GB, free: 6.504 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.42e-05/0.4285, allocations: 15.98 kB / 0.7798 GB, free: 6.488 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.4285, allocations: 4 kB / 0.7798 GB, free: 6.484 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4285, allocations: 0 / 0.7798 GB, free: 6.484 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001023/0.4295, allocations: 0.4887 MB / 0.7802 GB, free: 5.977 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.883e-05/0.4295, allocations: 108.7 kB / 0.7803 GB, free: 5.852 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.379e-05/0.4296, allocations: 4 kB / 0.7803 GB, free: 5.848 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001692/0.4298, allocations: 35.97 kB / 0.7804 GB, free: 5.812 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002055/0.43, allocations: 119.8 kB / 0.7805 GB, free: 5.695 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.474e-05/0.43, allocations: 23.92 kB / 0.7805 GB, free: 5.672 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.253e-05/0.4301, allocations: 97.52 kB / 0.7806 GB, free: 5.578 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.91e-07/0.4301, allocations: 0 / 0.7806 GB, free: 5.578 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003577/0.4304, allocations: 111.9 kB / 0.7807 GB, free: 5.469 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (37): * Single equations (assignments): 37 * 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.0003121/0.4307, allocations: 195 kB / 0.7809 GB, free: 5.27 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001024/0.4318, allocations: 463.3 kB / 0.7813 GB, free: 4.816 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4318, allocations: 0 / 0.7813 GB, free: 4.816 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0005092/0.4323, allocations: 260.6 kB / 0.7816 GB, free: 4.562 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003754/0.4327, allocations: 75.92 kB / 0.7817 GB, free: 4.488 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000679/0.4334, allocations: 468.1 kB / 0.7821 GB, free: 3.996 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000246/0.4336, allocations: 0.7328 MB / 0.7828 GB, free: 3.234 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001288/0.4338, allocations: 47.41 kB / 0.7829 GB, free: 3.191 MB / 0.545 GB Notification: Performance of SimCode: time 2.21e-07/0.4338, allocations: 0 / 0.7829 GB, free: 3.191 MB / 0.545 GB Notification: Performance of Templates: time 0.006671/0.4405, allocations: 4.76 MB / 0.7875 GB, free: 14.5 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.makefile (rm -f BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & ./BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1)