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.0007215/0.0007216, allocations: 88.17 kB / 15.7 MB, free: 460 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.0007995/0.0007996, allocations: 172.2 kB / 16.58 MB, free: 6.852 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.253/1.253, allocations: 223.3 MB / 240.6 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6301/0.6301, allocations: 113.8 MB / 405.5 MB, free: 4.613 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002698/0.0002702, allocations: 8 kB / 493.1 MB, free: 8.602 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1245, allocations: 77.11 MB / 0.5569 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Examples.Carnot_TEva): time 0.2771/0.4016, allocations: 56.42 MB / 0.612 GB, free: 5.34 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01323/0.4148, allocations: 11.21 MB / 0.6229 GB, free: 13.27 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001708/0.4166, allocations: 54.03 kB / 0.623 GB, free: 13.24 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001313/0.4179, allocations: 467 kB / 0.6234 GB, free: 12.98 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003967/0.4219, allocations: 1.53 MB / 0.6249 GB, free: 12.09 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002437/0.4243, allocations: 0.8605 MB / 0.6258 GB, free: 11.69 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004014/0.4283, allocations: 3.395 MB / 0.6291 GB, free: 10.14 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00119/0.4296, allocations: 0.787 MB / 0.6299 GB, free: 9.648 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002018/0.4316, allocations: 1.041 MB / 0.6309 GB, free: 9.066 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00107/0.4327, allocations: 0.801 MB / 0.6316 GB, free: 8.605 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001004/0.4328, allocations: 41.94 kB / 0.6317 GB, free: 8.605 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002415/0.4352, allocations: 1.103 MB / 0.6328 GB, free: 8.008 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001961/0.4354, allocations: 196.5 kB / 0.633 GB, free: 7.859 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002919/0.4357, allocations: 286.7 kB / 0.6332 GB, free: 7.691 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001607/0.4373, allocations: 1.631 MB / 0.6348 GB, free: 6.621 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.4373, allocations: 1.031 kB / 0.6348 GB, free: 6.621 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4373, allocations: 0 / 0.6348 GB, free: 6.621 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.342e-05/0.4374, allocations: 0 / 0.6348 GB, free: 6.621 MB / 462.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.002283/0.4396, allocations: 1.507 MB / 0.6363 GB, free: 5.445 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.4397, allocations: 11.03 kB / 0.6363 GB, free: 5.445 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001261/0.4398, allocations: 127.2 kB / 0.6364 GB, free: 5.336 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001786/0.4416, allocations: 467.1 kB / 0.6369 GB, free: 5.148 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001664/0.4433, allocations: 1.084 MB / 0.6379 GB, free: 4.273 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002824/0.4436, allocations: 131.4 kB / 0.6381 GB, free: 4.223 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.944e-05/0.4437, allocations: 82.77 kB / 0.6381 GB, free: 4.195 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001625/0.4453, allocations: 0.9993 MB / 0.6391 GB, free: 3.562 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.4453, allocations: 1.656 kB / 0.6391 GB, free: 3.562 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.812e-05/0.4454, allocations: 31.41 kB / 0.6391 GB, free: 3.539 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.759e-05/0.4454, allocations: 18.19 kB / 0.6392 GB, free: 3.539 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001909/0.4474, allocations: 0.9022 MB / 0.64 GB, free: 3.117 MB / 462.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.005105/0.4525, allocations: 4.897 MB / 0.6448 GB, free: 14.77 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002761/0.4552, allocations: 0.8909 MB / 0.6457 GB, free: 14.36 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000603/0.4559, allocations: 315.3 kB / 0.646 GB, free: 14.22 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005367/0.4564, allocations: 0.9035 MB / 0.6469 GB, free: 13.16 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/0.4564, allocations: 41.94 kB / 0.6469 GB, free: 13.11 MB / 478.1 MB Notification: Performance of pre-optimization done (n=43): time 2.014e-06/0.4565, allocations: 0 / 0.6469 GB, free: 13.11 MB / 478.1 MB Notification: Performance of matching and sorting (n=43): time 0.005905/0.4624, allocations: 1.946 MB / 0.6488 GB, free: 11.94 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.676e-05/0.4624, allocations: 63.3 kB / 0.6489 GB, free: 11.86 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001289/0.4637, allocations: 1.051 MB / 0.6499 GB, free: 10.8 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.105e-05/0.4638, allocations: 33.7 kB / 0.6499 GB, free: 10.76 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003658/0.4641, allocations: 0.5235 MB / 0.6504 GB, free: 10.23 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000105/0.4643, allocations: 145.8 kB / 0.6506 GB, free: 10.09 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.21e-05/0.4643, allocations: 12 kB / 0.6506 GB, free: 10.07 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.725e-05/0.4644, allocations: 326 kB / 0.6509 GB, free: 9.75 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007473/0.4652, allocations: 328.8 kB / 0.6512 GB, free: 9.426 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008716/0.466, allocations: 0.518 MB / 0.6517 GB, free: 8.828 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007595/0.4668, allocations: 354 kB / 0.6521 GB, free: 8.484 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.4668, allocations: 0 / 0.6521 GB, free: 8.484 MB / 478.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003001/0.4698, allocations: 1.228 MB / 0.6533 GB, free: 7.246 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001034/0.4699, allocations: 210.8 kB / 0.6535 GB, free: 6.98 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.47, allocations: 4 kB / 0.6535 GB, free: 6.977 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001042/0.471, allocations: 326 kB / 0.6538 GB, free: 6.656 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004713/0.4715, allocations: 131.8 kB / 0.6539 GB, free: 6.527 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001206/0.4727, allocations: 0.9386 MB / 0.6548 GB, free: 5.562 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00116/0.4739, allocations: 195.1 kB / 0.655 GB, free: 5.371 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.506e-05/0.474, allocations: 32.08 kB / 0.655 GB, free: 5.34 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.005e-06/0.474, allocations: 8 kB / 0.655 GB, free: 5.332 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002692/0.4767, allocations: 1.078 MB / 0.6561 GB, free: 4.25 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.4767, allocations: 4 kB / 0.6561 GB, free: 4.246 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008865/0.4776, allocations: 322.9 kB / 0.6564 GB, free: 3.93 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004648/0.4781, allocations: 135.8 kB / 0.6565 GB, free: 3.797 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001146/0.4792, allocations: 0.9348 MB / 0.6575 GB, free: 2.836 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001032/0.4803, allocations: 163.4 kB / 0.6576 GB, free: 2.676 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.712e-05/0.4803, allocations: 31.98 kB / 0.6576 GB, free: 2.645 MB / 478.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0004407/0.4808, allocations: 353.6 kB / 0.658 GB, free: 2.289 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001396/0.4809, allocations: 110.6 kB / 0.6581 GB, free: 2.18 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001978/0.4829, allocations: 0.9843 MB / 0.659 GB, free: 1.184 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.138e-05/0.4829, allocations: 4 kB / 0.659 GB, free: 1.18 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.4829, allocations: 3.938 kB / 0.659 GB, free: 1.176 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.4829, allocations: 4.078 kB / 0.6591 GB, free: 1.172 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004254/0.4872, allocations: 2.264 MB / 0.6613 GB, free: 14.82 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.175e-06/0.4872, allocations: 4 kB / 0.6613 GB, free: 14.81 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002649/0.4875, allocations: 72.12 kB / 0.6613 GB, free: 14.74 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008798/0.4884, allocations: 324.5 kB / 0.6616 GB, free: 14.42 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.099e-05/0.4884, allocations: 12 kB / 0.6617 GB, free: 14.41 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001224/0.4897, allocations: 0.972 MB / 0.6626 GB, free: 13.41 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.4897, allocations: 4 kB / 0.6626 GB, free: 13.41 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002996/0.4927, allocations: 1.249 MB / 0.6638 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004213/0.4931, allocations: 279.4 kB / 0.6641 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001213/0.4932, allocations: 8 kB / 0.6641 GB, free: 11.81 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007771/0.494, allocations: 115.8 kB / 0.6642 GB, free: 11.7 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.86e-05/0.4941, allocations: 39.84 kB / 0.6643 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-05/0.4942, allocations: 23.98 kB / 0.6643 GB, free: 11.64 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0009858/0.4951, allocations: 0.7352 MB / 0.665 GB, free: 10.89 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4952, allocations: 0 / 0.665 GB, free: 10.89 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0014/0.4966, allocations: 0.5535 MB / 0.6655 GB, free: 10.34 MB / 494.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.00372/0.5003, allocations: 2.054 MB / 0.6675 GB, free: 8.246 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00268/0.503, allocations: 1.159 MB / 0.6687 GB, free: 7.086 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.503, allocations: 0 / 0.6687 GB, free: 7.086 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007537/0.5038, allocations: 370.5 kB / 0.669 GB, free: 6.727 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002046/0.5058, allocations: 0.5052 MB / 0.6695 GB, free: 6.23 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01333/0.5192, allocations: 6.854 MB / 0.6762 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005339/0.5197, allocations: 1.065 MB / 0.6773 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0009227/0.5207, allocations: 214.1 kB / 0.6775 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004633/0.5211, allocations: 411.3 kB / 0.6779 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of SimCode: time 8.51e-07/0.5211, allocations: 0 / 0.6779 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04776/0.5689, allocations: 33.15 MB / 0.7102 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001985/0.5691, allocations: 246.6 kB / 0.7105 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.232/2.801, allocations: 0 / 0.7105 GB, free: 12.38 MB / 0.5294 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/linux/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) Environment - environmentSimulation: