Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.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.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties") translateModel(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.001203/0.001203, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.738/1.738, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.574/1.574, allocations: 252 MB / 0.5102 GB, free: 4.75 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.0009259/0.0009259, allocations: 19.94 kB / 0.6243 GB, free: 1.105 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.605/0.6059, allocations: 106.3 MB / 0.7281 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.005176/0.6112, allocations: 4.211 MB / 0.7322 GB, free: 7.18 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002535/0.6137, allocations: 2.455 MB / 0.7346 GB, free: 4.719 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.687e-05/0.6138, allocations: 4 kB / 0.7346 GB, free: 4.715 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002639/0.6141, allocations: 35.8 kB / 0.7347 GB, free: 4.68 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000278/0.6144, allocations: 95.48 kB / 0.7347 GB, free: 4.586 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001041/0.6154, allocations: 364.3 kB / 0.7351 GB, free: 4.23 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002919/0.6157, allocations: 263.9 kB / 0.7353 GB, free: 3.969 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 6.596e-05/0.6158, allocations: 9.562 kB / 0.7354 GB, free: 3.957 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002174/0.616, allocations: 107.6 kB / 0.7355 GB, free: 3.852 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001541/0.6162, allocations: 91.64 kB / 0.7355 GB, free: 3.762 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.273e-05/0.6162, allocations: 8 kB / 0.7356 GB, free: 3.754 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005366/0.6168, allocations: 239.5 kB / 0.7358 GB, free: 3.52 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.884e-05/0.6169, allocations: 39.88 kB / 0.7358 GB, free: 3.48 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.037e-05/0.6169, allocations: 53.64 kB / 0.7359 GB, free: 3.422 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003385/0.6173, allocations: 209.5 kB / 0.7361 GB, free: 3.219 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.676e-06/0.6173, allocations: 0 / 0.7361 GB, free: 3.219 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.444e-06/0.6173, allocations: 0 / 0.7361 GB, free: 3.219 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.523e-06/0.6173, allocations: 4 kB / 0.7361 GB, free: 3.215 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007147/0.618, allocations: 467.1 kB / 0.7365 GB, free: 2.707 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.6181, allocations: 11.97 kB / 0.7365 GB, free: 2.695 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001468/0.6182, allocations: 27.75 kB / 0.7366 GB, free: 2.668 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002249/0.6185, allocations: 206.8 kB / 0.7368 GB, free: 2.426 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.756e-05/0.6185, allocations: 16.33 kB / 0.7368 GB, free: 2.41 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.414e-05/0.6185, allocations: 16 kB / 0.7368 GB, free: 2.395 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003643/0.6189, allocations: 241 kB / 0.737 GB, free: 2.137 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.6189, allocations: 3.938 kB / 0.737 GB, free: 2.133 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.527e-05/0.6189, allocations: 12 kB / 0.737 GB, free: 2.121 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.891e-05/0.619, allocations: 11.98 kB / 0.737 GB, free: 2.109 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004781/0.6195, allocations: 431.4 kB / 0.7375 GB, free: 1.688 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001174/0.6206, allocations: 0.996 MB / 0.7384 GB, free: 0.5977 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002593/0.6209, allocations: 159.1 kB / 0.7386 GB, free: 444 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.204e-05/0.621, allocations: 60.84 kB / 0.7386 GB, free: 380 kB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001395/0.6224, allocations: 1.825 MB / 0.7404 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.4e-05/0.6225, allocations: 34.56 kB / 0.7405 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=15): time 1.463e-06/0.6225, allocations: 4 kB / 0.7405 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15): time 0.0003412/0.6228, allocations: 137.5 kB / 0.7406 GB, free: 14 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.34e-05/0.6229, allocations: 59.34 kB / 0.7406 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001587/0.623, allocations: 168.6 kB / 0.7408 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.439e-05/0.6231, allocations: 37.64 kB / 0.7408 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.735e-05/0.6232, allocations: 139.8 kB / 0.741 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.683e-05/0.6232, allocations: 47.27 kB / 0.741 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.917e-06/0.6232, allocations: 8 kB / 0.741 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.6234, allocations: 326.8 kB / 0.7413 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.405e-05/0.6234, allocations: 35.97 kB / 0.7414 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001366/0.6236, allocations: 139.2 kB / 0.7415 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001127/0.6237, allocations: 62.59 kB / 0.7416 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.6237, allocations: 0 / 0.7416 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003013/0.624, allocations: 213.5 kB / 0.7418 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.624, allocations: 12.09 kB / 0.7418 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.739e-06/0.6241, allocations: 7.938 kB / 0.7418 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.6241, allocations: 4 kB / 0.7418 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001706/0.6243, allocations: 59.91 kB / 0.7418 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.6243, allocations: 7.984 kB / 0.7419 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001082/0.6244, allocations: 23.69 kB / 0.7419 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.171e-05/0.6244, allocations: 16 kB / 0.7419 GB, free: 12.57 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001206/0.6246, allocations: 129.7 kB / 0.742 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.981e-05/0.6246, allocations: 23.77 kB / 0.742 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002981/0.6249, allocations: 162.8 kB / 0.7422 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.079e-05/0.6249, allocations: 4 kB / 0.7422 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.6249, allocations: 0 / 0.7422 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.239e-06/0.6249, allocations: 4 kB / 0.7422 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000231/0.6252, allocations: 209.6 kB / 0.7424 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.6252, allocations: 0 / 0.7424 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.534e-05/0.6253, allocations: 24 kB / 0.7424 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.598e-06/0.6253, allocations: 3.953 kB / 0.7424 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/0.6253, allocations: 15.97 kB / 0.7424 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.6253, allocations: 0 / 0.7424 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.6253, allocations: 0 / 0.7424 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002227/0.6256, allocations: 222.3 kB / 0.7427 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.873e-05/0.6256, allocations: 108.8 kB / 0.7428 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.618e-05/0.6257, allocations: 7.953 kB / 0.7428 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001566/0.6258, allocations: 11.98 kB / 0.7428 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.276e-05/0.6259, allocations: 15.98 kB / 0.7428 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.933e-05/0.6259, allocations: 8 kB / 0.7428 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 9.295e-05/0.626, allocations: 116 kB / 0.7429 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.01e-07/0.626, allocations: 0 / 0.7429 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003707/0.6264, allocations: 71.98 kB / 0.743 GB, free: 11.36 MB / 0.5606 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 (15): * Single equations (assignments): 14 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002655/0.6266, allocations: 167.1 kB / 0.7431 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002329/0.6269, allocations: 123.8 kB / 0.7433 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.6269, allocations: 0 / 0.7433 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.987e-05/0.627, allocations: 43.92 kB / 0.7433 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004718/0.6275, allocations: 56.83 kB / 0.7434 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007212/0.6282, allocations: 417.6 kB / 0.7438 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003421/0.6285, allocations: 0.7172 MB / 0.7445 GB, free: 9.789 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000168/0.6287, allocations: 49.73 kB / 0.7445 GB, free: 9.742 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.764e-05/0.6288, allocations: 23.44 kB / 0.7445 GB, free: 9.723 MB / 0.5606 GB Notification: Performance of SimCode: time 2.5e-07/0.6288, allocations: 0 / 0.7445 GB, free: 9.723 MB / 0.5606 GB Notification: Performance of Templates: time 0.006708/0.6355, allocations: 3.09 MB / 0.7475 GB, free: 6.668 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.sim & ./Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.pipe 2>&1) Environment - environmentSimulation: