Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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: "" <> buildModelFMU(IBPSA.Fluid.Chillers.Examples.Carnot_TEva,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Examples_Carnot_TEva",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Chillers.Examples.Carnot_TEva,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Examples_Carnot_TEva",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 100.1 kB / 15.88 MB, free: 12 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.001354/0.001354, allocations: 210.2 kB / 16.79 MB, free: 6.84 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.124/1.124, allocations: 222.9 MB / 240.5 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.563/0.563, allocations: 115.3 MB / 406 MB, free: 2.781 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002045/0.002045, allocations: 66.27 kB / 493 MB, free: 6.758 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1305, allocations: 76.19 MB / 0.5558 GB, free: 10.77 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Examples.Carnot_TEva): time 0.2382/0.3687, allocations: 60.76 MB / 0.6152 GB, free: 15.03 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01398/0.3827, allocations: 12.06 MB / 0.627 GB, free: 6.426 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001507/0.3842, allocations: 59.94 kB / 0.627 GB, free: 6.398 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001327/0.3856, allocations: 0.5449 MB / 0.6275 GB, free: 6.07 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003537/0.3892, allocations: 1.805 MB / 0.6293 GB, free: 4.996 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002204/0.3914, allocations: 1.077 MB / 0.6304 GB, free: 4.316 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003251/0.3946, allocations: 3.897 MB / 0.6342 GB, free: 2.137 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009742/0.3956, allocations: 0.9255 MB / 0.6351 GB, free: 1.543 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001607/0.3972, allocations: 1.146 MB / 0.6362 GB, free: 0.8789 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008644/0.3981, allocations: 0.8964 MB / 0.6371 GB, free: 352 kB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001117/0.3982, allocations: 56.75 kB / 0.6371 GB, free: 352 kB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001945/0.4002, allocations: 1.35 MB / 0.6384 GB, free: 15.58 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001836/0.4004, allocations: 233.2 kB / 0.6387 GB, free: 15.41 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004757/0.4009, allocations: 0.6406 MB / 0.6393 GB, free: 14.99 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001928/0.4028, allocations: 2.23 MB / 0.6415 GB, free: 13.52 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.4028, allocations: 3.938 kB / 0.6415 GB, free: 13.52 MB / 478.1 MB Notification: Performance of FrontEnd: time 7.02e-07/0.4028, allocations: 1.562 kB / 0.6415 GB, free: 13.52 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.102e-05/0.4028, allocations: 0 / 0.6415 GB, free: 13.52 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.002263/0.4051, allocations: 1.723 MB / 0.6431 GB, free: 12.18 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.981e-05/0.4051, allocations: 6.969 kB / 0.6432 GB, free: 12.18 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001147/0.4052, allocations: 125.9 kB / 0.6433 GB, free: 12.08 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001876/0.4071, allocations: 409.5 kB / 0.6437 GB, free: 11.89 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001568/0.4087, allocations: 1.126 MB / 0.6448 GB, free: 10.98 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002941/0.409, allocations: 113.3 kB / 0.6449 GB, free: 10.93 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.644e-05/0.4091, allocations: 89.08 kB / 0.645 GB, free: 10.9 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001637/0.4108, allocations: 0.9856 MB / 0.6459 GB, free: 10.27 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.4108, allocations: 0 / 0.6459 GB, free: 10.27 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.791e-05/0.4109, allocations: 31.5 kB / 0.6459 GB, free: 10.24 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.231e-05/0.4109, allocations: 19.56 kB / 0.646 GB, free: 10.24 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001916/0.4128, allocations: 0.8571 MB / 0.6468 GB, free: 9.82 MB / 478.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004884/0.4177, allocations: 4.854 MB / 0.6515 GB, free: 4.711 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002961/0.4207, allocations: 0.7959 MB / 0.6523 GB, free: 3.906 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006176/0.4213, allocations: 298.8 kB / 0.6526 GB, free: 3.617 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004931/0.4218, allocations: 0.9064 MB / 0.6535 GB, free: 2.508 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/0.4218, allocations: 42.5 kB / 0.6535 GB, free: 2.457 MB / 478.1 MB Notification: Performance of pre-optimization done (n=43): time 1.352e-06/0.4218, allocations: 0 / 0.6535 GB, free: 2.457 MB / 478.1 MB Notification: Performance of matching and sorting (n=43): time 0.006191/0.428, allocations: 1.751 MB / 0.6552 GB, free: 0.6758 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.826e-05/0.4281, allocations: 59.41 kB / 0.6553 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001219/0.4293, allocations: 1.051 MB / 0.6563 GB, free: 15.54 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.321e-05/0.4293, allocations: 37.7 kB / 0.6564 GB, free: 15.5 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003582/0.4297, allocations: 0.5235 MB / 0.6569 GB, free: 14.97 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.591e-05/0.4298, allocations: 149.8 kB / 0.657 GB, free: 14.82 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001948/0.43, allocations: 122.1 kB / 0.6571 GB, free: 14.7 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001009/0.4301, allocations: 341.8 kB / 0.6575 GB, free: 14.36 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007749/0.4309, allocations: 302.8 kB / 0.6577 GB, free: 14.05 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009101/0.4318, allocations: 0.4955 MB / 0.6582 GB, free: 13.48 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001424/0.4332, allocations: 0.6856 MB / 0.6589 GB, free: 12.73 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.4333, allocations: 4 kB / 0.6589 GB, free: 12.73 MB / 494.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003065/0.4363, allocations: 1.133 MB / 0.66 GB, free: 11.59 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.4364, allocations: 8 kB / 0.66 GB, free: 11.58 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.4364, allocations: 7.938 kB / 0.66 GB, free: 11.57 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001059/0.4374, allocations: 317.8 kB / 0.6603 GB, free: 11.26 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000453/0.4379, allocations: 115.9 kB / 0.6604 GB, free: 11.15 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001242/0.4391, allocations: 0.9172 MB / 0.6613 GB, free: 10.21 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001005/0.4402, allocations: 167.3 kB / 0.6615 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.847e-05/0.4402, allocations: 35.92 kB / 0.6615 GB, free: 10.01 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009597/0.4412, allocations: 0.501 MB / 0.662 GB, free: 9.504 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008722/0.4421, allocations: 0.502 MB / 0.6625 GB, free: 8.922 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001381/0.4435, allocations: 0.672 MB / 0.6632 GB, free: 8.191 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.004e-06/0.4435, allocations: 0 / 0.6632 GB, free: 8.191 MB / 494.1 MB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.002916/0.4464, allocations: 1.109 MB / 0.6642 GB, free: 7.07 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.737e-06/0.4464, allocations: 11.94 kB / 0.6643 GB, free: 7.059 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.4464, allocations: 4 kB / 0.6643 GB, free: 7.055 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009105/0.4474, allocations: 313 kB / 0.6646 GB, free: 6.746 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004418/0.4478, allocations: 115.8 kB / 0.6647 GB, free: 6.633 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001169/0.449, allocations: 0.9042 MB / 0.6656 GB, free: 5.703 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000987/0.45, allocations: 158 kB / 0.6657 GB, free: 5.551 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.264e-05/0.45, allocations: 27.98 kB / 0.6657 GB, free: 5.523 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0001413/0.4502, allocations: 221.9 kB / 0.6659 GB, free: 5.301 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001533/0.4503, allocations: 110.6 kB / 0.666 GB, free: 5.191 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001977/0.4523, allocations: 0.9338 MB / 0.667 GB, free: 4.234 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.418e-06/0.4523, allocations: 8 kB / 0.667 GB, free: 4.227 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.4524, allocations: 3.938 kB / 0.667 GB, free: 4.223 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.4524, allocations: 0 / 0.667 GB, free: 4.223 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004138/0.4565, allocations: 2.152 MB / 0.6691 GB, free: 1.984 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.4565, allocations: 4 kB / 0.6691 GB, free: 1.98 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000242/0.4568, allocations: 63.89 kB / 0.6691 GB, free: 1.918 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008549/0.4576, allocations: 308.8 kB / 0.6694 GB, free: 1.613 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.464e-05/0.4577, allocations: 19.98 kB / 0.6695 GB, free: 1.594 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001227/0.4589, allocations: 0.9386 MB / 0.6704 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.4589, allocations: 0 / 0.6704 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002972/0.4619, allocations: 1.17 MB / 0.6715 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002874/0.4622, allocations: 271.5 kB / 0.6718 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001243/0.4623, allocations: 11.94 kB / 0.6718 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007725/0.4631, allocations: 91.89 kB / 0.6719 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.129e-05/0.4632, allocations: 39.89 kB / 0.6719 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.39e-05/0.4632, allocations: 23.98 kB / 0.6719 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0009185/0.4642, allocations: 0.7352 MB / 0.6726 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4642, allocations: 0 / 0.6726 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001158/0.4653, allocations: 0.5652 MB / 0.6732 GB, free: 13.65 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (33): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003761/0.4691, allocations: 1.965 MB / 0.6751 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002622/0.4717, allocations: 1.093 MB / 0.6762 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.4718, allocations: 3.938 kB / 0.6762 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007795/0.4725, allocations: 342.5 kB / 0.6765 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001993/0.4745, allocations: 496.5 kB / 0.677 GB, free: 9.734 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01514/0.4897, allocations: 8.956 MB / 0.6857 GB, free: 356 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004916/0.4902, allocations: 1.061 MB / 0.6868 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0007234/0.4909, allocations: 224.6 kB / 0.687 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000435/0.4914, allocations: 411.2 kB / 0.6874 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of SimCode: time 4.31e-07/0.4914, allocations: 0 / 0.6874 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.852/5.343, allocations: 31.86 MB / 0.7185 GB, free: 15.19 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002818/5.344, allocations: 259.7 kB / 0.7187 GB, free: 14.85 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.364/8.707, allocations: 8.062 kB / 0.7187 GB, free: 14.84 MB / 0.545 GB (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Chillers_Examples_Carnot_TEva_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Chillers_Examples_Carnot_TEva.fmu > IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)