Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.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_reverseFlow,fileNamePrefix="Buildings_10_Buildings_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,fileNamePrefix="Buildings_10_Buildings_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow",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.0009636/0.0009637, allocations: 91.3 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.007404/0.007404, allocations: 173 kB / 16.26 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.193/1.193, allocations: 223.3 MB / 240.3 MB, free: 5.348 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.297/2.297, allocations: 437.8 MB / 0.7121 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003125/0.0003125, allocations: 8 kB / 0.8729 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5347/0.535, allocations: 153.8 MB / 1.023 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.05474/0.5898, allocations: 59.78 MB / 1.082 GB, free: 3.863 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0146/0.6044, allocations: 11.93 MB / 1.093 GB, free: 7.91 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001339/0.6058, allocations: 51.69 kB / 1.093 GB, free: 7.859 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001334/0.6071, allocations: 0.5477 MB / 1.094 GB, free: 7.309 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.003896/0.611, allocations: 1.812 MB / 1.096 GB, free: 5.492 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002302/0.6134, allocations: 1.078 MB / 1.097 GB, free: 4.422 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.003752/0.6171, allocations: 3.906 MB / 1.1 GB, free: 0.5078 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001141/0.6183, allocations: 0.9149 MB / 1.101 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001731/0.62, allocations: 1.116 MB / 1.102 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000973/0.621, allocations: 0.8632 MB / 1.103 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.673e-05/0.6211, allocations: 44 kB / 1.103 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002221/0.6233, allocations: 1.345 MB / 1.105 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002054/0.6236, allocations: 214.8 kB / 1.105 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0005505/0.6241, allocations: 0.6311 MB / 1.105 GB, free: 11.33 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002191/0.6263, allocations: 2.216 MB / 1.108 GB, free: 9.105 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.6263, allocations: 7.938 kB / 1.108 GB, free: 9.098 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.403e-06/0.6263, allocations: 3.938 kB / 1.108 GB, free: 9.094 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.035e-05/0.6263, allocations: 0 / 1.108 GB, free: 9.094 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.00253/0.6289, allocations: 1.501 MB / 1.109 GB, free: 7.535 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.6289, allocations: 8.031 kB / 1.109 GB, free: 7.527 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001304/0.6291, allocations: 122.9 kB / 1.109 GB, free: 7.398 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00258/0.6317, allocations: 0.5183 MB / 1.11 GB, free: 6.879 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001848/0.6335, allocations: 1.14 MB / 1.111 GB, free: 5.68 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003636/0.6339, allocations: 129.9 kB / 1.111 GB, free: 5.555 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001226/0.634, allocations: 80 kB / 1.111 GB, free: 5.477 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002118/0.6362, allocations: 1.041 MB / 1.112 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/0.6362, allocations: 0 / 1.112 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.299e-05/0.6363, allocations: 32 kB / 1.112 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.74e-05/0.6363, allocations: 23.94 kB / 1.112 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002674/0.639, allocations: 0.9915 MB / 1.113 GB, free: 3.359 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.005705/0.6447, allocations: 4.714 MB / 1.118 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004387/0.6491, allocations: 1.125 MB / 1.119 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001141/0.6502, allocations: 441.9 kB / 1.119 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009681/0.6512, allocations: 1.029 MB / 1.12 GB, free: 11.47 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.6513, allocations: 43 kB / 1.12 GB, free: 11.42 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=53): time 2.625e-06/0.6513, allocations: 0 / 1.12 GB, free: 11.42 MB / 0.8731 GB Notification: Performance of matching and sorting (n=53): time 0.008298/0.6596, allocations: 2.147 MB / 1.122 GB, free: 9.246 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.562e-05/0.6596, allocations: 63.78 kB / 1.122 GB, free: 9.172 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001142/0.6608, allocations: 0.9474 MB / 1.123 GB, free: 8.207 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.303e-05/0.6608, allocations: 37.7 kB / 1.123 GB, free: 8.164 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000387/0.6612, allocations: 0.5119 MB / 1.124 GB, free: 7.648 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001532/0.6614, allocations: 181.3 kB / 1.124 GB, free: 7.469 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.205e-05/0.6615, allocations: 49.69 kB / 1.124 GB, free: 7.414 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.6616, allocations: 334 kB / 1.124 GB, free: 7.082 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0011/0.6627, allocations: 380.8 kB / 1.125 GB, free: 6.711 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001226/0.6639, allocations: 0.5382 MB / 1.125 GB, free: 6.113 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002147/0.6661, allocations: 0.8205 MB / 1.126 GB, free: 5.262 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.6661, allocations: 3.938 kB / 1.126 GB, free: 5.258 MB / 0.8731 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002966/0.6691, allocations: 1.131 MB / 1.127 GB, free: 4.113 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 9.558e-05/0.6692, allocations: 172.3 kB / 1.127 GB, free: 3.91 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.6692, allocations: 4 kB / 1.127 GB, free: 3.906 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001278/0.6705, allocations: 326.7 kB / 1.128 GB, free: 3.586 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006853/0.6712, allocations: 147.8 kB / 1.128 GB, free: 3.441 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001485/0.6727, allocations: 0.9348 MB / 1.129 GB, free: 2.48 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001102/0.6738, allocations: 179.2 kB / 1.129 GB, free: 2.305 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.901e-05/0.6739, allocations: 27.98 kB / 1.129 GB, free: 2.277 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 9.278e-06/0.6739, allocations: 5.719 kB / 1.129 GB, free: 2.273 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002843/0.6767, allocations: 1.005 MB / 1.13 GB, free: 1.262 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.6768, allocations: 4.312 kB / 1.13 GB, free: 1.258 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001127/0.6779, allocations: 322.7 kB / 1.13 GB, free: 0.9414 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006494/0.6786, allocations: 139.8 kB / 1.13 GB, free: 0.8047 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001513/0.6801, allocations: 0.9386 MB / 1.131 GB, free: 15.84 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001108/0.6812, allocations: 163.4 kB / 1.131 GB, free: 15.68 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.348e-05/0.6813, allocations: 31.98 kB / 1.131 GB, free: 15.65 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (55): * Single equations (assignments): 54 * 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.0004911/0.6818, allocations: 354.5 kB / 1.132 GB, free: 15.29 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001565/0.6819, allocations: 106.7 kB / 1.132 GB, free: 15.19 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003311/0.6853, allocations: 1.229 MB / 1.133 GB, free: 13.95 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-05/0.6853, allocations: 8 kB / 1.133 GB, free: 13.94 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/0.6853, allocations: 0 / 1.133 GB, free: 13.94 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.6853, allocations: 3.984 kB / 1.133 GB, free: 13.94 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004638/0.6899, allocations: 2.315 MB / 1.135 GB, free: 11.54 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/0.69, allocations: 7.938 kB / 1.135 GB, free: 11.54 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005788/0.6905, allocations: 116 kB / 1.135 GB, free: 11.42 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001091/0.6917, allocations: 328.4 kB / 1.136 GB, free: 11.1 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.121e-05/0.6917, allocations: 19.98 kB / 1.136 GB, free: 11.08 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001538/0.6933, allocations: 0.9634 MB / 1.137 GB, free: 10.09 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.6933, allocations: 4 kB / 1.137 GB, free: 10.09 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003882/0.6972, allocations: 1.405 MB / 1.138 GB, free: 8.637 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004145/0.6976, allocations: 291.4 kB / 1.138 GB, free: 8.332 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001375/0.6977, allocations: 12 kB / 1.138 GB, free: 8.32 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001029/0.6988, allocations: 127.8 kB / 1.138 GB, free: 8.195 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.523e-05/0.6989, allocations: 36.33 kB / 1.139 GB, free: 8.16 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.955e-05/0.6989, allocations: 27.97 kB / 1.139 GB, free: 8.133 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0008837/0.6998, allocations: 0.6753 MB / 1.139 GB, free: 7.449 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.61e-07/0.6998, allocations: 0 / 1.139 GB, free: 7.449 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001389/0.7012, allocations: 0.5691 MB / 1.14 GB, free: 6.879 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.003952/0.7052, allocations: 2.066 MB / 1.142 GB, free: 4.773 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.003999/0.7092, allocations: 1.397 MB / 1.143 GB, free: 3.379 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.7092, allocations: 0 / 1.143 GB, free: 3.379 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001341/0.7106, allocations: 496.8 kB / 1.144 GB, free: 2.895 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002902/0.7135, allocations: 0.4954 MB / 1.144 GB, free: 2.402 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01844/0.7319, allocations: 9.152 MB / 1.153 GB, free: 8.887 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006482/0.7326, allocations: 1.07 MB / 1.154 GB, free: 7.781 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.00106/0.7337, allocations: 239.9 kB / 1.154 GB, free: 7.547 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005661/0.7343, allocations: 419.3 kB / 1.155 GB, free: 7.141 MB / 0.9044 GB Notification: Performance of SimCode: time 6.42e-07/0.7343, allocations: 0 / 1.155 GB, free: 7.141 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05205/0.7863, allocations: 31.62 MB / 1.186 GB, free: 8 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002725/0.7866, allocations: 281.9 kB / 1.186 GB, free: 7.621 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.496/3.283, allocations: 0 / 1.186 GB, free: 7.621 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow.fmu > Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe 2>&1)