Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.0009644/0.0009644, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.006447/0.006447, allocations: 168.9 kB / 16.26 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.422/1.422, allocations: 205.4 MB / 222.4 MB, free: 5.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.512/1.512, allocations: 252 MB / 0.5105 GB, free: 4.684 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005129/0.0005128, allocations: 16.56 kB / 0.6249 GB, free: 0.7539 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4962/0.4967, allocations: 106.3 MB / 0.7287 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.001263/0.498, allocations: 0.9943 MB / 0.7297 GB, free: 10.29 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003492/0.5015, allocations: 2.9 MB / 0.7325 GB, free: 7.371 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.834e-05/0.5016, allocations: 0 / 0.7325 GB, free: 7.371 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.656e-05/0.5016, allocations: 11.94 kB / 0.7325 GB, free: 7.359 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.02e-05/0.5017, allocations: 3.984 kB / 0.7325 GB, free: 7.355 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004485/0.5021, allocations: 83.62 kB / 0.7326 GB, free: 7.273 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.444e-05/0.5022, allocations: 39.89 kB / 0.7326 GB, free: 7.234 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.726e-05/0.5022, allocations: 0 / 0.7326 GB, free: 7.234 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000467/0.5027, allocations: 151.5 kB / 0.7328 GB, free: 7.086 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.443e-05/0.5028, allocations: 23.97 kB / 0.7328 GB, free: 7.062 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.023e-05/0.5028, allocations: 0 / 0.7328 GB, free: 7.062 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001647/0.503, allocations: 63.81 kB / 0.7329 GB, free: 7 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.78e-05/0.503, allocations: 11.92 kB / 0.7329 GB, free: 6.988 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.818e-05/0.5031, allocations: 45.62 kB / 0.7329 GB, free: 6.938 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001706/0.5032, allocations: 57.89 kB / 0.733 GB, free: 6.883 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/0.5033, allocations: 4 kB / 0.733 GB, free: 6.879 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.637e-06/0.5033, allocations: 0 / 0.733 GB, free: 6.879 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.5033, allocations: 3.938 kB / 0.733 GB, free: 6.875 MB / 0.545 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.0004451/0.5037, allocations: 331.5 kB / 0.7333 GB, free: 6.504 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/0.5038, allocations: 8.031 kB / 0.7333 GB, free: 6.496 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.452e-05/0.5038, allocations: 8.844 kB / 0.7333 GB, free: 6.488 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00014/0.504, allocations: 168.4 kB / 0.7335 GB, free: 6.285 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/0.504, allocations: 4.375 kB / 0.7335 GB, free: 6.281 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.63e-05/0.504, allocations: 384 / 0.7335 GB, free: 6.281 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/0.5042, allocations: 69.73 kB / 0.7335 GB, free: 6.207 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.5042, allocations: 0 / 0.7335 GB, free: 6.207 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.5042, allocations: 3.938 kB / 0.7336 GB, free: 6.203 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.5042, allocations: 4 kB / 0.7336 GB, free: 6.199 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.783e-05/0.5043, allocations: 19.98 kB / 0.7336 GB, free: 6.18 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001991/0.5045, allocations: 165.6 kB / 0.7337 GB, free: 5.969 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001023/0.5046, allocations: 46.56 kB / 0.7338 GB, free: 5.914 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.199e-05/0.5047, allocations: 16.86 kB / 0.7338 GB, free: 5.895 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008081/0.5055, allocations: 0.6064 MB / 0.7344 GB, free: 5.18 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/0.5055, allocations: 30.56 kB / 0.7344 GB, free: 5.141 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 1.323e-06/0.5055, allocations: 0 / 0.7344 GB, free: 5.141 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0006375/0.5062, allocations: 302.3 kB / 0.7347 GB, free: 4.793 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.411e-05/0.5062, allocations: 51.41 kB / 0.7348 GB, free: 4.73 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.644e-05/0.5063, allocations: 101.8 kB / 0.7348 GB, free: 4.621 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.5063, allocations: 29.7 kB / 0.7349 GB, free: 4.586 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.771e-05/0.5064, allocations: 95.98 kB / 0.735 GB, free: 4.488 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.878e-05/0.5064, allocations: 23.61 kB / 0.735 GB, free: 4.465 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.786e-05/0.5065, allocations: 13.72 kB / 0.735 GB, free: 4.445 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.5066, allocations: 322.8 kB / 0.7353 GB, free: 4.121 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.782e-05/0.5066, allocations: 15.92 kB / 0.7353 GB, free: 4.105 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.382e-05/0.5067, allocations: 57.08 kB / 0.7354 GB, free: 4.031 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.098e-05/0.5068, allocations: 69.09 kB / 0.7354 GB, free: 3.945 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.5068, allocations: 0 / 0.7354 GB, free: 3.945 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001315/0.5069, allocations: 97.55 kB / 0.7355 GB, free: 3.844 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.5069, allocations: 8 kB / 0.7355 GB, free: 3.836 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.5069, allocations: 0 / 0.7355 GB, free: 3.836 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.507, allocations: 4 kB / 0.7356 GB, free: 3.832 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.45e-05/0.5071, allocations: 19.98 kB / 0.7356 GB, free: 3.812 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.982e-06/0.5071, allocations: 3.938 kB / 0.7356 GB, free: 3.809 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.126e-05/0.5071, allocations: 7.938 kB / 0.7356 GB, free: 3.801 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.908e-06/0.5071, allocations: 8 kB / 0.7356 GB, free: 3.793 MB / 0.545 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 7.902e-05/0.5072, allocations: 121.9 kB / 0.7357 GB, free: 3.664 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.569e-05/0.5072, allocations: 3.906 kB / 0.7357 GB, free: 3.66 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.346e-05/0.5073, allocations: 11.95 kB / 0.7357 GB, free: 3.645 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.5073, allocations: 4 kB / 0.7357 GB, free: 3.641 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.5073, allocations: 0 / 0.7357 GB, free: 3.641 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.5073, allocations: 3.938 kB / 0.7357 GB, free: 3.637 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002263/0.5075, allocations: 173.7 kB / 0.7359 GB, free: 3.418 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.5076, allocations: 0 / 0.7359 GB, free: 3.418 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.071e-05/0.5076, allocations: 16.38 kB / 0.7359 GB, free: 3.402 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.5076, allocations: 0 / 0.7359 GB, free: 3.402 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.5077, allocations: 8 kB / 0.7359 GB, free: 3.395 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.5077, allocations: 11.98 kB / 0.7359 GB, free: 3.383 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.5077, allocations: 3.938 kB / 0.7359 GB, free: 3.379 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001638/0.5078, allocations: 163.5 kB / 0.7361 GB, free: 3.203 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.776e-05/0.5079, allocations: 89.05 kB / 0.7362 GB, free: 3.098 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.29e-05/0.5079, allocations: 0 / 0.7362 GB, free: 3.098 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.508, allocations: 4 kB / 0.7362 GB, free: 3.094 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.471e-05/0.5081, allocations: 3.984 kB / 0.7362 GB, free: 3.09 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.5081, allocations: 15.94 kB / 0.7362 GB, free: 3.074 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.308e-05/0.5081, allocations: 83.58 kB / 0.7363 GB, free: 2.992 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5081, allocations: 0 / 0.7363 GB, free: 2.992 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002261/0.5083, allocations: 16 kB / 0.7363 GB, free: 2.977 MB / 0.545 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.0001269/0.5085, allocations: 107.2 kB / 0.7364 GB, free: 2.859 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001064/0.5086, allocations: 39.92 kB / 0.7364 GB, free: 2.82 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.5086, allocations: 256 / 0.7364 GB, free: 2.82 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.172e-05/0.5086, allocations: 19.98 kB / 0.7365 GB, free: 2.801 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00028/0.5089, allocations: 9.828 kB / 0.7365 GB, free: 2.793 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005734/0.5095, allocations: 386.7 kB / 0.7368 GB, free: 2.391 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002286/0.5097, allocations: 0.6848 MB / 0.7375 GB, free: 1.68 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.207e-05/0.5098, allocations: 8 kB / 0.7375 GB, free: 1.672 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.27e-05/0.5098, allocations: 11.44 kB / 0.7375 GB, free: 1.66 MB / 0.545 GB Notification: Performance of SimCode: time 1.764e-06/0.5098, allocations: 0 / 0.7375 GB, free: 1.66 MB / 0.545 GB Notification: Performance of Templates: time 0.002868/0.5127, allocations: 0.6059 MB / 0.7381 GB, free: 1.055 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: