Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Validation_Carnot_y_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL,fileNamePrefix="IBPSA_latest_IBPSA_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.0008678/0.0008678, allocations: 96.03 kB / 15.68 MB, free: 488 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.0008721/0.0008721, allocations: 174.5 kB / 16.57 MB, free: 6.855 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.244/1.244, allocations: 223.2 MB / 240.5 MB, free: 5.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.62/0.62, allocations: 113.7 MB / 405.3 MB, free: 4.684 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003382/0.0003382, allocations: 13.73 kB / 493 MB, free: 8.633 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.1328, allocations: 77.11 MB / 0.5567 GB, free: 11.72 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL): time 0.2512/0.384, allocations: 62.93 MB / 0.6182 GB, free: 388 kB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01398/0.398, allocations: 11 MB / 0.6289 GB, free: 8.539 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001958/0.4, allocations: 53.91 kB / 0.629 GB, free: 8.516 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002211/0.4022, allocations: 0.7491 MB / 0.6297 GB, free: 8.09 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006196/0.4085, allocations: 2.302 MB / 0.6319 GB, free: 6.586 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004049/0.4125, allocations: 1.527 MB / 0.6334 GB, free: 5.625 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.005261/0.4178, allocations: 2.504 MB / 0.6359 GB, free: 3.969 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002292/0.4201, allocations: 1.035 MB / 0.6369 GB, free: 3.34 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003693/0.4238, allocations: 1.152 MB / 0.638 GB, free: 2.625 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002579/0.4264, allocations: 0.7771 MB / 0.6388 GB, free: 2.168 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004457/0.4269, allocations: 56.09 kB / 0.6388 GB, free: 2.168 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00407/0.431, allocations: 0.8469 MB / 0.6396 GB, free: 1.82 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005825/0.4316, allocations: 259.4 kB / 0.6399 GB, free: 1.633 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001008/0.4326, allocations: 355 kB / 0.6402 GB, free: 1.43 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003527/0.4361, allocations: 2.032 MB / 0.6422 GB, free: 24 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.4361, allocations: 4 kB / 0.6422 GB, free: 20 kB / 462.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4361, allocations: 0 / 0.6422 GB, free: 20 kB / 462.1 MB Notification: Performance of Transformations before backend: time 7.429e-05/0.4362, allocations: 0 / 0.6422 GB, free: 20 kB / 462.1 MB 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.0036/0.4398, allocations: 1.783 MB / 0.644 GB, free: 14.67 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.4399, allocations: 13.42 kB / 0.644 GB, free: 14.66 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002493/0.4401, allocations: 142.6 kB / 0.6441 GB, free: 14.55 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00081/0.441, allocations: 243 kB / 0.6443 GB, free: 14.43 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002308/0.4433, allocations: 1.378 MB / 0.6457 GB, free: 13.33 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.798e-05/0.4433, allocations: 72.34 kB / 0.6458 GB, free: 13.3 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001359/0.4435, allocations: 105.4 kB / 0.6459 GB, free: 13.27 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001748/0.4452, allocations: 1.108 MB / 0.6469 GB, free: 12.58 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.186e-05/0.4453, allocations: 0 / 0.6469 GB, free: 12.58 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.249e-05/0.4454, allocations: 40.66 kB / 0.647 GB, free: 12.55 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.792e-05/0.4454, allocations: 28.94 kB / 0.647 GB, free: 12.55 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001717/0.4471, allocations: 0.9261 MB / 0.6479 GB, free: 12.1 MB / 478.1 MB 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.005293/0.4524, allocations: 4.974 MB / 0.6528 GB, free: 7.312 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00124/0.4537, allocations: 0.656 MB / 0.6534 GB, free: 6.648 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005188/0.4542, allocations: 0.8277 MB / 0.6542 GB, free: 5.637 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.4542, allocations: 39.12 kB / 0.6543 GB, free: 5.59 MB / 478.1 MB Notification: Performance of pre-optimization done (n=62): time 1.654e-06/0.4542, allocations: 4 kB / 0.6543 GB, free: 5.586 MB / 478.1 MB Notification: Performance of matching and sorting (n=62): time 0.006527/0.4608, allocations: 1.877 MB / 0.6561 GB, free: 3.684 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.833e-05/0.4608, allocations: 63.97 kB / 0.6562 GB, free: 3.609 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001373/0.4622, allocations: 1.249 MB / 0.6574 GB, free: 2.344 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.99e-05/0.4623, allocations: 37.7 kB / 0.6574 GB, free: 2.301 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004127/0.4627, allocations: 0.6026 MB / 0.658 GB, free: 1.691 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001632/0.4628, allocations: 220.9 kB / 0.6582 GB, free: 1.473 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.081e-05/0.4629, allocations: 15.94 kB / 0.6582 GB, free: 1.457 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.452e-05/0.463, allocations: 337.9 kB / 0.6585 GB, free: 1.121 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006011/0.4636, allocations: 297.8 kB / 0.6588 GB, free: 0.832 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000707/0.4643, allocations: 0.495 MB / 0.6593 GB, free: 272 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006641/0.465, allocations: 355.1 kB / 0.6597 GB, free: 15.91 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.465, allocations: 0 / 0.6597 GB, free: 15.91 MB / 494.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00424/0.4692, allocations: 1.41 MB / 0.661 GB, free: 14.49 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003506/0.4696, allocations: 1.334 MB / 0.6623 GB, free: 13.07 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.4696, allocations: 4 kB / 0.6623 GB, free: 13.07 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00061/0.4702, allocations: 172.6 kB / 0.6625 GB, free: 12.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005477/0.4708, allocations: 163.8 kB / 0.6627 GB, free: 12.74 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007297/0.4715, allocations: 0.7202 MB / 0.6634 GB, free: 11.99 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009929/0.4725, allocations: 167 kB / 0.6635 GB, free: 11.83 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.106e-05/0.4726, allocations: 35.98 kB / 0.6636 GB, free: 11.79 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.765e-06/0.4726, allocations: 4 kB / 0.6636 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004008/0.4766, allocations: 1.261 MB / 0.6648 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.4767, allocations: 4 kB / 0.6648 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005222/0.4772, allocations: 166.5 kB / 0.6649 GB, free: 10.36 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005331/0.4777, allocations: 163.8 kB / 0.6651 GB, free: 10.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006953/0.4784, allocations: 0.7279 MB / 0.6658 GB, free: 9.441 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009387/0.4794, allocations: 158.5 kB / 0.666 GB, free: 9.289 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.656e-05/0.4795, allocations: 39.98 kB / 0.666 GB, free: 9.25 MB / 494.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 11} Notification: Performance of prepare postOptimizeDAE: time 0.0004541/0.4799, allocations: 424.8 kB / 0.6664 GB, free: 8.824 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001713/0.4801, allocations: 130.4 kB / 0.6665 GB, free: 8.695 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004207/0.4843, allocations: 1.409 MB / 0.6679 GB, free: 7.262 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/0.4843, allocations: 8 kB / 0.6679 GB, free: 7.254 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/0.4843, allocations: 4 kB / 0.6679 GB, free: 7.25 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0038/0.4881, allocations: 1.244 MB / 0.6691 GB, free: 5.977 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005718/0.4939, allocations: 2.774 MB / 0.6718 GB, free: 3.09 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.151e-06/0.4939, allocations: 4 kB / 0.6719 GB, free: 3.086 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004377/0.4943, allocations: 120.3 kB / 0.672 GB, free: 2.969 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005106/0.4949, allocations: 165.7 kB / 0.6721 GB, free: 2.805 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.045e-05/0.4949, allocations: 20 kB / 0.6721 GB, free: 2.785 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000671/0.4956, allocations: 0.7211 MB / 0.6728 GB, free: 2.039 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.4956, allocations: 7.938 kB / 0.6729 GB, free: 2.031 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004738/0.5003, allocations: 2.058 MB / 0.6749 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004983/0.5009, allocations: 339.1 kB / 0.6752 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001781/0.501, allocations: 27.92 kB / 0.6752 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008122/0.5019, allocations: 99.81 kB / 0.6753 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.178e-05/0.502, allocations: 48.33 kB / 0.6754 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.479e-05/0.502, allocations: 35.92 kB / 0.6754 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001022/0.5031, allocations: 0.9011 MB / 0.6763 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5031, allocations: 0 / 0.6763 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001609/0.5047, allocations: 0.7057 MB / 0.677 GB, free: 13.59 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.005782/0.5105, allocations: 3.876 MB / 0.6807 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00226/0.5127, allocations: 1.16 MB / 0.6819 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.5128, allocations: 8.125 kB / 0.6819 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007925/0.5135, allocations: 411.1 kB / 0.6823 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003034/0.5166, allocations: 0.7457 MB / 0.683 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005041/0.5216, allocations: 5.782 MB / 0.6887 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006308/0.5223, allocations: 1.2 MB / 0.6898 GB, free: 128 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001073/0.5234, allocations: 307 kB / 0.6901 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005778/0.524, allocations: 0.5032 MB / 0.6906 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of SimCode: time 6.91e-07/0.524, allocations: 0 / 0.6906 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.067/5.591, allocations: 41.81 MB / 0.7314 GB, free: 6.035 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002704/5.591, allocations: 246 kB / 0.7317 GB, free: 5.754 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.362/7.953, allocations: 0 / 0.7317 GB, free: 5.754 MB / 0.545 GB (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Chillers_Validation_Carnot_y_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Chillers_Validation_Carnot_y_etaPL.fmu > IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe 2>&1) Environment - environmentSimulation: