Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Validation.Carnot_y_etaPL,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_y_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_y_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.001154/0.001154, 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.001099/0.001099, allocations: 194.6 kB / 16.53 MB, free: 6.699 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.114/1.114, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.306/2.306, allocations: 461.9 MB / 0.7346 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 63.44 kB / 0.8992 GB, free: 36.97 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.228/0.2292, allocations: 157.4 MB / 1.053 GB, free: 8.234 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL): time 0.06518/0.2944, allocations: 75.21 MB / 1.126 GB, free: 12.77 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01542/0.3099, allocations: 12.74 MB / 1.139 GB, free: 0 / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00108/0.311, allocations: 67.67 kB / 1.139 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001553/0.3126, allocations: 0.8345 MB / 1.14 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.004323/0.317, allocations: 2.468 MB / 1.142 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002583/0.3195, allocations: 1.378 MB / 1.143 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003728/0.3233, allocations: 4.381 MB / 1.148 GB, free: 6.859 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001491/0.3248, allocations: 1.441 MB / 1.149 GB, free: 5.379 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002408/0.3272, allocations: 1.607 MB / 1.151 GB, free: 3.773 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001206/0.3284, allocations: 1.206 MB / 1.152 GB, free: 2.562 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002141/0.3286, allocations: 160 kB / 1.152 GB, free: 2.406 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002238/0.3309, allocations: 1.415 MB / 1.153 GB, free: 0.9883 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003237/0.3312, allocations: 398.6 kB / 1.154 GB, free: 0.5977 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0007562/0.332, allocations: 0.9061 MB / 1.155 GB, free: 15.68 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002713/0.3347, allocations: 2.844 MB / 1.157 GB, free: 12.84 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.3347, allocations: 0 / 1.157 GB, free: 12.84 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.082e-06/0.3347, allocations: 4 kB / 1.157 GB, free: 12.83 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.468e-05/0.3348, allocations: 0 / 1.157 GB, free: 12.83 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.003215/0.338, allocations: 2.091 MB / 1.159 GB, free: 10.68 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.338, allocations: 8.625 kB / 1.159 GB, free: 10.67 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001655/0.3382, allocations: 152.1 kB / 1.16 GB, free: 10.51 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007979/0.339, allocations: 230.8 kB / 1.16 GB, free: 10.29 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002073/0.3411, allocations: 1.439 MB / 1.161 GB, free: 8.789 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.075e-05/0.3411, allocations: 81.94 kB / 1.161 GB, free: 8.711 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001453/0.3413, allocations: 104 kB / 1.161 GB, free: 8.609 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001862/0.3432, allocations: 1.1 MB / 1.162 GB, free: 7.473 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.405e-05/0.3432, allocations: 8 kB / 1.163 GB, free: 7.465 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.002e-05/0.3433, allocations: 40 kB / 1.163 GB, free: 7.426 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.1e-05/0.3433, allocations: 28 kB / 1.163 GB, free: 7.398 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001889/0.3452, allocations: 0.886 MB / 1.163 GB, free: 6.516 MB / 0.92 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.005307/0.3505, allocations: 4.958 MB / 1.168 GB, free: 1.27 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00136/0.3519, allocations: 0.6279 MB / 1.169 GB, free: 0.6328 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007207/0.3526, allocations: 346.3 kB / 1.169 GB, free: 300 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005856/0.3532, allocations: 0.8316 MB / 1.17 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/0.3533, allocations: 39.12 kB / 1.17 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=62): time 1.843e-06/0.3533, allocations: 0 / 1.17 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of matching and sorting (n=62): time 0.007507/0.3608, allocations: 1.701 MB / 1.172 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.05e-05/0.3608, allocations: 55.97 kB / 1.172 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001422/0.3623, allocations: 1.222 MB / 1.173 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.703e-05/0.3623, allocations: 41.7 kB / 1.173 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004812/0.3628, allocations: 0.6065 MB / 1.174 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001675/0.363, allocations: 224.8 kB / 1.174 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002126/0.3632, allocations: 150.6 kB / 1.174 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.3633, allocations: 334 kB / 1.174 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000691/0.364, allocations: 292.7 kB / 1.175 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008364/0.3649, allocations: 494.8 kB / 1.175 GB, free: 9.98 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001451/0.3663, allocations: 0.7043 MB / 1.176 GB, free: 9.234 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.3663, allocations: 0 / 1.176 GB, free: 9.234 MB / 0.9356 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004923/0.3713, allocations: 1.285 MB / 1.177 GB, free: 7.938 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.3713, allocations: 8 kB / 1.177 GB, free: 7.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.3713, allocations: 4 kB / 1.177 GB, free: 7.926 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006749/0.372, allocations: 168.6 kB / 1.177 GB, free: 7.758 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005987/0.3726, allocations: 155.8 kB / 1.177 GB, free: 7.605 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008424/0.3735, allocations: 0.7123 MB / 1.178 GB, free: 6.867 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008872/0.3744, allocations: 128.1 kB / 1.178 GB, free: 6.742 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.726e-05/0.3744, allocations: 31.98 kB / 1.178 GB, free: 6.711 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009937/0.3754, allocations: 0.5527 MB / 1.179 GB, free: 6.156 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008235/0.3763, allocations: 491 kB / 1.179 GB, free: 5.605 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001423/0.3777, allocations: 0.7042 MB / 1.18 GB, free: 4.852 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.174e-06/0.3777, allocations: 0 / 1.18 GB, free: 4.852 MB / 0.9356 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004845/0.3826, allocations: 1.269 MB / 1.181 GB, free: 3.57 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 9.748e-06/0.3826, allocations: 12.06 kB / 1.181 GB, free: 3.559 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.3826, allocations: 4 kB / 1.181 GB, free: 3.555 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005805/0.3832, allocations: 152.7 kB / 1.181 GB, free: 3.402 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005793/0.3838, allocations: 155.8 kB / 1.181 GB, free: 3.25 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007951/0.3846, allocations: 0.7201 MB / 1.182 GB, free: 2.504 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008844/0.3855, allocations: 103.4 kB / 1.182 GB, free: 2.402 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.092e-05/0.3856, allocations: 35.98 kB / 1.182 GB, free: 2.367 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (77): * Single equations (assignments): 76 * 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,11)} Notification: Performance of prepare postOptimizeDAE: time 0.000162/0.3857, allocations: 216.1 kB / 1.182 GB, free: 2.148 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000209/0.3859, allocations: 134.3 kB / 1.183 GB, free: 2.016 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004942/0.3909, allocations: 1.291 MB / 1.184 GB, free: 0.707 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-05/0.3909, allocations: 8 kB / 1.184 GB, free: 0.6992 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.3909, allocations: 3.984 kB / 1.184 GB, free: 0.6953 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004429/0.3954, allocations: 1.103 MB / 1.185 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006315/0.4017, allocations: 2.633 MB / 1.187 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/0.4017, allocations: 7.984 kB / 1.187 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004716/0.4022, allocations: 111.8 kB / 1.188 GB, free: 12.69 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005879/0.4028, allocations: 156.8 kB / 1.188 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.377e-05/0.4028, allocations: 20 kB / 1.188 GB, free: 12.51 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007775/0.4036, allocations: 0.7046 MB / 1.188 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.4036, allocations: 7.938 kB / 1.188 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005357/0.409, allocations: 1.703 MB / 1.19 GB, free: 10 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003868/0.4094, allocations: 311.2 kB / 1.19 GB, free: 9.68 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001772/0.4096, allocations: 20 kB / 1.19 GB, free: 9.66 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008185/0.4104, allocations: 47.94 kB / 1.19 GB, free: 9.613 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/0.4105, allocations: 60.25 kB / 1.191 GB, free: 9.555 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.885e-05/0.4106, allocations: 35.95 kB / 1.191 GB, free: 9.52 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001077/0.4117, allocations: 0.8816 MB / 1.191 GB, free: 8.637 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4117, allocations: 0 / 1.191 GB, free: 8.637 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001508/0.4132, allocations: 0.7096 MB / 1.192 GB, free: 7.926 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (chi.con.vol.dynBal.U,chi.eva.vol.dynBal.U) * 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 (55): * Single equations (assignments): 50 * 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,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006376/0.4196, allocations: 2.594 MB / 1.195 GB, free: 5.27 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002645/0.4222, allocations: 1.163 MB / 1.196 GB, free: 4.105 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.4223, allocations: 4 kB / 1.196 GB, free: 4.102 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0008867/0.4232, allocations: 395.6 kB / 1.196 GB, free: 3.719 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003388/0.4266, allocations: 0.8029 MB / 1.197 GB, free: 2.941 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01919/0.4458, allocations: 10.48 MB / 1.207 GB, free: 7.949 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006745/0.4464, allocations: 1.18 MB / 1.208 GB, free: 6.738 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001033/0.4475, allocations: 307 kB / 1.209 GB, free: 6.434 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006309/0.4481, allocations: 0.511 MB / 1.209 GB, free: 5.922 MB / 0.9669 GB Notification: Performance of SimCode: time 4.51e-07/0.4481, allocations: 0 / 1.209 GB, free: 5.922 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9199/1.368, allocations: 42.11 MB / 1.25 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12/13.37, allocations: 10.3 kB / 1.25 GB, free: 186.7 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_y_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_y_etaPL.fmu > Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe 2>&1)