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.001311/0.001312, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001477/0.001477, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.532/1.532, allocations: 205.1 MB / 222.4 MB, free: 4.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.622/1.622, allocations: 251.7 MB / 0.5092 GB, free: 3.066 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.001607/0.001608, allocations: 67.91 kB / 0.6223 GB, free: 1.492 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6466/0.6482, allocations: 104.7 MB / 0.7245 GB, free: 13.06 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002289/0.6505, allocations: 1.254 MB / 0.7257 GB, free: 11.8 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003424/0.654, allocations: 2.949 MB / 0.7286 GB, free: 8.832 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.301e-05/0.654, allocations: 0 / 0.7286 GB, free: 8.832 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.067e-05/0.6541, allocations: 3.984 kB / 0.7286 GB, free: 8.828 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.729e-05/0.6541, allocations: 7.938 kB / 0.7286 GB, free: 8.82 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004938/0.6546, allocations: 99.48 kB / 0.7287 GB, free: 8.723 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.341e-05/0.6547, allocations: 39.89 kB / 0.7287 GB, free: 8.684 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.687e-05/0.6547, allocations: 0 / 0.7287 GB, free: 8.684 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000449/0.6552, allocations: 163.4 kB / 0.7289 GB, free: 8.523 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.869e-05/0.6552, allocations: 11.98 kB / 0.7289 GB, free: 8.512 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.551e-05/0.6553, allocations: 4 kB / 0.7289 GB, free: 8.508 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001577/0.6554, allocations: 67.81 kB / 0.729 GB, free: 8.441 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.703e-05/0.6555, allocations: 11.98 kB / 0.729 GB, free: 8.43 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.911e-05/0.6555, allocations: 15.92 kB / 0.729 GB, free: 8.414 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001558/0.6557, allocations: 58.03 kB / 0.7291 GB, free: 8.359 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.6557, allocations: 0 / 0.7291 GB, free: 8.359 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.633e-06/0.6557, allocations: 3.938 kB / 0.7291 GB, free: 8.355 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.159e-06/0.6557, allocations: 4 kB / 0.7291 GB, free: 8.352 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.0004216/0.6561, allocations: 343.5 kB / 0.7294 GB, free: 7.969 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.6562, allocations: 8.031 kB / 0.7294 GB, free: 7.961 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.949e-05/0.6562, allocations: 8.938 kB / 0.7294 GB, free: 7.953 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001007/0.6563, allocations: 168.2 kB / 0.7296 GB, free: 7.75 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.6563, allocations: 4.375 kB / 0.7296 GB, free: 7.746 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.805e-05/0.6564, allocations: 4.375 kB / 0.7296 GB, free: 7.742 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000136/0.6565, allocations: 61.8 kB / 0.7296 GB, free: 7.676 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.6565, allocations: 0 / 0.7296 GB, free: 7.676 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.6565, allocations: 4 kB / 0.7296 GB, free: 7.672 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.6566, allocations: 0 / 0.7296 GB, free: 7.672 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.654e-05/0.6566, allocations: 23.97 kB / 0.7297 GB, free: 7.648 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001716/0.6568, allocations: 165.6 kB / 0.7298 GB, free: 7.438 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.83e-05/0.6569, allocations: 50.5 kB / 0.7299 GB, free: 7.379 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.263e-05/0.6569, allocations: 21.08 kB / 0.7299 GB, free: 7.355 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006981/0.6576, allocations: 0.5946 MB / 0.7305 GB, free: 6.652 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.19e-05/0.6577, allocations: 30.56 kB / 0.7305 GB, free: 6.613 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.6577, allocations: 4 kB / 0.7305 GB, free: 6.609 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0005983/0.6583, allocations: 290.3 kB / 0.7308 GB, free: 6.273 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.023e-05/0.6583, allocations: 55.34 kB / 0.7308 GB, free: 6.207 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.951e-05/0.6584, allocations: 109.8 kB / 0.7309 GB, free: 6.09 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.6584, allocations: 25.7 kB / 0.731 GB, free: 6.059 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.045e-05/0.6585, allocations: 88.06 kB / 0.731 GB, free: 5.969 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.833e-05/0.6585, allocations: 31.69 kB / 0.7311 GB, free: 5.938 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.039e-05/0.6585, allocations: 29.62 kB / 0.7311 GB, free: 5.902 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.6587, allocations: 326.7 kB / 0.7314 GB, free: 5.574 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.549e-05/0.6587, allocations: 8 kB / 0.7314 GB, free: 5.566 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.942e-05/0.6587, allocations: 53.14 kB / 0.7315 GB, free: 5.496 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.985e-05/0.6588, allocations: 81.08 kB / 0.7316 GB, free: 5.398 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.6588, allocations: 3.938 kB / 0.7316 GB, free: 5.395 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001314/0.659, allocations: 93.55 kB / 0.7316 GB, free: 5.297 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.659, allocations: 4 kB / 0.7317 GB, free: 5.293 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.659, allocations: 8.125 kB / 0.7317 GB, free: 5.285 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.659, allocations: 0 / 0.7317 GB, free: 5.285 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.468e-05/0.6591, allocations: 19.94 kB / 0.7317 GB, free: 5.266 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.301e-05/0.6591, allocations: 7.984 kB / 0.7317 GB, free: 5.258 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.724e-05/0.6592, allocations: 3.938 kB / 0.7317 GB, free: 5.254 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.747e-06/0.6592, allocations: 4 kB / 0.7317 GB, free: 5.25 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.956e-05/0.6593, allocations: 121.7 kB / 0.7318 GB, free: 5.121 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.794e-05/0.6593, allocations: 4 kB / 0.7318 GB, free: 5.117 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.912e-05/0.6593, allocations: 7.969 kB / 0.7318 GB, free: 5.105 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.6594, allocations: 4 kB / 0.7318 GB, free: 5.102 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.6594, allocations: 0 / 0.7318 GB, free: 5.102 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.6594, allocations: 8.375 kB / 0.7318 GB, free: 5.094 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000225/0.6596, allocations: 169.7 kB / 0.732 GB, free: 4.879 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.6596, allocations: 4 kB / 0.732 GB, free: 4.875 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.666e-05/0.6597, allocations: 19.98 kB / 0.732 GB, free: 4.855 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.6597, allocations: 0 / 0.732 GB, free: 4.855 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.6597, allocations: 0 / 0.732 GB, free: 4.855 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.6597, allocations: 0 / 0.732 GB, free: 4.855 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.6597, allocations: 0 / 0.732 GB, free: 4.855 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000182/0.6599, allocations: 187.4 kB / 0.7322 GB, free: 4.656 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.615e-05/0.66, allocations: 81.02 kB / 0.7323 GB, free: 4.559 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.883e-05/0.66, allocations: 8 kB / 0.7323 GB, free: 4.551 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.6601, allocations: 4.031 kB / 0.7323 GB, free: 4.547 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.825e-05/0.6601, allocations: 7.938 kB / 0.7323 GB, free: 4.539 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.723e-06/0.6602, allocations: 3.938 kB / 0.7323 GB, free: 4.535 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.134e-05/0.6602, allocations: 83.66 kB / 0.7324 GB, free: 4.453 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.6602, allocations: 0 / 0.7324 GB, free: 4.453 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002374/0.6604, allocations: 16 kB / 0.7324 GB, free: 4.438 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.0001183/0.6606, allocations: 107.4 kB / 0.7325 GB, free: 4.32 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001304/0.6607, allocations: 51.98 kB / 0.7325 GB, free: 4.27 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.6607, allocations: 0 / 0.7325 GB, free: 4.27 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.347e-05/0.6607, allocations: 15.94 kB / 0.7326 GB, free: 4.254 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003194/0.6611, allocations: 13.39 kB / 0.7326 GB, free: 4.242 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006341/0.6617, allocations: 322.3 kB / 0.7329 GB, free: 3.902 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000245/0.662, allocations: 0.6807 MB / 0.7335 GB, free: 3.195 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.701e-05/0.662, allocations: 8 kB / 0.7336 GB, free: 3.188 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.419e-05/0.6621, allocations: 15.38 kB / 0.7336 GB, free: 3.172 MB / 0.545 GB Notification: Performance of SimCode: time 2.21e-07/0.6621, allocations: 0 / 0.7336 GB, free: 3.172 MB / 0.545 GB Notification: Performance of Templates: time 0.003089/0.6652, allocations: 0.629 MB / 0.7342 GB, free: 2.547 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.makefile (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)