Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Carnot_y_etaPL,fileNamePrefix="Buildings_9_Buildings_Fluid_Chillers_Validation_Carnot_y_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL,fileNamePrefix="Buildings_9_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.003997/0.003997, allocations: 107.9 kB / 15.74 MB, free: 5.578 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.001012/0.001012, allocations: 189.5 kB / 16.67 MB, free: 5.516 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.278/1.278, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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.104/2.104, allocations: 390.3 MB / 0.6648 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001078/0.001078, allocations: 63.91 kB / 0.9504 GB, free: 8.141 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5907/0.5918, allocations: 140.4 MB / 1.087 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL): time 0.06164/0.6535, allocations: 75.19 MB / 1.161 GB, free: 15.32 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0154/0.6689, allocations: 12.77 MB / 1.173 GB, free: 6.125 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001609/0.6706, allocations: 67.25 kB / 1.173 GB, free: 6.102 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001662/0.6722, allocations: 0.8309 MB / 1.174 GB, free: 5.578 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.004816/0.6771, allocations: 2.456 MB / 1.177 GB, free: 4.098 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.00279/0.6799, allocations: 1.39 MB / 1.178 GB, free: 3.297 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.004067/0.684, allocations: 4.397 MB / 1.182 GB, free: 0.7852 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001471/0.6854, allocations: 1.43 MB / 1.184 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00245/0.6879, allocations: 1.623 MB / 1.185 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001155/0.6891, allocations: 1.196 MB / 1.186 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001858/0.6893, allocations: 166.5 kB / 1.187 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002373/0.6916, allocations: 1.418 MB / 1.188 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002975/0.692, allocations: 402.6 kB / 1.188 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0007211/0.6927, allocations: 0.9114 MB / 1.189 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002656/0.6953, allocations: 2.868 MB / 1.192 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.6954, allocations: 0 / 1.192 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.432e-06/0.6954, allocations: 1.094 kB / 1.192 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.39e-05/0.6954, allocations: 0 / 1.192 GB, free: 10.49 MB / 0.9356 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.002997/0.6984, allocations: 2.082 MB / 1.194 GB, free: 8.906 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.126e-05/0.6984, allocations: 16.66 kB / 1.194 GB, free: 8.898 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001465/0.6986, allocations: 145.4 kB / 1.194 GB, free: 8.781 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007067/0.6993, allocations: 229.8 kB / 1.194 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002108/0.7014, allocations: 1.531 MB / 1.196 GB, free: 7.461 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.677e-05/0.7015, allocations: 76.5 kB / 1.196 GB, free: 7.43 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000136/0.7016, allocations: 100.2 kB / 1.196 GB, free: 7.398 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001691/0.7033, allocations: 1.104 MB / 1.197 GB, free: 6.711 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.452e-05/0.7033, allocations: 1.312 kB / 1.197 GB, free: 6.711 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.333e-05/0.7034, allocations: 36.94 kB / 1.197 GB, free: 6.684 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.74e-05/0.7035, allocations: 25.09 kB / 1.197 GB, free: 6.684 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001713/0.7052, allocations: 0.891 MB / 1.198 GB, free: 6.234 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.004829/0.71, allocations: 4.922 MB / 1.203 GB, free: 1.984 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001219/0.7112, allocations: 0.632 MB / 1.204 GB, free: 1.672 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006575/0.7119, allocations: 348.2 kB / 1.204 GB, free: 1.508 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005196/0.7124, allocations: 0.8331 MB / 1.205 GB, free: 0.5352 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/0.7125, allocations: 42.42 kB / 1.205 GB, free: 500 kB / 0.9356 GB Notification: Performance of pre-optimization done (n=62): time 2.816e-06/0.7125, allocations: 0 / 1.205 GB, free: 500 kB / 0.9356 GB Notification: Performance of matching and sorting (n=62): time 0.006649/0.7191, allocations: 1.696 MB / 1.206 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.982e-05/0.7192, allocations: 57.22 kB / 1.206 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001322/0.7205, allocations: 1.224 MB / 1.208 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 6.568e-05/0.7206, allocations: 42.98 kB / 1.208 GB, free: 14.81 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004188/0.721, allocations: 0.5964 MB / 1.208 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001653/0.7212, allocations: 224.1 kB / 1.209 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002034/0.7214, allocations: 151.6 kB / 1.209 GB, free: 14 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.151e-05/0.7215, allocations: 332.8 kB / 1.209 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000633/0.7221, allocations: 292 kB / 1.209 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007641/0.7229, allocations: 490.4 kB / 1.21 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001317/0.7242, allocations: 0.7099 MB / 1.21 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.7242, allocations: 3.938 kB / 1.21 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004401/0.7286, allocations: 1.287 MB / 1.212 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.7287, allocations: 7.438 kB / 1.212 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.7287, allocations: 6.531 kB / 1.212 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006076/0.7293, allocations: 154.5 kB / 1.212 GB, free: 11.97 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005325/0.7298, allocations: 159.9 kB / 1.212 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007528/0.7306, allocations: 0.7173 MB / 1.213 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008054/0.7314, allocations: 120 kB / 1.213 GB, free: 11.22 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.625e-05/0.7315, allocations: 27.75 kB / 1.213 GB, free: 11.22 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008868/0.7324, allocations: 0.5559 MB / 1.213 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007344/0.7331, allocations: 485.9 kB / 1.214 GB, free: 10.51 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001279/0.7344, allocations: 0.7055 MB / 1.215 GB, free: 10.06 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.655e-06/0.7344, allocations: 1.219 kB / 1.215 GB, free: 10.06 MB / 0.9512 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004341/0.7388, allocations: 1.27 MB / 1.216 GB, free: 9.426 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 8.917e-06/0.7388, allocations: 7.281 kB / 1.216 GB, free: 9.426 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.483e-06/0.7388, allocations: 7.266 kB / 1.216 GB, free: 9.422 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005123/0.7393, allocations: 153.5 kB / 1.216 GB, free: 9.352 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005155/0.7398, allocations: 160 kB / 1.216 GB, free: 9.309 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000698/0.7406, allocations: 0.7139 MB / 1.217 GB, free: 8.582 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007817/0.7413, allocations: 99.52 kB / 1.217 GB, free: 8.484 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.337e-05/0.7414, allocations: 31.98 kB / 1.217 GB, free: 8.453 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.0001586/0.7416, allocations: 228 kB / 1.217 GB, free: 8.223 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001858/0.7418, allocations: 130.4 kB / 1.217 GB, free: 8.094 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004329/0.7461, allocations: 1.291 MB / 1.218 GB, free: 6.789 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.13e-05/0.7461, allocations: 8 kB / 1.219 GB, free: 6.781 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.7461, allocations: 0 / 1.219 GB, free: 6.781 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003917/0.7501, allocations: 1.111 MB / 1.22 GB, free: 5.633 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005631/0.7557, allocations: 2.626 MB / 1.222 GB, free: 2.898 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/0.7557, allocations: 12.02 kB / 1.222 GB, free: 2.887 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004253/0.7561, allocations: 111.8 kB / 1.222 GB, free: 2.777 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000508/0.7567, allocations: 144.7 kB / 1.222 GB, free: 2.633 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.104e-05/0.7567, allocations: 23.98 kB / 1.222 GB, free: 2.609 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00068/0.7574, allocations: 0.7084 MB / 1.223 GB, free: 1.875 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.7574, allocations: 4 kB / 1.223 GB, free: 1.871 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004708/0.7621, allocations: 1.707 MB / 1.225 GB, free: 96 kB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003986/0.7625, allocations: 311.2 kB / 1.225 GB, free: 15.77 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001422/0.7627, allocations: 20.06 kB / 1.225 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007171/0.7634, allocations: 59.84 kB / 1.225 GB, free: 15.69 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.172e-05/0.7635, allocations: 52.31 kB / 1.225 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.237e-05/0.7636, allocations: 35.98 kB / 1.225 GB, free: 15.61 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0009367/0.7645, allocations: 0.8816 MB / 1.226 GB, free: 14.72 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7645, allocations: 0 / 1.226 GB, free: 14.72 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001447/0.766, allocations: 0.7096 MB / 1.227 GB, free: 14.01 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.005604/0.7716, allocations: 2.608 MB / 1.229 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.00217/0.7738, allocations: 1.129 MB / 1.23 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.7738, allocations: 4 kB / 1.23 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0007802/0.7746, allocations: 383.6 kB / 1.231 GB, free: 9.836 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002948/0.7775, allocations: 0.7894 MB / 1.232 GB, free: 9.051 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01654/0.7941, allocations: 9.839 MB / 1.241 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005863/0.7947, allocations: 1.168 MB / 1.242 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0007939/0.7955, allocations: 299 kB / 1.243 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005561/0.796, allocations: 0.5188 MB / 1.243 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of SimCode: time 2.61e-07/0.796, allocations: 4 kB / 1.243 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9058/1.702, allocations: 42.32 MB / 1.284 GB, free: 3.133 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.64/15.34, allocations: 0 / 1.284 GB, free: 3.133 MB / 1.014 GB (rm -f Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Chillers_Validation_Carnot_y_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Chillers_Validation_Carnot_y_etaPL.fmu > Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe 2>&1)