Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.CarnotVerifyEtaCarnot,fileNamePrefix="Buildings_9_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="Buildings_9_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",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.001162/0.001162, 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.001206/0.001206, allocations: 195.5 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.188/1.188, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.13/2.13, allocations: 390.2 MB / 0.6647 GB, free: 0.4922 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001115/0.001115, allocations: 59.91 kB / 0.8126 GB, free: 14.43 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5551/0.5563, allocations: 140.4 MB / 0.9497 GB, free: 9.188 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1117/0.668, allocations: 132.3 MB / 1.079 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02754/0.6955, allocations: 23.22 MB / 1.102 GB, free: 5.93 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003499/0.6991, allocations: 123.2 kB / 1.102 GB, free: 5.809 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.003301/0.7024, allocations: 1.494 MB / 1.103 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.009467/0.7119, allocations: 4.098 MB / 1.107 GB, free: 192 kB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004467/0.7164, allocations: 2.15 MB / 1.109 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.00721/0.7236, allocations: 6.529 MB / 1.116 GB, free: 7.508 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003243/0.7269, allocations: 2.357 MB / 1.118 GB, free: 5.09 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005166/0.732, allocations: 2.745 MB / 1.121 GB, free: 2.344 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002614/0.7347, allocations: 1.882 MB / 1.122 GB, free: 464 kB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0004902/0.7352, allocations: 248 kB / 1.123 GB, free: 216 kB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003802/0.739, allocations: 1.938 MB / 1.125 GB, free: 14.27 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0006093/0.7396, allocations: 0.6031 MB / 1.125 GB, free: 13.66 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001724/0.7413, allocations: 1.466 MB / 1.127 GB, free: 12.19 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.005027/0.7463, allocations: 4.308 MB / 1.131 GB, free: 7.871 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.7464, allocations: 0 / 1.131 GB, free: 7.871 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.122e-06/0.7464, allocations: 0 / 1.131 GB, free: 7.871 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.42e-05/0.7465, allocations: 0 / 1.131 GB, free: 7.871 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 388 * Number of variables: 388 Notification: Performance of Generate backend data structure: time 0.005328/0.7518, allocations: 3.189 MB / 1.134 GB, free: 4.598 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.7518, allocations: 12.03 kB / 1.134 GB, free: 4.586 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002463/0.7521, allocations: 216 kB / 1.134 GB, free: 4.363 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004037/0.7561, allocations: 0.8434 MB / 1.135 GB, free: 3.516 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003497/0.7596, allocations: 2.194 MB / 1.137 GB, free: 1.246 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009091/0.7605, allocations: 294.8 kB / 1.137 GB, free: 0.957 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000205/0.7608, allocations: 160 kB / 1.138 GB, free: 0.8008 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003551/0.7643, allocations: 1.934 MB / 1.139 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.645e-05/0.7644, allocations: 3.938 kB / 1.139 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001359/0.7645, allocations: 67.94 kB / 1.139 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.506e-05/0.7645, allocations: 40 kB / 1.14 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004351/0.7689, allocations: 1.827 MB / 1.141 GB, free: 12.86 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.01064/0.7795, allocations: 9.078 MB / 1.15 GB, free: 3.184 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003967/0.7835, allocations: 1.21 MB / 1.151 GB, free: 1.957 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001005/0.7845, allocations: 457.4 kB / 1.152 GB, free: 1.504 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001/0.7855, allocations: 1.719 MB / 1.153 GB, free: 15.4 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/0.7856, allocations: 50.5 kB / 1.153 GB, free: 15.34 MB / 0.92 GB Notification: Performance of pre-optimization done (n=76): time 2.043e-06/0.7856, allocations: 0 / 1.153 GB, free: 15.34 MB / 0.92 GB Notification: Performance of matching and sorting (n=76): time 0.007855/0.7934, allocations: 2.339 MB / 1.156 GB, free: 12.95 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.839e-05/0.7935, allocations: 85.11 kB / 1.156 GB, free: 12.84 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003394/0.7969, allocations: 2.54 MB / 1.158 GB, free: 10.29 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 8.352e-05/0.797, allocations: 49.7 kB / 1.158 GB, free: 10.23 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007686/0.7978, allocations: 1.045 MB / 1.159 GB, free: 9.176 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002156/0.798, allocations: 272.1 kB / 1.16 GB, free: 8.906 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003877/0.7984, allocations: 258.6 kB / 1.16 GB, free: 8.648 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.7985, allocations: 345.9 kB / 1.16 GB, free: 8.305 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001687/0.8002, allocations: 0.5881 MB / 1.161 GB, free: 7.715 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001978/0.8022, allocations: 0.966 MB / 1.162 GB, free: 6.598 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002903/0.8051, allocations: 1.271 MB / 1.163 GB, free: 5.223 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.8051, allocations: 3.938 kB / 1.163 GB, free: 5.219 MB / 0.92 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006095/0.8112, allocations: 2.047 MB / 1.165 GB, free: 3.156 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.8112, allocations: 8 kB / 1.165 GB, free: 3.148 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.8113, allocations: 8 kB / 1.165 GB, free: 3.141 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00164/0.8129, allocations: 493.7 kB / 1.165 GB, free: 2.652 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001139/0.8141, allocations: 287.5 kB / 1.166 GB, free: 2.371 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002014/0.8161, allocations: 1.517 MB / 1.167 GB, free: 0.8047 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002566/0.8187, allocations: 393.9 kB / 1.168 GB, free: 428 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001321/0.8188, allocations: 63.95 kB / 1.168 GB, free: 364 kB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (111): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,14), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0007734/0.8196, allocations: 474.2 kB / 1.168 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004889/0.8201, allocations: 244.9 kB / 1.168 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003455/0.8235, allocations: 1.497 MB / 1.17 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.871e-05/0.8236, allocations: 15.98 kB / 1.17 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.8236, allocations: 4 kB / 1.17 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.899e-06/0.8236, allocations: 3.984 kB / 1.17 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007237/0.8308, allocations: 3.62 MB / 1.173 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.226e-06/0.8309, allocations: 4 kB / 1.173 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005646/0.8314, allocations: 123.8 kB / 1.174 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001517/0.833, allocations: 485.2 kB / 1.174 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.162e-05/0.833, allocations: 27.98 kB / 1.174 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002447/0.8355, allocations: 1.59 MB / 1.176 GB, free: 8.098 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.8355, allocations: 12 kB / 1.176 GB, free: 8.086 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005905/0.8414, allocations: 1.935 MB / 1.177 GB, free: 6.078 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001086/0.8425, allocations: 489.6 kB / 1.178 GB, free: 5.578 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005048/0.843, allocations: 23.98 kB / 1.178 GB, free: 5.555 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001826/0.8449, allocations: 139.8 kB / 1.178 GB, free: 5.418 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.621e-05/0.845, allocations: 63.8 kB / 1.178 GB, free: 5.355 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.892e-05/0.8451, allocations: 39.97 kB / 1.178 GB, free: 5.316 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.003079/0.8482, allocations: 1.785 MB / 1.18 GB, free: 3.527 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8482, allocations: 4 kB / 1.18 GB, free: 3.523 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001866/0.85, allocations: 0.6944 MB / 1.181 GB, free: 2.828 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (62): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,16), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007063/0.8571, allocations: 3.011 MB / 1.184 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.00423/0.8614, allocations: 1.396 MB / 1.185 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.221e-05/0.8614, allocations: 4.188 kB / 1.185 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.002355/0.8638, allocations: 0.6699 MB / 1.186 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005709/0.8695, allocations: 1.337 MB / 1.187 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03296/0.9024, allocations: 19.23 MB / 1.206 GB, free: 7.664 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001017/0.9035, allocations: 1.49 MB / 1.207 GB, free: 6.141 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001871/0.9054, allocations: 436 kB / 1.208 GB, free: 5.715 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001115/0.9065, allocations: 0.9015 MB / 1.208 GB, free: 4.812 MB / 0.9669 GB Notification: Performance of SimCode: time 9.71e-07/0.9065, allocations: 0 / 1.208 GB, free: 4.812 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.033/2.94, allocations: 68.51 MB / 1.275 GB, free: 291.4 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.26/15.2, allocations: 12.7 kB / 1.275 GB, free: 291.4 MB / 1.014 GB (rm -f Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.fmu > Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1)