Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.0008177/0.0008178, allocations: 98.11 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.006505/0.006505, allocations: 171.7 kB / 16.27 MB, free: 6.648 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.492/1.492, 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.948/2.948, allocations: 473.4 MB / 0.7469 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005028/0.0005027, allocations: 17.3 kB / 0.9158 GB, free: 33.13 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4194/0.4199, allocations: 162.2 MB / 1.074 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.00168/0.4216, allocations: 0.9881 MB / 1.075 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004317/0.426, allocations: 2.891 MB / 1.078 GB, free: 3.672 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.873e-05/0.426, allocations: 0 / 1.078 GB, free: 3.672 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.993e-05/0.4261, allocations: 3.938 kB / 1.078 GB, free: 3.668 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.817e-05/0.4261, allocations: 3.984 kB / 1.078 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005862/0.4267, allocations: 99.55 kB / 1.078 GB, free: 3.566 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.801e-05/0.4268, allocations: 27.92 kB / 1.078 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.144e-05/0.4269, allocations: 7.938 kB / 1.078 GB, free: 3.531 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005068/0.4274, allocations: 147.6 kB / 1.078 GB, free: 3.387 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.54e-05/0.4274, allocations: 19.92 kB / 1.078 GB, free: 3.367 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.255e-05/0.4274, allocations: 4 kB / 1.078 GB, free: 3.363 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001753/0.4276, allocations: 59.81 kB / 1.078 GB, free: 3.305 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.584e-05/0.4277, allocations: 11.98 kB / 1.078 GB, free: 3.293 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.246e-05/0.4277, allocations: 41.64 kB / 1.078 GB, free: 3.246 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001633/0.4279, allocations: 68.06 kB / 1.078 GB, free: 3.18 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.4279, allocations: 0 / 1.078 GB, free: 3.18 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.914e-06/0.4279, allocations: 0 / 1.078 GB, free: 3.18 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.017e-06/0.4279, allocations: 0 / 1.078 GB, free: 3.18 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.0004051/0.4283, allocations: 331.5 kB / 1.079 GB, free: 2.809 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.4284, allocations: 12.03 kB / 1.079 GB, free: 2.797 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.59e-05/0.4284, allocations: 0.9375 kB / 1.079 GB, free: 2.797 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.4285, allocations: 168.3 kB / 1.079 GB, free: 2.594 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/0.4286, allocations: 8.375 kB / 1.079 GB, free: 2.586 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.775e-05/0.4286, allocations: 4.375 kB / 1.079 GB, free: 2.582 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001501/0.4288, allocations: 61.73 kB / 1.079 GB, free: 2.516 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.4288, allocations: 0 / 1.079 GB, free: 2.516 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.4288, allocations: 0 / 1.079 GB, free: 2.516 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.4288, allocations: 0 / 1.079 GB, free: 2.516 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.189e-05/0.4289, allocations: 23.97 kB / 1.079 GB, free: 2.492 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001983/0.4291, allocations: 165.6 kB / 1.079 GB, free: 2.281 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 9.263e-05/0.4292, allocations: 50.56 kB / 1.079 GB, free: 2.223 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.725e-05/0.4292, allocations: 24.78 kB / 1.079 GB, free: 2.195 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007463/0.43, allocations: 0.5869 MB / 1.08 GB, free: 1.5 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.626e-05/0.43, allocations: 38.56 kB / 1.08 GB, free: 1.453 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=5): time 3.797e-06/0.43, allocations: 4 kB / 1.08 GB, free: 1.449 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0005762/0.4306, allocations: 306.4 kB / 1.08 GB, free: 1.098 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.894e-05/0.4307, allocations: 55.39 kB / 1.08 GB, free: 1.031 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.02e-05/0.4307, allocations: 101.8 kB / 1.08 GB, free: 0.9219 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.4308, allocations: 29.7 kB / 1.08 GB, free: 0.8867 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.815e-05/0.4308, allocations: 88.05 kB / 1.08 GB, free: 0.7969 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.17e-05/0.4308, allocations: 23.64 kB / 1.08 GB, free: 0.7734 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.687e-05/0.4309, allocations: 17.72 kB / 1.08 GB, free: 0.75 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.431, allocations: 326.8 kB / 1.081 GB, free: 432 kB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.674e-05/0.4311, allocations: 12 kB / 1.081 GB, free: 420 kB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.976e-05/0.4311, allocations: 57.02 kB / 1.081 GB, free: 344 kB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.533e-05/0.4312, allocations: 73.08 kB / 1.081 GB, free: 252 kB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.4312, allocations: 3.938 kB / 1.081 GB, free: 248 kB / 0.8262 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001364/0.4314, allocations: 101.5 kB / 1.081 GB, free: 140 kB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.4314, allocations: 4 kB / 1.081 GB, free: 136 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.4314, allocations: 0 / 1.081 GB, free: 136 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.4314, allocations: 8.125 kB / 1.081 GB, free: 128 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.12e-05/0.4315, allocations: 19.94 kB / 1.081 GB, free: 108 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/0.4315, allocations: 7.984 kB / 1.081 GB, free: 100 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.703e-05/0.4316, allocations: 3.938 kB / 1.081 GB, free: 96 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-06/0.4316, allocations: 8 kB / 1.081 GB, free: 88 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.0001043/0.4317, allocations: 111.6 kB / 1.081 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.668e-05/0.4317, allocations: 4 kB / 1.081 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.28e-05/0.4318, allocations: 11.97 kB / 1.081 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.4318, allocations: 0 / 1.081 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.4318, allocations: 4 kB / 1.081 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.4318, allocations: 3.938 kB / 1.081 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002422/0.432, allocations: 169.7 kB / 1.081 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.432, allocations: 0 / 1.081 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.476e-05/0.4321, allocations: 19.92 kB / 1.081 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.4321, allocations: 4 kB / 1.081 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.4322, allocations: 3.938 kB / 1.081 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.4322, allocations: 80 / 1.081 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.4322, allocations: 3.984 kB / 1.081 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001875/0.4324, allocations: 187.4 kB / 1.081 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.686e-05/0.4324, allocations: 77.11 kB / 1.082 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.329e-05/0.4324, allocations: 0 / 1.082 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.4325, allocations: 8.469 kB / 1.082 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.502e-05/0.4326, allocations: 4 kB / 1.082 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-06/0.4326, allocations: 7.938 kB / 1.082 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.345e-05/0.4326, allocations: 79.66 kB / 1.082 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.693e-06/0.4326, allocations: 0 / 1.082 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002422/0.4329, allocations: 11.94 kB / 1.082 GB, free: 15.29 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.0001292/0.433, allocations: 115.4 kB / 1.082 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.00011/0.4331, allocations: 47.91 kB / 1.082 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.4331, allocations: 0 / 1.082 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 2.025e-05/0.4332, allocations: 8 kB / 1.082 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002724/0.4334, allocations: 9.406 kB / 1.082 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005761/0.434, allocations: 390.7 kB / 1.082 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002609/0.4343, allocations: 0.6809 MB / 1.083 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 5.477e-05/0.4344, allocations: 11.72 kB / 1.083 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.283e-05/0.4344, allocations: 19.38 kB / 1.083 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of SimCode: time 5.71e-07/0.4344, allocations: 0 / 1.083 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of Templates: time 0.003027/0.4374, allocations: 0.5905 MB / 1.083 GB, free: 13.37 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.makefile (rm -f Buildings_3.0.0_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo Buildings_3.0.0_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/Buildings_3.0.0_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & ./Buildings_3.0.0_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1)