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.004875/0.004875, allocations: 101.2 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.001076/0.001076, allocations: 197.8 kB / 16.67 MB, free: 5.977 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.331/1.331, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002271/0.002271, allocations: 287 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.957/0.957, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001642/0.001642, allocations: 100.1 kB / 0.6814 GB, free: 15.51 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.1561, allocations: 86.98 MB / 0.7664 GB, free: 8.457 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002169/0.1583, allocations: 1.385 MB / 0.7677 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00321/0.1615, allocations: 2.906 MB / 0.7706 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.523e-05/0.1616, allocations: 0 / 0.7706 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 8.941e-05/0.1617, allocations: 7.922 kB / 0.7706 GB, free: 4.133 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001388/0.1618, allocations: 43.81 kB / 0.7706 GB, free: 4.09 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005756/0.1624, allocations: 187.1 kB / 0.7708 GB, free: 3.906 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002547/0.1627, allocations: 247.4 kB / 0.771 GB, free: 3.664 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.074e-05/0.1627, allocations: 7.938 kB / 0.771 GB, free: 3.656 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.732e-05/0.1628, allocations: 87.84 kB / 0.7711 GB, free: 3.57 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001423/0.163, allocations: 127.7 kB / 0.7712 GB, free: 3.445 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.28e-05/0.163, allocations: 12 kB / 0.7713 GB, free: 3.434 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003681/0.1634, allocations: 139.8 kB / 0.7714 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.654e-05/0.1635, allocations: 87.81 kB / 0.7715 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001085/0.1636, allocations: 91.58 kB / 0.7716 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003605/0.164, allocations: 267.4 kB / 0.7718 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.164, allocations: 0 / 0.7718 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.202e-06/0.164, allocations: 0 / 0.7718 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.151e-06/0.164, allocations: 0 / 0.7718 GB, free: 2.859 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.0008116/0.1648, allocations: 0.5261 MB / 0.7723 GB, free: 2.285 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.1649, allocations: 12.03 kB / 0.7723 GB, free: 2.273 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001196/0.165, allocations: 28.73 kB / 0.7724 GB, free: 2.246 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002674/0.1653, allocations: 228.1 kB / 0.7726 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.281e-05/0.1653, allocations: 24.36 kB / 0.7726 GB, free: 1.961 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.795e-05/0.1653, allocations: 16.31 kB / 0.7726 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000805/0.1662, allocations: 297.6 kB / 0.7729 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.1662, allocations: 0 / 0.7729 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.234e-05/0.1662, allocations: 8 kB / 0.7729 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.1662, allocations: 4 kB / 0.7729 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001405/0.1676, allocations: 0.7529 MB / 0.7736 GB, free: 0.8828 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003768/0.168, allocations: 309.2 kB / 0.7739 GB, free: 0.5312 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3236/0.4916, allocations: 0.6679 MB / 0.7746 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00058/0.4922, allocations: 234.5 kB / 0.7748 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000355/0.4926, allocations: 388.7 kB / 0.7752 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.474e-05/0.4926, allocations: 44.23 kB / 0.7752 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=37): time 2.003e-06/0.4926, allocations: 0 / 0.7752 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of matching and sorting (n=37): time 0.00167/0.4943, allocations: 0.6467 MB / 0.7759 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.59e-05/0.4944, allocations: 56.52 kB / 0.7759 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.452e-05/0.4945, allocations: 130.4 kB / 0.776 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.4945, allocations: 29.61 kB / 0.7761 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.089e-05/0.4945, allocations: 91.25 kB / 0.7762 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.54e-05/0.4946, allocations: 126.9 kB / 0.7763 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.645e-05/0.4947, allocations: 67.38 kB / 0.7763 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.653e-05/0.4948, allocations: 328.8 kB / 0.7767 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004674/0.4952, allocations: 193.3 kB / 0.7768 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004868/0.4957, allocations: 203.1 kB / 0.777 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000914/0.4967, allocations: 363.4 kB / 0.7774 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.4967, allocations: 0.7188 kB / 0.7774 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001111/0.4978, allocations: 465.2 kB / 0.7778 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.4978, allocations: 7.859 kB / 0.7778 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.4978, allocations: 1.062 kB / 0.7778 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.4978, allocations: 1 kB / 0.7778 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003665/0.4982, allocations: 97.59 kB / 0.7779 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/0.4982, allocations: 3.094 kB / 0.7779 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001841/0.4984, allocations: 52.7 kB / 0.778 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.904e-05/0.4985, allocations: 11.98 kB / 0.778 GB, free: 14.07 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.000103/0.4986, allocations: 149.7 kB / 0.7781 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.097e-05/0.4986, allocations: 18.84 kB / 0.7782 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001211/0.4998, allocations: 0.5129 MB / 0.7787 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/0.4998, allocations: 4 kB / 0.7787 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.4999, allocations: 0 / 0.7787 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.4999, allocations: 1.922 kB / 0.7787 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002624/0.5001, allocations: 323.1 kB / 0.779 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.5001, allocations: 6.031 kB / 0.779 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003206/0.5005, allocations: 92.56 kB / 0.7791 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.5005, allocations: 1.25 kB / 0.7791 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.329e-05/0.5005, allocations: 11.98 kB / 0.7791 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.5005, allocations: 5.344 kB / 0.7791 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.5005, allocations: 0.9375 kB / 0.7791 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001017/0.5015, allocations: 0.4967 MB / 0.7796 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.59e-05/0.5016, allocations: 98.64 kB / 0.7797 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.048e-05/0.5016, allocations: 5.875 kB / 0.7797 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001805/0.5018, allocations: 39.14 kB / 0.7797 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002173/0.502, allocations: 116.6 kB / 0.7798 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.661e-05/0.5021, allocations: 16.84 kB / 0.7798 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.711e-05/0.5021, allocations: 97.83 kB / 0.7799 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5021, allocations: 0 / 0.7799 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003877/0.5025, allocations: 117 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.0003014/0.5028, allocations: 184.9 kB / 0.7802 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001065/0.5039, allocations: 478.9 kB / 0.7807 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.5039, allocations: 1.031 kB / 0.7807 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005466/0.5045, allocations: 267.5 kB / 0.7809 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004106/0.5049, allocations: 80.36 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.000739/0.5056, allocations: 434.4 kB / 0.7814 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001845/0.5058, allocations: 0.7307 MB / 0.7821 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004038/0.5062, allocations: 191.3 kB / 0.7823 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.93e-05/0.5063, allocations: 35.38 kB / 0.7823 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of SimCode: time 2.51e-07/0.5063, allocations: 0 / 0.7823 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of Templates: time 0.009694/0.516, allocations: 5.397 MB / 0.7876 GB, free: 11.77 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)