Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.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_etaPL,fileNamePrefix="Buildings_10_Buildings_Fluid_Chillers_Validation_Carnot_TEva_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL,fileNamePrefix="Buildings_10_Buildings_Fluid_Chillers_Validation_Carnot_TEva_etaPL",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.0008076/0.0008076, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.004878/0.004878, allocations: 170.9 kB / 16.27 MB, free: 6.652 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.14/1.14, allocations: 223.3 MB / 240.3 MB, free: 5.355 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.158/2.158, allocations: 437.8 MB / 0.7121 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002763/0.0002762, allocations: 12 kB / 0.8729 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4661/0.4664, allocations: 153.8 MB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL): time 0.048/0.5145, allocations: 59.77 MB / 1.081 GB, free: 3.891 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01271/0.5272, allocations: 11.93 MB / 1.093 GB, free: 7.938 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007202/0.5279, allocations: 55.62 kB / 1.093 GB, free: 7.883 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001061/0.529, allocations: 0.5477 MB / 1.094 GB, free: 7.332 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.002891/0.5319, allocations: 1.808 MB / 1.095 GB, free: 5.52 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001786/0.5337, allocations: 1.071 MB / 1.097 GB, free: 4.457 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.002984/0.5367, allocations: 3.894 MB / 1.1 GB, free: 0.5508 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009325/0.5376, allocations: 0.9019 MB / 1.101 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001393/0.5391, allocations: 1.116 MB / 1.102 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008204/0.5399, allocations: 0.8553 MB / 1.103 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.611e-05/0.54, allocations: 44 kB / 1.103 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001759/0.5417, allocations: 1.36 MB / 1.105 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000178/0.5419, allocations: 218.9 kB / 1.105 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004692/0.5424, allocations: 0.6311 MB / 1.105 GB, free: 11.37 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001873/0.5443, allocations: 2.22 MB / 1.108 GB, free: 9.145 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.145e-06/0.5443, allocations: 0 / 1.108 GB, free: 9.145 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.432e-06/0.5443, allocations: 0 / 1.108 GB, free: 9.145 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.342e-05/0.5443, allocations: 0 / 1.108 GB, free: 9.145 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.002118/0.5464, allocations: 1.505 MB / 1.109 GB, free: 7.582 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.5465, allocations: 16.03 kB / 1.109 GB, free: 7.566 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001237/0.5466, allocations: 118.9 kB / 1.109 GB, free: 7.441 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001464/0.5481, allocations: 383 kB / 1.109 GB, free: 7.066 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001612/0.5497, allocations: 1.128 MB / 1.111 GB, free: 5.879 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003183/0.55, allocations: 125.9 kB / 1.111 GB, free: 5.758 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001019/0.5501, allocations: 80 kB / 1.111 GB, free: 5.68 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001599/0.5518, allocations: 0.9778 MB / 1.112 GB, free: 4.656 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.5518, allocations: 0 / 1.112 GB, free: 4.656 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.658e-05/0.5518, allocations: 32 kB / 1.112 GB, free: 4.625 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.508e-05/0.5519, allocations: 20 kB / 1.112 GB, free: 4.605 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001838/0.5537, allocations: 0.847 MB / 1.113 GB, free: 3.762 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.004914/0.5586, allocations: 4.812 MB / 1.117 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001366/0.56, allocations: 0.6116 MB / 1.118 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005597/0.5606, allocations: 288.7 kB / 1.118 GB, free: 13.69 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001186/0.5618, allocations: 1.396 MB / 1.12 GB, free: 12 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.5618, allocations: 46.5 kB / 1.12 GB, free: 11.94 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=44): time 1.522e-06/0.5618, allocations: 0 / 1.12 GB, free: 11.94 MB / 0.8731 GB Notification: Performance of matching and sorting (n=44): time 0.005362/0.5672, allocations: 1.684 MB / 1.121 GB, free: 10.23 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.741e-05/0.5672, allocations: 55.41 kB / 1.121 GB, free: 10.16 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001229/0.5685, allocations: 1.059 MB / 1.122 GB, free: 9.086 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.109e-05/0.5685, allocations: 33.7 kB / 1.122 GB, free: 9.047 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003515/0.5689, allocations: 0.5158 MB / 1.123 GB, free: 8.527 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001058/0.569, allocations: 157.7 kB / 1.123 GB, free: 8.371 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.519e-05/0.5691, allocations: 53.7 kB / 1.123 GB, free: 8.312 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.5692, allocations: 330 kB / 1.123 GB, free: 7.984 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006923/0.5699, allocations: 284.9 kB / 1.124 GB, free: 7.707 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008218/0.5707, allocations: 0.4918 MB / 1.124 GB, free: 7.137 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001286/0.572, allocations: 0.6579 MB / 1.125 GB, free: 6.426 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.622e-06/0.572, allocations: 7.938 kB / 1.125 GB, free: 6.418 MB / 0.8731 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002101/0.5741, allocations: 0.9688 MB / 1.126 GB, free: 5.438 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.000102/0.5742, allocations: 205.9 kB / 1.126 GB, free: 5.184 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.5742, allocations: 7.984 kB / 1.126 GB, free: 5.176 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001122/0.5754, allocations: 338.8 kB / 1.126 GB, free: 4.844 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003979/0.5758, allocations: 111.8 kB / 1.126 GB, free: 4.734 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00132/0.5771, allocations: 0.9464 MB / 1.127 GB, free: 3.762 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009638/0.5781, allocations: 176.8 kB / 1.127 GB, free: 3.59 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.494e-05/0.5781, allocations: 35.98 kB / 1.127 GB, free: 3.555 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 4.228e-06/0.5781, allocations: 0 / 1.127 GB, free: 3.555 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001942/0.5801, allocations: 0.851 MB / 1.128 GB, free: 2.699 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.5801, allocations: 4 kB / 1.128 GB, free: 2.695 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009719/0.5811, allocations: 338.8 kB / 1.129 GB, free: 2.363 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000394/0.5815, allocations: 115.8 kB / 1.129 GB, free: 2.25 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001261/0.5828, allocations: 0.931 MB / 1.13 GB, free: 1.293 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008293/0.5836, allocations: 151.3 kB / 1.13 GB, free: 1.145 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.322e-05/0.5837, allocations: 31.98 kB / 1.13 GB, free: 1.113 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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.0003322/0.584, allocations: 349 kB / 1.13 GB, free: 0.7617 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001233/0.5841, allocations: 110.7 kB / 1.13 GB, free: 0.6523 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001973/0.5861, allocations: 0.9476 MB / 1.131 GB, free: 15.69 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/0.5861, allocations: 8 kB / 1.131 GB, free: 15.68 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.5861, allocations: 0 / 1.131 GB, free: 15.68 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.5861, allocations: 3.984 kB / 1.131 GB, free: 15.68 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004979/0.5911, allocations: 2.331 MB / 1.133 GB, free: 13.26 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.5911, allocations: 3.984 kB / 1.133 GB, free: 13.26 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001921/0.5913, allocations: 67.89 kB / 1.134 GB, free: 13.19 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009152/0.5923, allocations: 320.9 kB / 1.134 GB, free: 12.88 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.938e-05/0.5923, allocations: 15.98 kB / 1.134 GB, free: 12.86 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001314/0.5936, allocations: 0.9787 MB / 1.135 GB, free: 11.86 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.5936, allocations: 4.062 kB / 1.135 GB, free: 11.85 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003794/0.5974, allocations: 1.368 MB / 1.136 GB, free: 10.43 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002945/0.5977, allocations: 275.4 kB / 1.136 GB, free: 10.14 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001057/0.5979, allocations: 15.94 kB / 1.136 GB, free: 10.13 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007408/0.5986, allocations: 103.8 kB / 1.137 GB, free: 10.03 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.37e-05/0.5987, allocations: 43.88 kB / 1.137 GB, free: 9.984 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.758e-05/0.5987, allocations: 20 kB / 1.137 GB, free: 9.965 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0009162/0.5996, allocations: 0.7469 MB / 1.137 GB, free: 9.211 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5997, allocations: 0 / 1.137 GB, free: 9.211 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001093/0.6008, allocations: 0.5731 MB / 1.138 GB, free: 8.637 MB / 0.8887 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 (34): * Single equations (assignments): 29 * 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.003904/0.6047, allocations: 2.053 MB / 1.14 GB, free: 6.539 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.00235/0.607, allocations: 1.075 MB / 1.141 GB, free: 5.469 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.607, allocations: 0 / 1.141 GB, free: 5.469 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0006847/0.6077, allocations: 331.2 kB / 1.141 GB, free: 5.148 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002323/0.6101, allocations: 0.4999 MB / 1.142 GB, free: 4.648 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01366/0.6237, allocations: 8.777 MB / 1.15 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005251/0.6243, allocations: 1.061 MB / 1.151 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0006607/0.6249, allocations: 224.6 kB / 1.152 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004384/0.6254, allocations: 407.3 kB / 1.152 GB, free: 9.719 MB / 0.9044 GB Notification: Performance of SimCode: time 2.3e-07/0.6254, allocations: 0 / 1.152 GB, free: 9.719 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.022/2.647, allocations: 32.42 MB / 1.184 GB, free: 9.762 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004272/2.648, allocations: 282.4 kB / 1.184 GB, free: 9.375 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.477/5.124, allocations: 0 / 1.184 GB, free: 9.375 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe ; mkfifo Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe >> ../files/Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Chillers_Validation_Carnot_TEva_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Chillers_Validation_Carnot_TEva_etaPL.fmu > Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe 2>&1)