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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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(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.001455/0.001455, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001591/0.001591, allocations: 196.8 kB / 16.14 MB, free: 6.719 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.232/1.232, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.497/2.497, allocations: 461.8 MB / 0.7342 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 63.75 kB / 0.8985 GB, free: 36.95 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2941/0.2954, allocations: 157.4 MB / 1.052 GB, free: 8.207 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.05613/0.3515, allocations: 60.85 MB / 1.112 GB, free: 11.15 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01703/0.3686, allocations: 12.06 MB / 1.123 GB, free: 15.05 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002342/0.371, allocations: 59.62 kB / 1.123 GB, free: 15 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.00165/0.3727, allocations: 0.5399 MB / 1.124 GB, free: 14.45 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.004759/0.3775, allocations: 1.811 MB / 1.126 GB, free: 12.64 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002779/0.3803, allocations: 1.063 MB / 1.127 GB, free: 11.58 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.004796/0.3851, allocations: 3.91 MB / 1.131 GB, free: 7.664 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001396/0.3865, allocations: 0.9235 MB / 1.132 GB, free: 6.711 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002584/0.3891, allocations: 1.151 MB / 1.133 GB, free: 5.555 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001406/0.3905, allocations: 0.8943 MB / 1.134 GB, free: 4.656 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001467/0.3907, allocations: 56 kB / 1.134 GB, free: 4.602 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003504/0.3942, allocations: 1.345 MB / 1.135 GB, free: 3.254 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.000318/0.3945, allocations: 234.9 kB / 1.135 GB, free: 3.023 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.00101/0.3955, allocations: 0.6333 MB / 1.136 GB, free: 2.387 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.004454/0.4, allocations: 2.244 MB / 1.138 GB, free: 140 kB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.4, allocations: 0 / 1.138 GB, free: 140 kB / 0.8887 GB Notification: Performance of FrontEnd: time 1.312e-06/0.4, allocations: 0 / 1.138 GB, free: 140 kB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.918e-05/0.4001, allocations: 0 / 1.138 GB, free: 140 kB / 0.8887 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.003766/0.4038, allocations: 1.719 MB / 1.14 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 6.587e-05/0.4039, allocations: 11.97 kB / 1.14 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002423/0.4042, allocations: 130.9 kB / 1.14 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002221/0.4064, allocations: 402.8 kB / 1.14 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002411/0.4088, allocations: 1.132 MB / 1.141 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003483/0.4092, allocations: 117.9 kB / 1.141 GB, free: 12.51 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001294/0.4093, allocations: 76 kB / 1.141 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002008/0.4113, allocations: 0.9894 MB / 1.142 GB, free: 11.4 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.136e-05/0.4114, allocations: 4 kB / 1.142 GB, free: 11.4 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.226e-05/0.4115, allocations: 32 kB / 1.142 GB, free: 11.37 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.014e-05/0.4115, allocations: 16 kB / 1.142 GB, free: 11.35 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002288/0.4138, allocations: 0.8586 MB / 1.143 GB, free: 10.49 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.007664/0.4215, allocations: 4.838 MB / 1.148 GB, free: 5.293 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003302/0.4248, allocations: 0.7959 MB / 1.149 GB, free: 4.484 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006945/0.4255, allocations: 298.1 kB / 1.149 GB, free: 4.191 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000751/0.4263, allocations: 0.9025 MB / 1.15 GB, free: 3.086 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.58e-05/0.4263, allocations: 46.5 kB / 1.15 GB, free: 3.031 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=43): time 2.735e-06/0.4263, allocations: 0 / 1.15 GB, free: 3.031 MB / 0.9044 GB Notification: Performance of matching and sorting (n=43): time 0.007295/0.4336, allocations: 1.754 MB / 1.152 GB, free: 1.246 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.098e-05/0.4337, allocations: 59.34 kB / 1.152 GB, free: 1.176 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002025/0.4357, allocations: 1.059 MB / 1.153 GB, free: 104 kB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 6.245e-05/0.4358, allocations: 33.7 kB / 1.153 GB, free: 64 kB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006684/0.4365, allocations: 0.5196 MB / 1.153 GB, free: 15.54 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001385/0.4366, allocations: 149.8 kB / 1.153 GB, free: 15.39 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002288/0.4369, allocations: 126.1 kB / 1.154 GB, free: 15.26 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.437, allocations: 333.9 kB / 1.154 GB, free: 14.93 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008346/0.4379, allocations: 298.9 kB / 1.154 GB, free: 14.63 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001233/0.4391, allocations: 0.5069 MB / 1.155 GB, free: 14.04 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001582/0.4407, allocations: 0.6772 MB / 1.155 GB, free: 13.31 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.4407, allocations: 7.938 kB / 1.155 GB, free: 13.3 MB / 0.92 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003805/0.4445, allocations: 1.129 MB / 1.156 GB, free: 12.16 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.7e-05/0.4446, allocations: 8 kB / 1.156 GB, free: 12.15 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.4446, allocations: 4 kB / 1.156 GB, free: 12.15 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001234/0.4458, allocations: 323 kB / 1.157 GB, free: 11.83 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005238/0.4464, allocations: 119.8 kB / 1.157 GB, free: 11.71 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001476/0.4478, allocations: 0.9152 MB / 1.158 GB, free: 10.77 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001277/0.4491, allocations: 171.2 kB / 1.158 GB, free: 10.61 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.021e-05/0.4492, allocations: 31.98 kB / 1.158 GB, free: 10.57 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001233/0.4505, allocations: 0.501 MB / 1.158 GB, free: 10.07 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001012/0.4515, allocations: 0.5095 MB / 1.159 GB, free: 9.477 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001588/0.4531, allocations: 0.6677 MB / 1.16 GB, free: 8.75 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.495e-06/0.4531, allocations: 0 / 1.16 GB, free: 8.75 MB / 0.92 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.003434/0.4566, allocations: 1.11 MB / 1.161 GB, free: 7.629 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.4566, allocations: 8 kB / 1.161 GB, free: 7.621 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.4566, allocations: 4 kB / 1.161 GB, free: 7.617 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001076/0.4577, allocations: 312.2 kB / 1.161 GB, free: 7.312 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004989/0.4582, allocations: 115.8 kB / 1.161 GB, free: 7.199 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001481/0.4597, allocations: 0.9113 MB / 1.162 GB, free: 6.262 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001328/0.461, allocations: 151.6 kB / 1.162 GB, free: 6.113 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.455e-05/0.4611, allocations: 31.98 kB / 1.162 GB, free: 6.082 MB / 0.92 GB 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.0002882/0.4614, allocations: 216.1 kB / 1.162 GB, free: 5.863 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000178/0.4616, allocations: 106.7 kB / 1.162 GB, free: 5.758 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002369/0.464, allocations: 0.9338 MB / 1.163 GB, free: 4.805 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.436e-05/0.464, allocations: 12 kB / 1.163 GB, free: 4.793 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/0.464, allocations: 3.938 kB / 1.163 GB, free: 4.789 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.464, allocations: 0 / 1.163 GB, free: 4.789 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0052/0.4692, allocations: 2.151 MB / 1.166 GB, free: 2.555 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.366e-05/0.4693, allocations: 7.984 kB / 1.166 GB, free: 2.547 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002771/0.4695, allocations: 63.89 kB / 1.166 GB, free: 2.484 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001016/0.4706, allocations: 302.1 kB / 1.166 GB, free: 2.188 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.547e-05/0.4706, allocations: 19.98 kB / 1.166 GB, free: 2.168 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001385/0.472, allocations: 0.9475 MB / 1.167 GB, free: 1.195 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.472, allocations: 7.875 kB / 1.167 GB, free: 1.188 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003445/0.4755, allocations: 1.163 MB / 1.168 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005381/0.476, allocations: 263.5 kB / 1.168 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001408/0.4762, allocations: 12 kB / 1.168 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008367/0.477, allocations: 95.73 kB / 1.168 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/0.4771, allocations: 39.89 kB / 1.168 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.956e-05/0.4772, allocations: 23.98 kB / 1.168 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001436/0.4786, allocations: 0.743 MB / 1.169 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4787, allocations: 4 kB / 1.169 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001864/0.4805, allocations: 0.5574 MB / 1.17 GB, free: 14.22 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.004829/0.4854, allocations: 1.965 MB / 1.172 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.003267/0.4886, allocations: 1.102 MB / 1.173 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.4887, allocations: 0 / 1.173 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0008774/0.4895, allocations: 339.2 kB / 1.173 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002585/0.4921, allocations: 499.9 kB / 1.173 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01924/0.5114, allocations: 8.959 MB / 1.182 GB, free: 0.8906 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006361/0.5121, allocations: 1.058 MB / 1.183 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.000958/0.513, allocations: 224.7 kB / 1.183 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004839/0.5135, allocations: 403.3 kB / 1.184 GB, free: 15.19 MB / 0.9512 GB Notification: Performance of SimCode: time 1.092e-06/0.5135, allocations: 0 / 1.184 GB, free: 15.19 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7692/1.283, allocations: 31.87 MB / 1.215 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002969/1.283, allocations: 277.8 kB / 1.215 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.453/3.736, allocations: 4 kB / 1.215 GB, free: 15.39 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)