Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_y_etaPL,fileNamePrefix="Buildings_11_Buildings_Fluid_Chillers_Validation_Carnot_y_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL,fileNamePrefix="Buildings_11_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.001724/0.001724, 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.002446/0.002446, allocations: 195.8 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.334/1.334, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.473/2.473, allocations: 469.8 MB / 0.7424 GB, free: 7.422 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001653/0.001653, allocations: 65.25 kB / 0.9087 GB, free: 34.26 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2377/0.2394, allocations: 159.2 MB / 1.064 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL): time 0.07402/0.3134, allocations: 75.21 MB / 1.138 GB, free: 2.777 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01672/0.3302, allocations: 12.73 MB / 1.15 GB, free: 6.016 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001129/0.3313, allocations: 67.62 kB / 1.15 GB, free: 5.949 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001636/0.333, allocations: 0.8306 MB / 1.151 GB, free: 5.113 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.004487/0.3375, allocations: 2.467 MB / 1.153 GB, free: 2.637 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002629/0.3401, allocations: 1.378 MB / 1.155 GB, free: 1.27 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.004273/0.3444, allocations: 4.389 MB / 1.159 GB, free: 12.87 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001635/0.3461, allocations: 1.437 MB / 1.16 GB, free: 11.39 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002575/0.3487, allocations: 1.62 MB / 1.162 GB, free: 9.77 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001309/0.35, allocations: 1.198 MB / 1.163 GB, free: 8.566 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002217/0.3502, allocations: 164 kB / 1.163 GB, free: 8.406 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00236/0.3526, allocations: 1.412 MB / 1.165 GB, free: 6.992 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003634/0.353, allocations: 398.6 kB / 1.165 GB, free: 6.602 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0008414/0.3538, allocations: 0.9099 MB / 1.166 GB, free: 5.688 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.003033/0.3569, allocations: 2.84 MB / 1.169 GB, free: 2.84 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.3569, allocations: 0 / 1.169 GB, free: 2.84 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.051e-06/0.3569, allocations: 0 / 1.169 GB, free: 2.84 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.309e-05/0.3569, allocations: 4 kB / 1.169 GB, free: 2.836 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.003243/0.3601, allocations: 2.083 MB / 1.171 GB, free: 0.6875 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.3602, allocations: 12.03 kB / 1.171 GB, free: 0.6758 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001786/0.3604, allocations: 148.1 kB / 1.171 GB, free: 0.5234 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007215/0.3611, allocations: 234.7 kB / 1.171 GB, free: 300 kB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002123/0.3632, allocations: 1.446 MB / 1.172 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.32e-05/0.3633, allocations: 81.94 kB / 1.173 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001395/0.3634, allocations: 100 kB / 1.173 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001869/0.3653, allocations: 1.104 MB / 1.174 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.109e-05/0.3654, allocations: 0 / 1.174 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.915e-05/0.3654, allocations: 47.98 kB / 1.174 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.508e-05/0.3655, allocations: 31.98 kB / 1.174 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001823/0.3673, allocations: 0.8899 MB / 1.175 GB, free: 12.5 MB / 0.9356 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.005718/0.373, allocations: 4.95 MB / 1.179 GB, free: 7.262 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001356/0.3744, allocations: 0.6322 MB / 1.18 GB, free: 6.625 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007251/0.3752, allocations: 347.1 kB / 1.18 GB, free: 6.285 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007046/0.3759, allocations: 0.8277 MB / 1.181 GB, free: 5.273 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.656e-05/0.3759, allocations: 47.11 kB / 1.181 GB, free: 5.215 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=62): time 1.894e-06/0.3759, allocations: 0 / 1.181 GB, free: 5.215 MB / 0.9356 GB Notification: Performance of matching and sorting (n=62): time 0.006877/0.3828, allocations: 1.693 MB / 1.183 GB, free: 3.496 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.819e-05/0.3829, allocations: 59.97 kB / 1.183 GB, free: 3.426 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001514/0.3844, allocations: 1.229 MB / 1.184 GB, free: 2.18 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.515e-05/0.3844, allocations: 37.7 kB / 1.184 GB, free: 2.137 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005194/0.385, allocations: 0.5988 MB / 1.185 GB, free: 1.531 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001937/0.3852, allocations: 228.8 kB / 1.185 GB, free: 1.305 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000226/0.3854, allocations: 150.6 kB / 1.185 GB, free: 1.152 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.3856, allocations: 337.9 kB / 1.185 GB, free: 0.8164 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006699/0.3862, allocations: 292.7 kB / 1.186 GB, free: 0.5273 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008371/0.3871, allocations: 491 kB / 1.186 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001401/0.3885, allocations: 0.7043 MB / 1.187 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.3885, allocations: 0 / 1.187 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004463/0.393, allocations: 1.281 MB / 1.188 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.393, allocations: 12.06 kB / 1.188 GB, free: 13.92 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.393, allocations: 0 / 1.188 GB, free: 13.92 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006338/0.3937, allocations: 168.6 kB / 1.188 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005456/0.3942, allocations: 155.8 kB / 1.188 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008738/0.3951, allocations: 0.72 MB / 1.189 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00082/0.3959, allocations: 127 kB / 1.189 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.198e-05/0.396, allocations: 35.98 kB / 1.189 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009832/0.397, allocations: 0.5448 MB / 1.19 GB, free: 12.15 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008197/0.3978, allocations: 497.7 kB / 1.19 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001358/0.3992, allocations: 0.7003 MB / 1.191 GB, free: 10.85 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.993e-06/0.3992, allocations: 4 kB / 1.191 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004399/0.4036, allocations: 1.265 MB / 1.192 GB, free: 9.566 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/0.4036, allocations: 8.375 kB / 1.192 GB, free: 9.559 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.4036, allocations: 8 kB / 1.192 GB, free: 9.551 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000541/0.4042, allocations: 152.7 kB / 1.192 GB, free: 9.398 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005346/0.4047, allocations: 159.8 kB / 1.193 GB, free: 9.242 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008316/0.4056, allocations: 0.7161 MB / 1.193 GB, free: 8.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007988/0.4064, allocations: 105.8 kB / 1.193 GB, free: 8.398 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.738e-05/0.4064, allocations: 31.98 kB / 1.193 GB, free: 8.367 MB / 0.9512 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.0001876/0.4066, allocations: 220.1 kB / 1.194 GB, free: 8.145 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002114/0.4068, allocations: 134.3 kB / 1.194 GB, free: 8.012 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004487/0.4113, allocations: 1.283 MB / 1.195 GB, free: 6.703 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.881e-05/0.4114, allocations: 7.984 kB / 1.195 GB, free: 6.695 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.4114, allocations: 4 kB / 1.195 GB, free: 6.691 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004017/0.4154, allocations: 1.103 MB / 1.196 GB, free: 5.559 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006092/0.4215, allocations: 2.633 MB / 1.199 GB, free: 2.809 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.744e-06/0.4215, allocations: 4 kB / 1.199 GB, free: 2.805 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004326/0.422, allocations: 119.8 kB / 1.199 GB, free: 2.688 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005331/0.4225, allocations: 148.7 kB / 1.199 GB, free: 2.539 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.036e-05/0.4225, allocations: 16 kB / 1.199 GB, free: 2.523 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008082/0.4234, allocations: 0.7163 MB / 1.2 GB, free: 1.781 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/0.4234, allocations: 7.938 kB / 1.2 GB, free: 1.773 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005011/0.4284, allocations: 1.699 MB / 1.201 GB, free: 8 kB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004187/0.4288, allocations: 311.2 kB / 1.202 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001589/0.429, allocations: 16.06 kB / 1.202 GB, free: 15.67 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007147/0.4297, allocations: 55.94 kB / 1.202 GB, free: 15.61 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/0.4298, allocations: 56.25 kB / 1.202 GB, free: 15.56 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.692e-05/0.4299, allocations: 35.97 kB / 1.202 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001126/0.431, allocations: 0.8855 MB / 1.203 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.431, allocations: 0 / 1.203 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001539/0.4326, allocations: 0.7057 MB / 1.203 GB, free: 13.93 MB / 0.9669 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.006037/0.4386, allocations: 2.612 MB / 1.206 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.00262/0.4413, allocations: 1.16 MB / 1.207 GB, free: 10.1 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.4413, allocations: 4 kB / 1.207 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0008574/0.4421, allocations: 391.5 kB / 1.207 GB, free: 9.711 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003139/0.4453, allocations: 0.7955 MB / 1.208 GB, free: 8.934 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01839/0.4637, allocations: 10.49 MB / 1.218 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007792/0.4645, allocations: 1.176 MB / 1.22 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0009721/0.4655, allocations: 303 kB / 1.22 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006651/0.4661, allocations: 0.511 MB / 1.22 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of SimCode: time 4.11e-07/0.4661, allocations: 3.938 kB / 1.22 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.335/1.801, allocations: 42.09 MB / 1.261 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.08/19.88, allocations: 11.06 kB / 1.261 GB, free: 178.8 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; mkfifo Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe >> ../files/Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Chillers_Validation_Carnot_y_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Chillers_Validation_Carnot_y_etaPL.fmu > Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe 2>&1)