Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.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.Examples.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 95.38 kB / 15.37 MB, free: 0.7266 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.009576/0.009576, allocations: 177.8 kB / 16.27 MB, free: 6.34 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.444/1.444, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.876/2.876, allocations: 473.4 MB / 0.7469 GB, free: 6.023 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003943/0.0003943, allocations: 11.66 kB / 0.9158 GB, free: 33.19 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4136/0.414, allocations: 162.2 MB / 1.074 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.001618/0.4157, allocations: 0.9959 MB / 1.075 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004298/0.42, allocations: 2.884 MB / 1.078 GB, free: 3.621 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.345e-05/0.42, allocations: 4 kB / 1.078 GB, free: 3.617 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.3e-05/0.4201, allocations: 7.922 kB / 1.078 GB, free: 3.609 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.848e-05/0.4201, allocations: 0 / 1.078 GB, free: 3.609 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000542/0.4207, allocations: 95.55 kB / 1.078 GB, free: 3.516 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.292e-05/0.4208, allocations: 27.92 kB / 1.078 GB, free: 3.488 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.468e-05/0.4208, allocations: 7.984 kB / 1.078 GB, free: 3.48 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005267/0.4214, allocations: 151.5 kB / 1.078 GB, free: 3.332 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.914e-05/0.4214, allocations: 15.91 kB / 1.078 GB, free: 3.316 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.161e-05/0.4214, allocations: 4 kB / 1.078 GB, free: 3.312 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001856/0.4216, allocations: 63.81 kB / 1.078 GB, free: 3.25 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.937e-05/0.4217, allocations: 8 kB / 1.078 GB, free: 3.242 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.878e-05/0.4217, allocations: 45.61 kB / 1.078 GB, free: 3.191 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000187/0.4219, allocations: 64.08 kB / 1.078 GB, free: 3.129 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.4219, allocations: 0 / 1.078 GB, free: 3.129 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.737e-06/0.4219, allocations: 4 kB / 1.078 GB, free: 3.125 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.568e-06/0.4219, allocations: 0 / 1.078 GB, free: 3.125 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004665/0.4224, allocations: 335.5 kB / 1.079 GB, free: 2.75 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.4225, allocations: 12.03 kB / 1.079 GB, free: 2.738 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.324e-05/0.4225, allocations: 0.9375 kB / 1.079 GB, free: 2.738 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/0.4227, allocations: 168.3 kB / 1.079 GB, free: 2.535 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.4227, allocations: 4.375 kB / 1.079 GB, free: 2.531 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.858e-05/0.4227, allocations: 4.375 kB / 1.079 GB, free: 2.527 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001499/0.4229, allocations: 65.72 kB / 1.079 GB, free: 2.457 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/0.4229, allocations: 0 / 1.079 GB, free: 2.457 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.549e-05/0.4229, allocations: 4 kB / 1.079 GB, free: 2.453 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.353e-06/0.4229, allocations: 4 kB / 1.079 GB, free: 2.449 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.84e-05/0.423, allocations: 15.98 kB / 1.079 GB, free: 2.434 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002236/0.4232, allocations: 165.6 kB / 1.079 GB, free: 2.223 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001027/0.4233, allocations: 50.56 kB / 1.079 GB, free: 2.164 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.284e-05/0.4234, allocations: 16.84 kB / 1.079 GB, free: 2.145 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008429/0.4242, allocations: 0.5987 MB / 1.08 GB, free: 1.438 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/0.4243, allocations: 34.56 kB / 1.08 GB, free: 1.395 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=5): time 1.312e-06/0.4243, allocations: 0 / 1.08 GB, free: 1.395 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.000655/0.4249, allocations: 298.1 kB / 1.08 GB, free: 1.051 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.637e-05/0.425, allocations: 59.28 kB / 1.08 GB, free: 0.9805 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.951e-05/0.4251, allocations: 105.8 kB / 1.08 GB, free: 0.8672 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.4251, allocations: 29.7 kB / 1.08 GB, free: 0.832 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.809e-05/0.4252, allocations: 84.05 kB / 1.08 GB, free: 0.7461 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.661e-05/0.4252, allocations: 27.64 kB / 1.08 GB, free: 0.7188 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.124e-05/0.4252, allocations: 17.72 kB / 1.08 GB, free: 0.6953 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.4254, allocations: 322.8 kB / 1.081 GB, free: 380 kB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.914e-05/0.4254, allocations: 12 kB / 1.081 GB, free: 368 kB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.903e-05/0.4255, allocations: 57.08 kB / 1.081 GB, free: 292 kB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.813e-05/0.4256, allocations: 65.09 kB / 1.081 GB, free: 208 kB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.4256, allocations: 4 kB / 1.081 GB, free: 204 kB / 0.8262 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001552/0.4257, allocations: 101.5 kB / 1.081 GB, free: 96 kB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.4258, allocations: 4 kB / 1.081 GB, free: 92 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.4258, allocations: 7.984 kB / 1.081 GB, free: 84 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.4258, allocations: 0 / 1.081 GB, free: 84 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.605e-05/0.4259, allocations: 16 kB / 1.081 GB, free: 68 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.4259, allocations: 7.938 kB / 1.081 GB, free: 60 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.825e-05/0.4259, allocations: 3.938 kB / 1.081 GB, free: 56 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.4259, allocations: 4 kB / 1.081 GB, free: 52 kB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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.0001174/0.4261, allocations: 122 kB / 1.081 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.828e-05/0.4261, allocations: 4.281 kB / 1.081 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.718e-05/0.4261, allocations: 7.969 kB / 1.081 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.4262, allocations: 4.422 kB / 1.081 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.4262, allocations: 0 / 1.081 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.4262, allocations: 3.938 kB / 1.081 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002584/0.4264, allocations: 181.7 kB / 1.081 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.4264, allocations: 0 / 1.081 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.223e-05/0.4265, allocations: 23.92 kB / 1.081 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.4266, allocations: 0 / 1.081 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.807e-06/0.4266, allocations: 4 kB / 1.081 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.4266, allocations: 3.938 kB / 1.081 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4266, allocations: 0 / 1.081 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002109/0.4268, allocations: 175.5 kB / 1.081 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.194e-05/0.4269, allocations: 85.14 kB / 1.082 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.595e-05/0.4269, allocations: 4 kB / 1.082 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.427, allocations: 0 / 1.082 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.093e-05/0.427, allocations: 7.984 kB / 1.082 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.646e-06/0.427, allocations: 7.938 kB / 1.082 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.062e-05/0.4271, allocations: 83.28 kB / 1.082 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4271, allocations: 0 / 1.082 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002538/0.4274, allocations: 15.94 kB / 1.082 GB, free: 15.23 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * 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.0001369/0.4275, allocations: 103.2 kB / 1.082 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001178/0.4276, allocations: 48.14 kB / 1.082 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4276, allocations: 4 kB / 1.082 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 2.695e-05/0.4277, allocations: 16 kB / 1.082 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002939/0.428, allocations: 8 kB / 1.082 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006283/0.4286, allocations: 382.7 kB / 1.082 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002771/0.4289, allocations: 0.6855 MB / 1.083 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 6.189e-05/0.429, allocations: 15.77 kB / 1.083 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.806e-05/0.429, allocations: 11.44 kB / 1.083 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of SimCode: time 2.415e-06/0.429, allocations: 0 / 1.083 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of Templates: time 0.003305/0.4323, allocations: 0.6017 MB / 1.084 GB, free: 13.31 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.makefile (rm -f Buildings_1.6_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo Buildings_1.6_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/Buildings_1.6_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & ./Buildings_1.6_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1)