Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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(Buildings.Fluid.Chillers.Examples.Carnot_TEva,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Examples_Carnot_TEva",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.Carnot_TEva,fileNamePrefix="Buildings_latest_Buildings_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.001292/0.001292, allocations: 108 kB / 15.61 MB, free: 152 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.001275/0.001275, allocations: 196.7 kB / 16.53 MB, free: 6.664 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.244/1.244, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.411/2.411, allocations: 461.9 MB / 0.7347 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 67.05 kB / 0.8992 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2863/0.2876, allocations: 157.4 MB / 1.053 GB, free: 8.262 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.0618/0.3494, allocations: 61.19 MB / 1.113 GB, free: 10.86 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01648/0.3659, allocations: 12.01 MB / 1.124 GB, free: 14.82 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001871/0.3678, allocations: 59.62 kB / 1.124 GB, free: 14.76 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.00192/0.3697, allocations: 0.6752 MB / 1.125 GB, free: 14.08 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.00476/0.3746, allocations: 1.971 MB / 1.127 GB, free: 12.1 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002894/0.3775, allocations: 1.192 MB / 1.128 GB, free: 10.91 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003899/0.3814, allocations: 3.07 MB / 1.131 GB, free: 7.84 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00166/0.3831, allocations: 1.096 MB / 1.132 GB, free: 6.715 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002932/0.386, allocations: 1.334 MB / 1.134 GB, free: 5.379 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001435/0.3874, allocations: 0.8867 MB / 1.134 GB, free: 4.488 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0003142/0.3878, allocations: 119.9 kB / 1.135 GB, free: 4.371 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002985/0.3908, allocations: 1.447 MB / 1.136 GB, free: 2.922 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003949/0.3912, allocations: 302.8 kB / 1.136 GB, free: 2.625 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0009804/0.3922, allocations: 0.6842 MB / 1.137 GB, free: 1.938 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.003454/0.3956, allocations: 2.267 MB / 1.139 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.3956, allocations: 0 / 1.139 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.723e-06/0.3957, allocations: 0 / 1.139 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.961e-05/0.3957, allocations: 0 / 1.139 GB, free: 15.66 MB / 0.9044 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.003617/0.3994, allocations: 1.73 MB / 1.141 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.3994, allocations: 12.62 kB / 1.141 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001504/0.3996, allocations: 122.9 kB / 1.141 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002282/0.4018, allocations: 406.8 kB / 1.141 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002087/0.4039, allocations: 1.101 MB / 1.142 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003665/0.4043, allocations: 121.9 kB / 1.143 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001171/0.4044, allocations: 79.94 kB / 1.143 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002002/0.4065, allocations: 0.9976 MB / 1.144 GB, free: 10.92 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.067e-05/0.4065, allocations: 7.938 kB / 1.144 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.891e-05/0.4066, allocations: 32 kB / 1.144 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.695e-05/0.4066, allocations: 20 kB / 1.144 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002382/0.409, allocations: 0.8547 MB / 1.144 GB, free: 10.01 MB / 0.9044 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.006912/0.4159, allocations: 5.265 MB / 1.15 GB, free: 4.371 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003517/0.4194, allocations: 0.792 MB / 1.15 GB, free: 3.566 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007354/0.4202, allocations: 304.7 kB / 1.151 GB, free: 3.266 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00064/0.4208, allocations: 0.9064 MB / 1.152 GB, free: 2.156 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.702e-05/0.4209, allocations: 38.5 kB / 1.152 GB, free: 2.109 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=43): time 2.013e-06/0.4209, allocations: 0 / 1.152 GB, free: 2.109 MB / 0.9044 GB Notification: Performance of matching and sorting (n=43): time 0.00741/0.4283, allocations: 1.758 MB / 1.153 GB, free: 328 kB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.989e-05/0.4284, allocations: 59.41 kB / 1.153 GB, free: 256 kB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001656/0.43, allocations: 1.072 MB / 1.154 GB, free: 15.16 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 6.589e-05/0.4301, allocations: 37.7 kB / 1.154 GB, free: 15.12 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004109/0.4305, allocations: 0.535 MB / 1.155 GB, free: 14.58 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001181/0.4306, allocations: 157.7 kB / 1.155 GB, free: 14.43 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002166/0.4309, allocations: 134.2 kB / 1.155 GB, free: 14.29 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.774e-05/0.431, allocations: 329.9 kB / 1.156 GB, free: 13.96 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009092/0.4319, allocations: 311.3 kB / 1.156 GB, free: 13.65 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00108/0.433, allocations: 0.529 MB / 1.156 GB, free: 13.02 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001688/0.4347, allocations: 0.7177 MB / 1.157 GB, free: 12.23 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.448e-06/0.4347, allocations: 7.938 kB / 1.157 GB, free: 12.23 MB / 0.92 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002773/0.4375, allocations: 1.027 MB / 1.158 GB, free: 11.19 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.4375, allocations: 9.719 kB / 1.158 GB, free: 11.18 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.4375, allocations: 4 kB / 1.158 GB, free: 11.18 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001324/0.4389, allocations: 320.6 kB / 1.158 GB, free: 10.86 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005651/0.4394, allocations: 131.8 kB / 1.159 GB, free: 10.73 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001523/0.441, allocations: 0.9136 MB / 1.159 GB, free: 9.793 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001238/0.4422, allocations: 163.2 kB / 1.16 GB, free: 9.633 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.346e-05/0.4423, allocations: 27.98 kB / 1.16 GB, free: 9.605 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0012/0.4435, allocations: 0.5129 MB / 1.16 GB, free: 9.09 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001064/0.4446, allocations: 0.5329 MB / 1.161 GB, free: 8.461 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001682/0.4463, allocations: 0.7063 MB / 1.161 GB, free: 7.684 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.34e-06/0.4463, allocations: 4 kB / 1.161 GB, free: 7.68 MB / 0.92 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002776/0.4491, allocations: 1.008 MB / 1.162 GB, free: 6.66 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.4491, allocations: 12.03 kB / 1.162 GB, free: 6.648 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.4491, allocations: 8 kB / 1.162 GB, free: 6.641 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001106/0.4502, allocations: 308.7 kB / 1.163 GB, free: 6.336 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005415/0.4508, allocations: 127.8 kB / 1.163 GB, free: 6.211 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001423/0.4522, allocations: 0.9211 MB / 1.164 GB, free: 5.266 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00125/0.4535, allocations: 135.6 kB / 1.164 GB, free: 5.133 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.425e-05/0.4535, allocations: 27.98 kB / 1.164 GB, free: 5.105 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (57): * Single equations (assignments): 56 * 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.0001982/0.4537, allocations: 220.1 kB / 1.164 GB, free: 4.883 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002054/0.454, allocations: 114.6 kB / 1.164 GB, free: 4.77 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002419/0.4564, allocations: 0.9339 MB / 1.165 GB, free: 3.82 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-05/0.4564, allocations: 8 kB / 1.165 GB, free: 3.812 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.4564, allocations: 4 kB / 1.165 GB, free: 3.809 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.869e-06/0.4564, allocations: 3.984 kB / 1.165 GB, free: 3.805 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005232/0.4617, allocations: 2.146 MB / 1.167 GB, free: 1.574 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/0.4617, allocations: 0 / 1.167 GB, free: 1.574 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002852/0.462, allocations: 63.89 kB / 1.167 GB, free: 1.512 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00105/0.4631, allocations: 308.7 kB / 1.167 GB, free: 1.207 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.824e-05/0.4631, allocations: 15.98 kB / 1.168 GB, free: 1.191 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001461/0.4646, allocations: 0.9397 MB / 1.168 GB, free: 232 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.4646, allocations: 0 / 1.168 GB, free: 232 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003704/0.4683, allocations: 1.175 MB / 1.17 GB, free: 15 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004925/0.4688, allocations: 259.6 kB / 1.17 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002237/0.469, allocations: 11.98 kB / 1.17 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009027/0.4699, allocations: 75.92 kB / 1.17 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.599e-05/0.47, allocations: 39.83 kB / 1.17 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-05/0.4701, allocations: 23.98 kB / 1.17 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001402/0.4715, allocations: 0.7551 MB / 1.171 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.5e-07/0.4715, allocations: 0 / 1.171 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001807/0.4733, allocations: 0.5692 MB / 1.171 GB, free: 13.25 MB / 0.9356 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.004627/0.478, allocations: 1.978 MB / 1.173 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.003388/0.4814, allocations: 1.164 MB / 1.174 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/0.4814, allocations: 8.125 kB / 1.174 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0009108/0.4823, allocations: 346.6 kB / 1.175 GB, free: 9.719 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00234/0.4847, allocations: 0.5095 MB / 1.175 GB, free: 9.219 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01789/0.5026, allocations: 8.903 MB / 1.184 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005702/0.5032, allocations: 1.061 MB / 1.185 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0009491/0.5041, allocations: 228.8 kB / 1.185 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005472/0.5047, allocations: 411.3 kB / 1.186 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of SimCode: time 7.32e-07/0.5047, allocations: 0 / 1.186 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.389/3.894, allocations: 33.3 MB / 1.218 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.48/21.38, allocations: 9.375 kB / 1.218 GB, free: 13.22 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Chillers_Examples_Carnot_TEva_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Chillers_Examples_Carnot_TEva.fmu > Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)