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.001729/0.001729, allocations: 115.3 kB / 15.34 MB, free: 0.5078 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.001961/0.001961, allocations: 188.2 kB / 16.25 MB, free: 6.637 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.412/1.412, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002541/0.002541, allocations: 299.1 kB / 290.4 MB, free: 2.113 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.068/1.068, allocations: 178.6 MB / 0.5069 GB, free: 4.734 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002734/0.002734, allocations: 94.86 kB / 0.6059 GB, free: 24.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1605/0.1633, allocations: 89.16 MB / 0.693 GB, free: 4.699 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002533/0.1658, allocations: 1.447 MB / 0.6944 GB, free: 3.254 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003594/0.1694, allocations: 2.889 MB / 0.6972 GB, free: 368 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.63e-05/0.1695, allocations: 0 / 0.6972 GB, free: 368 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.524e-05/0.1696, allocations: 7.922 kB / 0.6972 GB, free: 360 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001012/0.1697, allocations: 40.44 kB / 0.6972 GB, free: 320 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000499/0.1702, allocations: 171.3 kB / 0.6974 GB, free: 148 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002923/0.1705, allocations: 239.5 kB / 0.6976 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.78e-05/0.1705, allocations: 11.92 kB / 0.6976 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001052/0.1707, allocations: 87.91 kB / 0.6977 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001629/0.1708, allocations: 135.7 kB / 0.6979 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.921e-05/0.1709, allocations: 12 kB / 0.6979 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003565/0.1712, allocations: 155.8 kB / 0.698 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.778e-05/0.1713, allocations: 83.81 kB / 0.6981 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000123/0.1715, allocations: 95.58 kB / 0.6982 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000364/0.1718, allocations: 267.6 kB / 0.6984 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.1718, allocations: 0 / 0.6984 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.553e-06/0.1718, allocations: 0 / 0.6984 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.552e-06/0.1719, allocations: 0 / 0.6984 GB, free: 15.08 MB / 0.4981 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.0008818/0.1727, allocations: 0.5375 MB / 0.699 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.1728, allocations: 8.031 kB / 0.699 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001199/0.1729, allocations: 24.73 kB / 0.699 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002743/0.1732, allocations: 236 kB / 0.6992 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.789e-05/0.1732, allocations: 24.36 kB / 0.6993 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.409e-05/0.1733, allocations: 12.38 kB / 0.6993 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006623/0.174, allocations: 293.9 kB / 0.6995 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.174, allocations: 3.938 kB / 0.6995 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.304e-05/0.174, allocations: 8 kB / 0.6996 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.174, allocations: 4 kB / 0.6996 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001518/0.1755, allocations: 0.7488 MB / 0.7003 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000417/0.176, allocations: 309.3 kB / 0.7006 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001727/0.1777, allocations: 0.6793 MB / 0.7013 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005179/0.1782, allocations: 220.7 kB / 0.7015 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004423/0.1787, allocations: 396.3 kB / 0.7018 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.027e-05/0.1787, allocations: 39.44 kB / 0.7019 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=37): time 3.466e-06/0.1787, allocations: 0 / 0.7019 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37): time 0.001652/0.1804, allocations: 0.6536 MB / 0.7025 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.191e-05/0.1804, allocations: 59.41 kB / 0.7026 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.1806, allocations: 125 kB / 0.7027 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.294e-05/0.1806, allocations: 29.7 kB / 0.7027 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.323e-05/0.1807, allocations: 96.78 kB / 0.7028 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001189/0.1808, allocations: 118.2 kB / 0.7029 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.1809, allocations: 65.67 kB / 0.703 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001597/0.1811, allocations: 330.8 kB / 0.7033 GB, free: 9.816 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004952/0.1816, allocations: 199.7 kB / 0.7035 GB, free: 9.621 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004937/0.1821, allocations: 203.6 kB / 0.7037 GB, free: 9.422 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009097/0.183, allocations: 364.8 kB / 0.704 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.183, allocations: 0 / 0.704 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001103/0.1841, allocations: 464.5 kB / 0.7045 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.1841, allocations: 8 kB / 0.7045 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.1841, allocations: 0 / 0.7045 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.1842, allocations: 7.984 kB / 0.7045 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003593/0.1845, allocations: 95.86 kB / 0.7046 GB, free: 8.492 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.77e-06/0.1845, allocations: 0 / 0.7046 GB, free: 8.492 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001911/0.1847, allocations: 51.7 kB / 0.7046 GB, free: 8.441 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.242e-05/0.1848, allocations: 19.98 kB / 0.7047 GB, free: 8.422 MB / 0.4981 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.0001403/0.1849, allocations: 137.8 kB / 0.7048 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.809e-05/0.185, allocations: 19.75 kB / 0.7048 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001247/0.1862, allocations: 0.5126 MB / 0.7053 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.1862, allocations: 4 kB / 0.7053 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.1862, allocations: 0 / 0.7053 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.1863, allocations: 7.984 kB / 0.7053 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000369/0.1866, allocations: 317.2 kB / 0.7056 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.1866, allocations: 4 kB / 0.7056 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003536/0.187, allocations: 103.8 kB / 0.7057 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.187, allocations: 0 / 0.7057 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.775e-05/0.187, allocations: 11.98 kB / 0.7057 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.1871, allocations: 4 kB / 0.7057 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.1871, allocations: 0 / 0.7057 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001152/0.1882, allocations: 496.7 kB / 0.7062 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.697e-05/0.1883, allocations: 100.8 kB / 0.7063 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.494e-05/0.1883, allocations: 4 kB / 0.7063 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001843/0.1885, allocations: 43.95 kB / 0.7064 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002413/0.1888, allocations: 119.8 kB / 0.7065 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.509e-05/0.1888, allocations: 8 kB / 0.7065 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.76e-05/0.1889, allocations: 103.2 kB / 0.7066 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.2e-07/0.1889, allocations: 0 / 0.7066 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003614/0.1893, allocations: 111.9 kB / 0.7067 GB, free: 6.25 MB / 0.4981 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.0003634/0.1896, allocations: 191 kB / 0.7069 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001272/0.1909, allocations: 0.5615 MB / 0.7074 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1909, allocations: 0 / 0.7074 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005907/0.1915, allocations: 260.6 kB / 0.7077 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004203/0.1919, allocations: 79.86 kB / 0.7077 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000817/0.1928, allocations: 495 kB / 0.7082 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003655/0.1931, allocations: 0.7328 MB / 0.7089 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004491/0.1936, allocations: 194.1 kB / 0.7091 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000101/0.1937, allocations: 35.42 kB / 0.7091 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1937, allocations: 0 / 0.7091 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of Templates: time 0.009652/0.2034, allocations: 5.056 MB / 0.7141 GB, free: 14.71 MB / 0.5137 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)