Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.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.PropyleneGlycolWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater") translateModel(BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006816/0.006816, allocations: 101.1 kB / 15.73 MB, free: 6.047 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: 201.5 kB / 16.68 MB, free: 5.973 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.33/1.33, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002215/0.002215, allocations: 275.1 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9528/0.9528, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001775/0.001775, allocations: 95.84 kB / 0.6814 GB, free: 15.48 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.1553, allocations: 86.97 MB / 0.7664 GB, free: 8.434 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.00223/0.1575, allocations: 1.383 MB / 0.7677 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0034/0.161, allocations: 2.906 MB / 0.7706 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.773e-05/0.161, allocations: 4 kB / 0.7706 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 7.366e-05/0.1611, allocations: 11.92 kB / 0.7706 GB, free: 4.102 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001008/0.1612, allocations: 39.81 kB / 0.7706 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000542/0.1618, allocations: 183.1 kB / 0.7708 GB, free: 3.883 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002493/0.162, allocations: 239.5 kB / 0.771 GB, free: 3.648 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.238e-05/0.1621, allocations: 7.938 kB / 0.771 GB, free: 3.641 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001009/0.1622, allocations: 103.8 kB / 0.7711 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001234/0.1623, allocations: 115.8 kB / 0.7712 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.868e-05/0.1623, allocations: 12 kB / 0.7712 GB, free: 3.414 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003519/0.1627, allocations: 151.7 kB / 0.7714 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.651e-05/0.1628, allocations: 83.81 kB / 0.7715 GB, free: 3.184 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001058/0.1629, allocations: 95.53 kB / 0.7716 GB, free: 3.09 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003854/0.1633, allocations: 263.4 kB / 0.7718 GB, free: 2.832 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1633, allocations: 0 / 0.7718 GB, free: 2.832 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1633, allocations: 4 kB / 0.7718 GB, free: 2.828 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.1633, allocations: 0 / 0.7718 GB, free: 2.828 MB / 0.5606 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.0007895/0.1641, allocations: 0.5261 MB / 0.7723 GB, free: 2.254 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.1642, allocations: 16.02 kB / 0.7723 GB, free: 2.238 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001265/0.1643, allocations: 16.75 kB / 0.7724 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002416/0.1646, allocations: 232.1 kB / 0.7726 GB, free: 1.957 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.448e-05/0.1646, allocations: 28.36 kB / 0.7726 GB, free: 1.93 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.107e-05/0.1646, allocations: 20.36 kB / 0.7726 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005808/0.1652, allocations: 293.6 kB / 0.7729 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.1653, allocations: 3.938 kB / 0.7729 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.155e-05/0.1653, allocations: 4 kB / 0.7729 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.1653, allocations: 4 kB / 0.7729 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001352/0.1666, allocations: 0.7452 MB / 0.7737 GB, free: 0.8594 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00041/0.1671, allocations: 309.2 kB / 0.7739 GB, free: 0.5078 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3627/0.5298, allocations: 0.6794 MB / 0.7746 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005965/0.5304, allocations: 230.3 kB / 0.7748 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000376/0.5308, allocations: 387.7 kB / 0.7752 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/0.5308, allocations: 40.72 kB / 0.7752 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=37): time 2.124e-06/0.5309, allocations: 0 / 0.7752 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of matching and sorting (n=37): time 0.001672/0.5325, allocations: 0.6493 MB / 0.7759 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.99e-05/0.5326, allocations: 55.91 kB / 0.7759 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.896e-05/0.5327, allocations: 129 kB / 0.776 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/0.5327, allocations: 30.45 kB / 0.7761 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.495e-05/0.5327, allocations: 94.03 kB / 0.7762 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.548e-05/0.5328, allocations: 123.8 kB / 0.7763 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/0.533, allocations: 63.64 kB / 0.7763 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.394e-05/0.533, allocations: 327.8 kB / 0.7767 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004735/0.5335, allocations: 195.4 kB / 0.7768 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000483/0.534, allocations: 201.1 kB / 0.777 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009038/0.5349, allocations: 369.4 kB / 0.7774 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.5349, allocations: 1.062 kB / 0.7774 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001114/0.536, allocations: 463.8 kB / 0.7778 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/0.5361, allocations: 6.047 kB / 0.7778 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.5361, allocations: 2.438 kB / 0.7778 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.5361, allocations: 1.219 kB / 0.7778 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00038/0.5365, allocations: 98.03 kB / 0.7779 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.5365, allocations: 0.875 kB / 0.7779 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001894/0.5367, allocations: 55.66 kB / 0.778 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.834e-05/0.5368, allocations: 13.45 kB / 0.778 GB, free: 14.09 MB / 0.5606 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.0001275/0.5369, allocations: 144.3 kB / 0.7781 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.464e-05/0.5369, allocations: 16.69 kB / 0.7782 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001275/0.5382, allocations: 0.5193 MB / 0.7787 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.675e-06/0.5382, allocations: 4 kB / 0.7787 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.5383, allocations: 1.094 kB / 0.7787 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.5383, allocations: 3.625 kB / 0.7787 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003083/0.5386, allocations: 317.6 kB / 0.779 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/0.5386, allocations: 2.062 kB / 0.779 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003131/0.5389, allocations: 100.3 kB / 0.7791 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.5389, allocations: 1.156 kB / 0.7791 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.508e-05/0.539, allocations: 12.61 kB / 0.7791 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/0.539, allocations: 5.656 kB / 0.7791 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.539, allocations: 3.406 kB / 0.7791 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009896/0.54, allocations: 498.5 kB / 0.7796 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.369e-05/0.54, allocations: 94.7 kB / 0.7797 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.175e-05/0.5401, allocations: 9.969 kB / 0.7797 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000151/0.5402, allocations: 37.14 kB / 0.7797 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000219/0.5404, allocations: 123.1 kB / 0.7798 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.636e-05/0.5405, allocations: 11.7 kB / 0.7798 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.821e-05/0.5405, allocations: 104.5 kB / 0.7799 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5405, allocations: 1.656 kB / 0.7799 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004633/0.541, allocations: 117.4 kB / 0.78 GB, free: 13.29 MB / 0.5606 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.000297/0.5413, allocations: 185.6 kB / 0.7802 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001055/0.5424, allocations: 477.1 kB / 0.7807 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.5424, allocations: 4 kB / 0.7807 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005642/0.5429, allocations: 263.1 kB / 0.7809 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004019/0.5434, allocations: 84.78 kB / 0.781 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008049/0.5442, allocations: 427.5 kB / 0.7814 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001854/0.5444, allocations: 0.7342 MB / 0.7821 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003982/0.5448, allocations: 187.2 kB / 0.7823 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.843e-05/0.5449, allocations: 41.88 kB / 0.7824 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of SimCode: time 6.01e-07/0.5449, allocations: 0 / 0.7824 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of Templates: time 0.01083/0.5557, allocations: 5.323 MB / 0.7876 GB, free: 11.78 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.makefile (rm -f BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.sim & ./BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1)