Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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(Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity,fileNamePrefix="Buildings_10_Buildings_Fluid_Chillers_Validation_Carnot_TEva_LimitedCapacity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity,fileNamePrefix="Buildings_10_Buildings_Fluid_Chillers_Validation_Carnot_TEva_LimitedCapacity",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.0009194/0.0009195, allocations: 98.03 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.005443/0.005443, allocations: 168.9 kB / 16.26 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.279/1.279, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.281/2.281, allocations: 437.8 MB / 0.7121 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004667/0.0004668, allocations: 8 kB / 0.8729 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4867/0.4872, allocations: 153.8 MB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity): time 0.04726/0.5345, allocations: 59.77 MB / 1.082 GB, free: 3.887 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01252/0.5471, allocations: 11.92 MB / 1.093 GB, free: 7.941 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001289/0.5484, allocations: 51.62 kB / 1.093 GB, free: 7.891 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001229/0.5496, allocations: 0.5516 MB / 1.094 GB, free: 7.336 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.003651/0.5533, allocations: 1.8 MB / 1.095 GB, free: 5.527 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002082/0.5554, allocations: 1.073 MB / 1.097 GB, free: 4.465 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.003483/0.5589, allocations: 3.902 MB / 1.1 GB, free: 0.5508 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001144/0.56, allocations: 0.8981 MB / 1.101 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001745/0.5618, allocations: 1.12 MB / 1.102 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001059/0.5629, allocations: 0.8476 MB / 1.103 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001168/0.563, allocations: 47.94 kB / 1.103 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001992/0.565, allocations: 1.353 MB / 1.105 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002065/0.5652, allocations: 210.8 kB / 1.105 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0005769/0.5658, allocations: 0.6272 MB / 1.105 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002176/0.568, allocations: 2.208 MB / 1.107 GB, free: 9.18 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.568, allocations: 0 / 1.107 GB, free: 9.18 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.543e-06/0.568, allocations: 4 kB / 1.107 GB, free: 9.176 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.289e-05/0.568, allocations: 0 / 1.107 GB, free: 9.176 MB / 0.8575 GB 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.002278/0.5703, allocations: 1.493 MB / 1.109 GB, free: 7.625 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.159e-05/0.5703, allocations: 8.031 kB / 1.109 GB, free: 7.617 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001306/0.5705, allocations: 118.9 kB / 1.109 GB, free: 7.492 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00151/0.572, allocations: 391 kB / 1.109 GB, free: 7.109 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001666/0.5737, allocations: 1.124 MB / 1.111 GB, free: 5.926 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003266/0.574, allocations: 121.9 kB / 1.111 GB, free: 5.809 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001032/0.5741, allocations: 80 kB / 1.111 GB, free: 5.73 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001624/0.5757, allocations: 0.97 MB / 1.112 GB, free: 4.715 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/0.5758, allocations: 3.938 kB / 1.112 GB, free: 4.711 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.781e-05/0.5758, allocations: 32 kB / 1.112 GB, free: 4.68 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.699e-05/0.5759, allocations: 24 kB / 1.112 GB, free: 4.656 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001849/0.5777, allocations: 0.8509 MB / 1.113 GB, free: 3.809 MB / 0.8575 GB 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.004951/0.5827, allocations: 4.803 MB / 1.117 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001403/0.5841, allocations: 0.6087 MB / 1.118 GB, free: 14.03 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005631/0.5847, allocations: 282.9 kB / 1.118 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00113/0.5858, allocations: 1.388 MB / 1.119 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/0.5858, allocations: 42.5 kB / 1.12 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=43): time 1.583e-06/0.5858, allocations: 0 / 1.12 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of matching and sorting (n=43): time 0.006368/0.5922, allocations: 1.852 MB / 1.121 GB, free: 10.13 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.851e-05/0.5923, allocations: 55.41 kB / 1.121 GB, free: 10.07 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001247/0.5935, allocations: 1.059 MB / 1.122 GB, free: 8.992 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.57e-05/0.5936, allocations: 37.7 kB / 1.122 GB, free: 8.949 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003378/0.5939, allocations: 0.5158 MB / 1.123 GB, free: 8.43 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001015/0.594, allocations: 157.8 kB / 1.123 GB, free: 8.273 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.634e-05/0.5941, allocations: 49.7 kB / 1.123 GB, free: 8.219 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 8.441e-05/0.5942, allocations: 329.9 kB / 1.123 GB, free: 7.891 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007045/0.5949, allocations: 288.9 kB / 1.124 GB, free: 7.609 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008463/0.5958, allocations: 0.4895 MB / 1.124 GB, free: 7.039 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001291/0.5971, allocations: 0.6587 MB / 1.125 GB, free: 6.324 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.5971, allocations: 7.938 kB / 1.125 GB, free: 6.316 MB / 0.8731 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002124/0.5992, allocations: 0.9727 MB / 1.126 GB, free: 5.332 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.000103/0.5993, allocations: 220.7 kB / 1.126 GB, free: 5.059 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.313e-06/0.5993, allocations: 4 kB / 1.126 GB, free: 5.055 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001127/0.6005, allocations: 328.6 kB / 1.126 GB, free: 4.73 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004027/0.6009, allocations: 119.8 kB / 1.126 GB, free: 4.613 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001316/0.6022, allocations: 0.9408 MB / 1.127 GB, free: 3.648 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001012/0.6032, allocations: 175.3 kB / 1.128 GB, free: 3.477 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.306e-05/0.6033, allocations: 31.98 kB / 1.128 GB, free: 3.445 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/0.6033, allocations: 7.938 kB / 1.128 GB, free: 3.438 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001988/0.6053, allocations: 0.8393 MB / 1.128 GB, free: 2.594 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.6053, allocations: 4 kB / 1.128 GB, free: 2.59 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009823/0.6063, allocations: 333 kB / 1.129 GB, free: 2.262 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003895/0.6067, allocations: 107.9 kB / 1.129 GB, free: 2.156 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001274/0.608, allocations: 0.9402 MB / 1.13 GB, free: 1.191 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008711/0.6089, allocations: 160.6 kB / 1.13 GB, free: 1.035 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.78e-05/0.6089, allocations: 27.98 kB / 1.13 GB, free: 1.008 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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.0003392/0.6093, allocations: 360.9 kB / 1.13 GB, free: 0.6445 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001259/0.6094, allocations: 106.7 kB / 1.13 GB, free: 0.5391 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002678/0.6121, allocations: 1.073 MB / 1.131 GB, free: 15.46 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.288e-06/0.6121, allocations: 4 kB / 1.131 GB, free: 15.45 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.6121, allocations: 0 / 1.131 GB, free: 15.45 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.6121, allocations: 11.92 kB / 1.131 GB, free: 15.44 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004309/0.6164, allocations: 2.169 MB / 1.134 GB, free: 13.19 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-06/0.6165, allocations: 4 kB / 1.134 GB, free: 13.19 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001852/0.6166, allocations: 63.84 kB / 1.134 GB, free: 13.12 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009112/0.6176, allocations: 328.8 kB / 1.134 GB, free: 12.8 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.728e-05/0.6176, allocations: 12 kB / 1.134 GB, free: 12.79 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001291/0.6189, allocations: 0.9675 MB / 1.135 GB, free: 11.8 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.6189, allocations: 7.938 kB / 1.135 GB, free: 11.79 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003059/0.622, allocations: 1.199 MB / 1.136 GB, free: 10.54 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003025/0.6223, allocations: 271.5 kB / 1.136 GB, free: 10.26 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001121/0.6224, allocations: 16 kB / 1.136 GB, free: 10.24 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007525/0.6232, allocations: 99.81 kB / 1.136 GB, free: 10.14 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.499e-05/0.6232, allocations: 39.83 kB / 1.136 GB, free: 10.11 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-05/0.6233, allocations: 19.98 kB / 1.136 GB, free: 10.09 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0009427/0.6242, allocations: 0.7469 MB / 1.137 GB, free: 9.332 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.7e-07/0.6242, allocations: 0 / 1.137 GB, free: 9.332 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001271/0.6255, allocations: 0.5692 MB / 1.138 GB, free: 8.762 MB / 0.8887 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.003863/0.6294, allocations: 2.03 MB / 1.14 GB, free: 6.68 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002383/0.6318, allocations: 1.055 MB / 1.141 GB, free: 5.629 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.6318, allocations: 4 kB / 1.141 GB, free: 5.625 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0006826/0.6325, allocations: 326.5 kB / 1.141 GB, free: 5.305 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002347/0.6348, allocations: 0.5038 MB / 1.142 GB, free: 4.805 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01374/0.6486, allocations: 8.757 MB / 1.15 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005026/0.6491, allocations: 1.065 MB / 1.151 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0006925/0.6498, allocations: 223.6 kB / 1.151 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004307/0.6502, allocations: 403.3 kB / 1.152 GB, free: 9.906 MB / 0.9044 GB Notification: Performance of SimCode: time 2.91e-07/0.6502, allocations: 0 / 1.152 GB, free: 9.906 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 9.51/10.16, allocations: 32.26 MB / 1.183 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003991/10.16, allocations: 286.9 kB / 1.184 GB, free: 9.773 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.029/16.19, allocations: 0 / 1.184 GB, free: 9.773 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; mkfifo Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe >> ../files/Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Chillers_Validation_Carnot_TEva_LimitedCapacity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Chillers_Validation_Carnot_TEva_LimitedCapacity.fmu > Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe 2>&1)