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.001066/0.001066, allocations: 115.5 kB / 16.37 MB, free: 6.004 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.001086/0.001086, allocations: 195.6 kB / 17.31 MB, free: 5.613 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.263/1.263, 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.002145/0.002145, allocations: 292.6 kB / 291.4 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8927/0.8927, allocations: 169.3 MB / 0.4989 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00177/0.00177, allocations: 98.55 kB / 0.5967 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1575/0.1593, allocations: 86.97 MB / 0.6816 GB, free: 7.445 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.002525/0.1618, allocations: 1.378 MB / 0.6829 GB, free: 6.059 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00349/0.1654, allocations: 2.914 MB / 0.6858 GB, free: 3.129 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.557e-05/0.1654, allocations: 0 / 0.6858 GB, free: 3.129 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.733e-05/0.1655, allocations: 3.984 kB / 0.6858 GB, free: 3.125 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001095/0.1656, allocations: 35.81 kB / 0.6858 GB, free: 3.09 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006093/0.1662, allocations: 187.1 kB / 0.686 GB, free: 2.906 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002583/0.1665, allocations: 247.5 kB / 0.6862 GB, free: 2.664 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.342e-05/0.1666, allocations: 4 kB / 0.6862 GB, free: 2.66 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001046/0.1667, allocations: 99.78 kB / 0.6863 GB, free: 2.562 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001474/0.1668, allocations: 127.7 kB / 0.6865 GB, free: 2.438 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.821e-05/0.1669, allocations: 8 kB / 0.6865 GB, free: 2.43 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004139/0.1673, allocations: 139.8 kB / 0.6866 GB, free: 2.293 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.438e-05/0.1674, allocations: 79.83 kB / 0.6867 GB, free: 2.215 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001134/0.1675, allocations: 95.56 kB / 0.6868 GB, free: 2.121 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003728/0.1679, allocations: 271.2 kB / 0.687 GB, free: 1.855 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1679, allocations: 0 / 0.687 GB, free: 1.855 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1679, allocations: 0 / 0.687 GB, free: 1.855 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.002e-05/0.1679, allocations: 0 / 0.687 GB, free: 1.855 MB / 494.1 MB 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.0007718/0.1687, allocations: 0.5375 MB / 0.6876 GB, free: 1.27 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.1687, allocations: 12.03 kB / 0.6876 GB, free: 1.258 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001133/0.1689, allocations: 16.75 kB / 0.6876 GB, free: 1.242 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002591/0.1691, allocations: 236.1 kB / 0.6878 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.583e-05/0.1692, allocations: 28.36 kB / 0.6878 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.798e-05/0.1692, allocations: 16.38 kB / 0.6879 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005966/0.1698, allocations: 290.5 kB / 0.6881 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.1698, allocations: 0 / 0.6881 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.918e-05/0.1699, allocations: 4 kB / 0.6881 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.1699, allocations: 4 kB / 0.6881 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2814/0.4513, allocations: 0.7526 MB / 0.6889 GB, free: 18.64 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004532/0.4518, allocations: 309.2 kB / 0.6892 GB, free: 18.45 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001698/0.4535, allocations: 0.6714 MB / 0.6898 GB, free: 18.43 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000515/0.4541, allocations: 228.7 kB / 0.69 GB, free: 18.42 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003565/0.4544, allocations: 387.2 kB / 0.6904 GB, free: 18.04 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/0.4545, allocations: 43.3 kB / 0.6904 GB, free: 18 MB / 494.1 MB Notification: Performance of pre-optimization done (n=37): time 1.933e-06/0.4545, allocations: 0.8125 kB / 0.6905 GB, free: 18 MB / 494.1 MB Notification: Performance of matching and sorting (n=37): time 0.001597/0.4561, allocations: 0.6542 MB / 0.6911 GB, free: 17.96 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.05e-05/0.4561, allocations: 60.62 kB / 0.6911 GB, free: 17.9 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.297e-05/0.4562, allocations: 125 kB / 0.6913 GB, free: 17.8 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.119e-05/0.4562, allocations: 33.61 kB / 0.6913 GB, free: 17.77 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.682e-05/0.4563, allocations: 95.05 kB / 0.6914 GB, free: 17.69 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.359e-05/0.4564, allocations: 120.4 kB / 0.6915 GB, free: 17.62 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.988e-05/0.4565, allocations: 65.06 kB / 0.6916 GB, free: 17.61 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.244e-05/0.4565, allocations: 327 kB / 0.6919 GB, free: 17.3 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000485/0.457, allocations: 195 kB / 0.6921 GB, free: 17.3 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007365/0.4578, allocations: 200.7 kB / 0.6923 GB, free: 17.28 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008898/0.4587, allocations: 369 kB / 0.6926 GB, free: 17.21 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.4587, allocations: 0 / 0.6926 GB, free: 17.21 MB / 494.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.00103/0.4597, allocations: 463.4 kB / 0.693 GB, free: 17.11 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.4598, allocations: 8.438 kB / 0.6931 GB, free: 17.11 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.4598, allocations: 0 / 0.6931 GB, free: 17.11 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.4598, allocations: 7.156 kB / 0.6931 GB, free: 17.11 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003424/0.4601, allocations: 96.12 kB / 0.6932 GB, free: 17.11 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.4602, allocations: 4 kB / 0.6932 GB, free: 17.11 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001696/0.4603, allocations: 52.73 kB / 0.6932 GB, free: 17.09 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.246e-05/0.4604, allocations: 15.19 kB / 0.6932 GB, free: 17.08 MB / 494.1 MB 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.0001012/0.4605, allocations: 139.5 kB / 0.6934 GB, free: 16.96 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.071e-05/0.4605, allocations: 20.06 kB / 0.6934 GB, free: 16.95 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001144/0.4617, allocations: 0.5223 MB / 0.6939 GB, free: 16.82 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/0.4617, allocations: 7.938 kB / 0.6939 GB, free: 16.82 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.4617, allocations: 1.609 kB / 0.6939 GB, free: 16.82 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.4617, allocations: 1.547 kB / 0.6939 GB, free: 16.82 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002769/0.462, allocations: 314.1 kB / 0.6942 GB, free: 16.59 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.462, allocations: 0.5625 kB / 0.6942 GB, free: 16.59 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000316/0.4623, allocations: 98.91 kB / 0.6943 GB, free: 16.58 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.4623, allocations: 1.094 kB / 0.6943 GB, free: 16.58 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.581e-05/0.4624, allocations: 13.92 kB / 0.6943 GB, free: 16.58 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.4624, allocations: 5.891 kB / 0.6943 GB, free: 16.57 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.4624, allocations: 1 kB / 0.6943 GB, free: 16.57 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001036/0.4634, allocations: 497.5 kB / 0.6948 GB, free: 16.44 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.225e-05/0.4635, allocations: 107.2 kB / 0.6949 GB, free: 16.32 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.146e-05/0.4635, allocations: 9.094 kB / 0.6949 GB, free: 16.32 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001611/0.4637, allocations: 39.22 kB / 0.6949 GB, free: 16.31 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002419/0.4639, allocations: 115.6 kB / 0.695 GB, free: 16.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.806e-05/0.4639, allocations: 16.03 kB / 0.6951 GB, free: 16.3 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.71e-05/0.464, allocations: 96.03 kB / 0.6952 GB, free: 16.22 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.464, allocations: 4.312 kB / 0.6952 GB, free: 16.22 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003764/0.4644, allocations: 121.6 kB / 0.6953 GB, free: 16.2 MB / 494.1 MB 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.0002832/0.4647, allocations: 185.3 kB / 0.6954 GB, free: 16.1 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001019/0.4657, allocations: 479.7 kB / 0.6959 GB, free: 16.02 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4657, allocations: 0 / 0.6959 GB, free: 16.02 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005202/0.4662, allocations: 260.5 kB / 0.6962 GB, free: 15.97 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003635/0.4666, allocations: 74.7 kB / 0.6962 GB, free: 15.95 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007033/0.4673, allocations: 426.9 kB / 0.6966 GB, free: 15.76 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001497/0.4675, allocations: 0.7343 MB / 0.6974 GB, free: 15.06 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004041/0.4679, allocations: 185.3 kB / 0.6975 GB, free: 15.04 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.099e-05/0.468, allocations: 37.69 kB / 0.6976 GB, free: 15.03 MB / 494.1 MB Notification: Performance of SimCode: time 2.91e-07/0.468, allocations: 0 / 0.6976 GB, free: 15.03 MB / 494.1 MB Notification: Performance of Templates: time 0.009913/0.4779, allocations: 5.278 MB / 0.7027 GB, free: 14.64 MB / 494.1 MB 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1)