Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater") translateModel(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.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.001117/0.001117, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.009139/0.009139, allocations: 173.8 kB / 16.27 MB, free: 6.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.439/1.439, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.901/2.901, allocations: 473.4 MB / 0.7469 GB, free: 6.039 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003627/0.0003627, allocations: 8.969 kB / 0.9158 GB, free: 33.08 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3561/0.3565, allocations: 162.2 MB / 1.074 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.001817/0.3583, allocations: 1.109 MB / 1.075 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004395/0.3628, allocations: 2.879 MB / 1.078 GB, free: 3.508 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.532e-05/0.3628, allocations: 0 / 1.078 GB, free: 3.508 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001156/0.363, allocations: 11.88 kB / 1.078 GB, free: 3.496 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001545/0.3631, allocations: 39.86 kB / 1.078 GB, free: 3.457 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008279/0.364, allocations: 159.4 kB / 1.078 GB, free: 3.301 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004119/0.3644, allocations: 343.3 kB / 1.079 GB, free: 2.965 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.388e-05/0.3645, allocations: 4 kB / 1.079 GB, free: 2.961 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001501/0.3646, allocations: 87.8 kB / 1.079 GB, free: 2.875 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002372/0.3649, allocations: 139.7 kB / 1.079 GB, free: 2.738 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.575e-05/0.3649, allocations: 12 kB / 1.079 GB, free: 2.727 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005789/0.3655, allocations: 151.8 kB / 1.079 GB, free: 2.578 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001282/0.3657, allocations: 79.78 kB / 1.079 GB, free: 2.5 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001592/0.3658, allocations: 121.3 kB / 1.079 GB, free: 2.375 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005067/0.3663, allocations: 267.6 kB / 1.079 GB, free: 2.113 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.3663, allocations: 0 / 1.079 GB, free: 2.113 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.707e-06/0.3664, allocations: 0 / 1.079 GB, free: 2.113 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.228e-06/0.3664, allocations: 0 / 1.079 GB, free: 2.113 MB / 0.8262 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.0009947/0.3674, allocations: 0.5301 MB / 1.08 GB, free: 1.535 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.3674, allocations: 8.031 kB / 1.08 GB, free: 1.527 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001675/0.3676, allocations: 20.75 kB / 1.08 GB, free: 1.508 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003613/0.368, allocations: 243.4 kB / 1.08 GB, free: 1.234 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.737e-05/0.368, allocations: 28.36 kB / 1.08 GB, free: 1.207 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.591e-05/0.3681, allocations: 12.38 kB / 1.08 GB, free: 1.195 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007367/0.3688, allocations: 323.1 kB / 1.08 GB, free: 0.875 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.3688, allocations: 0 / 1.08 GB, free: 0.875 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.929e-05/0.3689, allocations: 7.984 kB / 1.08 GB, free: 0.8672 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.3689, allocations: 4 kB / 1.08 GB, free: 0.8633 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001574/0.3705, allocations: 0.8077 MB / 1.081 GB, free: 56 kB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004033/0.3709, allocations: 313 kB / 1.082 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001841/0.3727, allocations: 0.7808 MB / 1.082 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005609/0.3733, allocations: 264.4 kB / 1.083 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004961/0.3738, allocations: 392.3 kB / 1.083 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.011e-05/0.3739, allocations: 34.5 kB / 1.083 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=37): time 2.014e-06/0.3739, allocations: 4 kB / 1.083 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of matching and sorting (n=37): time 0.001798/0.3757, allocations: 0.7395 MB / 1.084 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.837e-05/0.3757, allocations: 59.41 kB / 1.084 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.3759, allocations: 126.1 kB / 1.084 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.192e-05/0.3759, allocations: 33.64 kB / 1.084 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.806e-05/0.376, allocations: 88.8 kB / 1.084 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001248/0.3761, allocations: 126.1 kB / 1.084 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.296e-05/0.3762, allocations: 37.7 kB / 1.084 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.3763, allocations: 322.8 kB / 1.084 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005409/0.3769, allocations: 227.7 kB / 1.085 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005218/0.3774, allocations: 228.8 kB / 1.085 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009798/0.3784, allocations: 420.9 kB / 1.085 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.3784, allocations: 0 / 1.085 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001141/0.3796, allocations: 0.5198 MB / 1.086 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.3796, allocations: 4 kB / 1.086 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.3796, allocations: 0 / 1.086 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.3796, allocations: 4 kB / 1.086 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003875/0.38, allocations: 115.8 kB / 1.086 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.38, allocations: 0 / 1.086 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002078/0.3803, allocations: 63.8 kB / 1.086 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.876e-05/0.3803, allocations: 12 kB / 1.086 GB, free: 10.98 MB / 0.8419 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.0001418/0.3804, allocations: 141.8 kB / 1.086 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.501e-05/0.3805, allocations: 19.75 kB / 1.086 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001314/0.3818, allocations: 0.5726 MB / 1.087 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.3818, allocations: 4 kB / 1.087 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.3818, allocations: 0 / 1.087 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.3819, allocations: 7.984 kB / 1.087 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003606/0.3822, allocations: 313.3 kB / 1.087 GB, free: 9.871 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.3822, allocations: 0 / 1.087 GB, free: 9.871 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003503/0.3826, allocations: 115.8 kB / 1.087 GB, free: 9.758 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.439e-06/0.3826, allocations: 4 kB / 1.087 GB, free: 9.754 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.691e-05/0.3826, allocations: 11.98 kB / 1.087 GB, free: 9.742 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.3826, allocations: 0 / 1.087 GB, free: 9.742 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.3826, allocations: 4 kB / 1.087 GB, free: 9.738 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001179/0.3838, allocations: 0.555 MB / 1.088 GB, free: 9.164 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.865e-05/0.3839, allocations: 100.8 kB / 1.088 GB, free: 9.047 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.641e-05/0.3839, allocations: 8 kB / 1.088 GB, free: 9.039 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001945/0.3841, allocations: 51.95 kB / 1.088 GB, free: 8.988 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002385/0.3844, allocations: 115.8 kB / 1.088 GB, free: 8.875 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.619e-05/0.3844, allocations: 15.98 kB / 1.088 GB, free: 8.859 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.279e-05/0.3845, allocations: 102.7 kB / 1.088 GB, free: 8.762 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3845, allocations: 0 / 1.088 GB, free: 8.762 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004036/0.3849, allocations: 119.9 kB / 1.088 GB, free: 8.645 MB / 0.8419 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.0004072/0.3853, allocations: 187.1 kB / 1.088 GB, free: 8.453 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001169/0.3865, allocations: 0.5149 MB / 1.089 GB, free: 7.938 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.3865, allocations: 0 / 1.089 GB, free: 7.938 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0005994/0.3871, allocations: 291.4 kB / 1.089 GB, free: 7.652 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004517/0.3876, allocations: 79.8 kB / 1.089 GB, free: 7.574 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009653/0.3885, allocations: 0.4981 MB / 1.09 GB, free: 7.047 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000332/0.3889, allocations: 0.7292 MB / 1.09 GB, free: 6.293 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0004425/0.3893, allocations: 181.1 kB / 1.091 GB, free: 6.121 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001027/0.3895, allocations: 39.42 kB / 1.091 GB, free: 6.082 MB / 0.8419 GB Notification: Performance of SimCode: time 3.21e-07/0.3895, allocations: 0 / 1.091 GB, free: 6.082 MB / 0.8419 GB Notification: Performance of Templates: time 0.009556/0.399, allocations: 4.843 MB / 1.095 GB, free: 1.305 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.makefile (rm -f Buildings_3.0.0_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo Buildings_3.0.0_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/Buildings_3.0.0_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & ./Buildings_3.0.0_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1)