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.005404/0.005404, allocations: 103.6 kB / 15.73 MB, free: 6.051 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.001067/0.001067, allocations: 197.6 kB / 16.68 MB, free: 5.98 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.334/1.334, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002024/0.002024, allocations: 274.7 kB / 290.8 MB, free: 1.938 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9794/0.9794, allocations: 169.3 MB / 0.4983 GB, free: 13.83 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001658/0.001658, allocations: 91.86 kB / 0.6814 GB, free: 15.51 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1604/0.162, allocations: 86.98 MB / 0.7664 GB, free: 8.453 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002079/0.1641, allocations: 1.381 MB / 0.7677 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00318/0.1673, allocations: 2.906 MB / 0.7706 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.358e-05/0.1674, allocations: 0 / 0.7706 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 7.768e-05/0.1675, allocations: 11.92 kB / 0.7706 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001003/0.1676, allocations: 43.81 kB / 0.7706 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005023/0.1681, allocations: 183.1 kB / 0.7708 GB, free: 3.906 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002465/0.1684, allocations: 239.5 kB / 0.771 GB, free: 3.672 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.371e-05/0.1684, allocations: 7.938 kB / 0.771 GB, free: 3.664 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.678e-05/0.1685, allocations: 95.77 kB / 0.7711 GB, free: 3.57 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001398/0.1686, allocations: 119.8 kB / 0.7712 GB, free: 3.453 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.381e-05/0.1687, allocations: 19.94 kB / 0.7713 GB, free: 3.434 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003408/0.169, allocations: 139.8 kB / 0.7714 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.443e-05/0.1691, allocations: 91.81 kB / 0.7715 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.053e-05/0.1692, allocations: 91.52 kB / 0.7716 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003283/0.1696, allocations: 267.4 kB / 0.7718 GB, free: 2.855 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.1696, allocations: 0 / 0.7718 GB, free: 2.855 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.362e-06/0.1696, allocations: 0 / 0.7718 GB, free: 2.855 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.1696, allocations: 0 / 0.7718 GB, free: 2.855 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.0007771/0.1704, allocations: 0.53 MB / 0.7723 GB, free: 2.277 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.931e-05/0.1704, allocations: 8.031 kB / 0.7723 GB, free: 2.27 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001058/0.1705, allocations: 24.73 kB / 0.7724 GB, free: 2.246 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002161/0.1707, allocations: 235.2 kB / 0.7726 GB, free: 1.98 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.284e-05/0.1708, allocations: 24.36 kB / 0.7726 GB, free: 1.957 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.586e-05/0.1708, allocations: 12.38 kB / 0.7726 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006188/0.1715, allocations: 297.6 kB / 0.7729 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.1715, allocations: 0 / 0.7729 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.23e-05/0.1715, allocations: 12 kB / 0.7729 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.1715, allocations: 4 kB / 0.7729 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001341/0.1729, allocations: 0.7452 MB / 0.7737 GB, free: 0.8867 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003308/0.1732, allocations: 309.2 kB / 0.7739 GB, free: 0.5352 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.325/0.4982, allocations: 0.677 MB / 0.7746 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006009/0.4988, allocations: 233.9 kB / 0.7748 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003538/0.4992, allocations: 388.8 kB / 0.7752 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.19e-05/0.4992, allocations: 40.06 kB / 0.7752 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=37): time 2.595e-06/0.4992, allocations: 0 / 0.7752 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of matching and sorting (n=37): time 0.001694/0.5009, allocations: 0.6492 MB / 0.7759 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.983e-05/0.501, allocations: 56.59 kB / 0.7759 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.926e-05/0.5011, allocations: 125.2 kB / 0.776 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.133e-05/0.5011, allocations: 35.48 kB / 0.7761 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.45e-05/0.5011, allocations: 87.39 kB / 0.7762 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.225e-05/0.5012, allocations: 126.5 kB / 0.7763 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.986e-05/0.5013, allocations: 67.19 kB / 0.7763 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.878e-05/0.5013, allocations: 328.7 kB / 0.7767 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000471/0.5018, allocations: 194.9 kB / 0.7768 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004996/0.5023, allocations: 199.8 kB / 0.777 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009151/0.5033, allocations: 369.5 kB / 0.7774 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.5033, allocations: 3.531 kB / 0.7774 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001079/0.5043, allocations: 461 kB / 0.7778 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.5044, allocations: 6 kB / 0.7778 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.5044, allocations: 0.7188 kB / 0.7778 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.5044, allocations: 1.844 kB / 0.7778 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003787/0.5048, allocations: 102.2 kB / 0.7779 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.5048, allocations: 4.062 kB / 0.7779 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002022/0.505, allocations: 47.62 kB / 0.778 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.238e-05/0.5051, allocations: 15.81 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.0001206/0.5052, allocations: 141.7 kB / 0.7781 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.236e-05/0.5052, allocations: 17.98 kB / 0.7782 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001279/0.5065, allocations: 0.5216 MB / 0.7787 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.256e-06/0.5065, allocations: 3.969 kB / 0.7787 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.5065, allocations: 0 / 0.7787 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.5066, allocations: 5.312 kB / 0.7787 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002884/0.5068, allocations: 319 kB / 0.779 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.5069, allocations: 0 / 0.779 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003241/0.5072, allocations: 99.25 kB / 0.7791 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.5072, allocations: 2.031 kB / 0.7791 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.182e-05/0.5072, allocations: 11.27 kB / 0.7791 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.5072, allocations: 5.031 kB / 0.7791 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.5072, allocations: 0.75 kB / 0.7791 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001025/0.5083, allocations: 0.4946 MB / 0.7796 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.232e-05/0.5083, allocations: 98.97 kB / 0.7797 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.349e-05/0.5083, allocations: 5.125 kB / 0.7797 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001716/0.5085, allocations: 35.36 kB / 0.7797 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002219/0.5087, allocations: 123 kB / 0.7798 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.255e-05/0.5088, allocations: 10.97 kB / 0.7798 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.81e-05/0.5088, allocations: 99.86 kB / 0.7799 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5088, allocations: 2.75 kB / 0.7799 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003726/0.5092, allocations: 118 kB / 0.78 GB, free: 13.32 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.0002858/0.5095, allocations: 189.2 kB / 0.7802 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001019/0.5105, allocations: 472.9 kB / 0.7807 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.5105, allocations: 0 / 0.7807 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005167/0.5111, allocations: 264.7 kB / 0.7809 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003805/0.5115, allocations: 85.81 kB / 0.781 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006778/0.5121, allocations: 429.1 kB / 0.7814 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001605/0.5123, allocations: 0.7311 MB / 0.7821 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003953/0.5127, allocations: 188.1 kB / 0.7823 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.879e-05/0.5128, allocations: 42.89 kB / 0.7824 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of SimCode: time 2.2e-07/0.5128, allocations: 0 / 0.7824 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of Templates: time 0.008493/0.5213, allocations: 5.317 MB / 0.7875 GB, free: 11.8 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)