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.001013/0.001013, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.007955/0.007956, allocations: 173.9 kB / 16.27 MB, free: 6.613 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.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.751/2.751, allocations: 462.7 MB / 0.7364 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000334/0.000334, allocations: 7.781 kB / 0.9029 GB, free: 36.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2683/0.2687, allocations: 159.6 MB / 1.059 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.04997/0.3187, allocations: 59.75 MB / 1.117 GB, free: 8.895 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01391/0.3326, allocations: 11.92 MB / 1.129 GB, free: 12.94 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001154/0.3338, allocations: 51.69 kB / 1.129 GB, free: 12.89 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001224/0.335, allocations: 0.5593 MB / 1.129 GB, free: 12.33 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.00353/0.3386, allocations: 1.795 MB / 1.131 GB, free: 10.53 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002176/0.3408, allocations: 1.078 MB / 1.132 GB, free: 9.457 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003511/0.3443, allocations: 3.898 MB / 1.136 GB, free: 5.551 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001073/0.3454, allocations: 0.9058 MB / 1.137 GB, free: 4.613 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0017/0.3471, allocations: 1.124 MB / 1.138 GB, free: 3.484 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009319/0.348, allocations: 0.8475 MB / 1.139 GB, free: 2.633 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 9.308e-05/0.3481, allocations: 44 kB / 1.139 GB, free: 2.59 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002119/0.3502, allocations: 1.329 MB / 1.14 GB, free: 1.258 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001981/0.3504, allocations: 214.9 kB / 1.14 GB, free: 1.047 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0005191/0.351, allocations: 0.635 MB / 1.141 GB, free: 412 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002095/0.3531, allocations: 2.192 MB / 1.143 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3531, allocations: 0 / 1.143 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.753e-06/0.3531, allocations: 0 / 1.143 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.31e-05/0.3531, allocations: 0 / 1.143 GB, free: 14.2 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.00234/0.3555, allocations: 1.477 MB / 1.145 GB, free: 12.67 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.3555, allocations: 15.97 kB / 1.145 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001334/0.3557, allocations: 130.9 kB / 1.145 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002109/0.3578, allocations: 466.8 kB / 1.145 GB, free: 12.06 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001751/0.3595, allocations: 1.136 MB / 1.146 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003417/0.3599, allocations: 129.9 kB / 1.146 GB, free: 10.74 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001158/0.36, allocations: 80 kB / 1.146 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001883/0.3619, allocations: 1.005 MB / 1.147 GB, free: 9.609 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/0.3619, allocations: 3.938 kB / 1.147 GB, free: 9.605 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.462e-05/0.362, allocations: 32 kB / 1.147 GB, free: 9.574 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.923e-05/0.362, allocations: 20 kB / 1.147 GB, free: 9.555 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002192/0.3642, allocations: 0.9133 MB / 1.148 GB, free: 8.641 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.005489/0.3697, allocations: 4.885 MB / 1.153 GB, free: 3.395 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003397/0.3731, allocations: 0.9053 MB / 1.154 GB, free: 2.477 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007164/0.3739, allocations: 315.5 kB / 1.154 GB, free: 2.168 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005405/0.3744, allocations: 0.9103 MB / 1.155 GB, free: 1.055 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/0.3745, allocations: 46.44 kB / 1.155 GB, free: 1 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=43): time 1.603e-06/0.3745, allocations: 0 / 1.155 GB, free: 1 MB / 0.9044 GB Notification: Performance of matching and sorting (n=43): time 0.007166/0.3816, allocations: 1.946 MB / 1.157 GB, free: 15.02 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.822e-05/0.3817, allocations: 55.41 kB / 1.157 GB, free: 14.96 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00129/0.383, allocations: 1.063 MB / 1.158 GB, free: 13.88 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.902e-05/0.383, allocations: 33.7 kB / 1.158 GB, free: 13.84 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003661/0.3834, allocations: 0.5313 MB / 1.159 GB, free: 13.3 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001066/0.3835, allocations: 141.9 kB / 1.159 GB, free: 13.16 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.215e-05/0.3836, allocations: 49.69 kB / 1.159 GB, free: 13.11 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.534e-05/0.3837, allocations: 333.9 kB / 1.159 GB, free: 12.78 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008673/0.3846, allocations: 324.9 kB / 1.16 GB, free: 12.46 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001014/0.3856, allocations: 0.5265 MB / 1.16 GB, free: 11.85 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001622/0.3872, allocations: 0.7318 MB / 1.161 GB, free: 11.06 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.3872, allocations: 0 / 1.161 GB, free: 11.06 MB / 0.92 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003441/0.3907, allocations: 1.219 MB / 1.162 GB, free: 9.832 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001108/0.3908, allocations: 209.3 kB / 1.162 GB, free: 9.566 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.3908, allocations: 8 kB / 1.162 GB, free: 9.559 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00121/0.392, allocations: 334.8 kB / 1.163 GB, free: 9.23 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005069/0.3926, allocations: 127.8 kB / 1.163 GB, free: 9.105 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00143/0.394, allocations: 0.9349 MB / 1.164 GB, free: 8.145 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001248/0.3953, allocations: 197 kB / 1.164 GB, free: 7.953 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.538e-05/0.3953, allocations: 27.98 kB / 1.164 GB, free: 7.926 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 9.648e-06/0.3954, allocations: 9.969 kB / 1.164 GB, free: 7.918 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003179/0.3985, allocations: 1.07 MB / 1.165 GB, free: 6.844 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.3986, allocations: 4 kB / 1.165 GB, free: 6.84 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001051/0.3996, allocations: 325 kB / 1.165 GB, free: 6.52 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005038/0.4001, allocations: 131.8 kB / 1.165 GB, free: 6.391 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001357/0.4015, allocations: 0.9413 MB / 1.166 GB, free: 5.426 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001065/0.4026, allocations: 167.4 kB / 1.166 GB, free: 5.262 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.493e-05/0.4026, allocations: 27.98 kB / 1.166 GB, free: 5.234 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.0004717/0.4031, allocations: 352.9 kB / 1.167 GB, free: 4.879 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000142/0.4033, allocations: 110.7 kB / 1.167 GB, free: 4.77 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00227/0.4055, allocations: 0.9807 MB / 1.168 GB, free: 3.777 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/0.4056, allocations: 7.938 kB / 1.168 GB, free: 3.77 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.4056, allocations: 0 / 1.168 GB, free: 3.77 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.258e-06/0.4056, allocations: 7.922 kB / 1.168 GB, free: 3.762 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004789/0.4104, allocations: 2.257 MB / 1.17 GB, free: 1.422 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.864e-06/0.4104, allocations: 4 kB / 1.17 GB, free: 1.418 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002716/0.4107, allocations: 71.89 kB / 1.17 GB, free: 1.348 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009595/0.4116, allocations: 328.8 kB / 1.17 GB, free: 1.023 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.177e-05/0.4117, allocations: 12 kB / 1.17 GB, free: 1.012 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001387/0.4131, allocations: 0.9737 MB / 1.171 GB, free: 12 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.4131, allocations: 4 kB / 1.171 GB, free: 8 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003521/0.4166, allocations: 1.249 MB / 1.173 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003264/0.417, allocations: 287.4 kB / 1.173 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001145/0.4171, allocations: 12 kB / 1.173 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008706/0.418, allocations: 111.8 kB / 1.173 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.952e-05/0.418, allocations: 35.89 kB / 1.173 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.336e-05/0.4181, allocations: 23.98 kB / 1.173 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0009972/0.4191, allocations: 0.7508 MB / 1.174 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.11e-07/0.4191, allocations: 4 kB / 1.174 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001269/0.4204, allocations: 0.5535 MB / 1.174 GB, free: 12.91 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.004304/0.4247, allocations: 2.062 MB / 1.176 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002943/0.4276, allocations: 1.176 MB / 1.177 GB, free: 9.629 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.4277, allocations: 0 / 1.177 GB, free: 9.629 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000854/0.4285, allocations: 366.4 kB / 1.178 GB, free: 9.27 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002528/0.4311, allocations: 0.5098 MB / 1.178 GB, free: 8.762 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01729/0.4484, allocations: 9.224 MB / 1.187 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005503/0.4489, allocations: 1.065 MB / 1.188 GB, free: 14 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0008389/0.4498, allocations: 220.6 kB / 1.189 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004718/0.4503, allocations: 407.3 kB / 1.189 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of SimCode: time 7.31e-07/0.4503, allocations: 0 / 1.189 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4847/0.9349, allocations: 31.99 MB / 1.22 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003169/0.9353, allocations: 275 kB / 1.22 GB, free: 13.49 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.489/3.425, allocations: 3.938 kB / 1.22 GB, free: 13.48 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)