Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001615/0.001615, allocations: 181.8 kB / 15.76 MB, free: 6.359 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5153/0.5153, allocations: 91.98 MB / 108.5 MB, free: 13.07 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.533/1.533, allocations: 223.2 MB / 354.3 MB, free: 12.2 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009059/0.0009061, allocations: 96.27 kB / 427.3 MB, free: 3.961 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003131/0.0003131, allocations: 8 kB / 0.4983 GB, free: 42.23 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1496, allocations: 72.31 MB / 0.5689 GB, free: 1.855 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.076/1.225, allocations: 389.5 MB / 0.9493 GB, free: 77.85 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002965/1.226, allocations: 92.2 kB / 0.9494 GB, free: 77.8 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.2/6.425, allocations: 1.31 GB / 2.259 GB, free: 47.32 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.134e-06/6.425, allocations: 0 / 2.259 GB, free: 47.32 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0003301/6.426, allocations: 69.78 kB / 2.259 GB, free: 47.32 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 388 * Number of variables: 388 Notification: Performance of Generate backend data structure: time 0.009784/6.435, allocations: 3.12 MB / 2.263 GB, free: 46.14 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.336e-05/6.435, allocations: 11.53 kB / 2.263 GB, free: 46.14 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006017/6.436, allocations: 220.1 kB / 2.263 GB, free: 46.09 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004713/6.441, allocations: 0.8883 MB / 2.264 GB, free: 45.95 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007347/6.448, allocations: 2.598 MB / 2.266 GB, free: 45.5 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001018/6.449, allocations: 321.5 kB / 2.266 GB, free: 45.5 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003451/6.449, allocations: 157.9 kB / 2.267 GB, free: 45.5 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004732/6.454, allocations: 1.973 MB / 2.269 GB, free: 45.27 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.805e-05/6.454, allocations: 4.719 kB / 2.269 GB, free: 45.27 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001657/6.454, allocations: 62.64 kB / 2.269 GB, free: 45.27 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.22e-05/6.455, allocations: 65.16 kB / 2.269 GB, free: 45.26 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004452/6.459, allocations: 1.865 MB / 2.27 GB, free: 45.25 MB / 0.6511 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.01455/6.474, allocations: 8.831 MB / 2.279 GB, free: 41.26 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004315/6.478, allocations: 1.366 MB / 2.28 GB, free: 41.21 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001077/6.479, allocations: 1.731 MB / 2.282 GB, free: 39.24 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.575e-05/6.479, allocations: 44.31 kB / 2.282 GB, free: 39.2 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=79): time 3.647e-06/6.479, allocations: 0 / 2.282 GB, free: 39.2 MB / 0.6511 GB Notification: Performance of matching and sorting (n=79): time 0.0212/6.5, allocations: 4.42 MB / 2.286 GB, free: 38.81 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.959e-05/6.5, allocations: 84.7 kB / 2.287 GB, free: 38.71 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004645/6.505, allocations: 2.275 MB / 2.289 GB, free: 38.5 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0003574/6.505, allocations: 43.08 kB / 2.289 GB, free: 38.47 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009086/6.506, allocations: 1.05 MB / 2.29 GB, free: 38.2 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003371/6.507, allocations: 282.3 kB / 2.29 GB, free: 38.03 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.839e-05/6.507, allocations: 17.41 kB / 2.29 GB, free: 38.03 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.776e-05/6.507, allocations: 338.9 kB / 2.29 GB, free: 37.72 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001629/6.508, allocations: 0.5902 MB / 2.291 GB, free: 37.72 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001937/6.51, allocations: 1.02 MB / 2.292 GB, free: 37.25 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001743/6.512, allocations: 0.6541 MB / 2.293 GB, free: 37.23 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/6.512, allocations: 0 / 2.293 GB, free: 37.23 MB / 0.6511 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.006454/6.519, allocations: 2.132 MB / 2.295 GB, free: 37.05 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.978e-05/6.519, allocations: 7.375 kB / 2.295 GB, free: 37.05 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.512e-05/6.519, allocations: 8.531 kB / 2.295 GB, free: 37.05 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003644/6.522, allocations: 1.075 MB / 2.296 GB, free: 37.03 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001/6.523, allocations: 233.5 kB / 2.296 GB, free: 37.03 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003473/6.527, allocations: 2.018 MB / 2.298 GB, free: 35.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004154/6.531, allocations: 458.4 kB / 2.298 GB, free: 35.89 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003256/6.531, allocations: 67.08 kB / 2.299 GB, free: 35.89 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (85): * Single equations (assignments): 83 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 19,2 11} Notification: Performance of prepare postOptimizeDAE: time 0.001783/6.533, allocations: 462.1 kB / 2.299 GB, free: 35.77 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009646/6.534, allocations: 245.1 kB / 2.299 GB, free: 35.64 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006774/6.541, allocations: 2.087 MB / 2.301 GB, free: 35.51 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.437e-05/6.541, allocations: 20.34 kB / 2.301 GB, free: 35.51 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/6.541, allocations: 0 / 2.301 GB, free: 35.51 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/6.541, allocations: 7.297 kB / 2.301 GB, free: 35.51 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008636/6.55, allocations: 3.784 MB / 2.305 GB, free: 34.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.008e-05/6.55, allocations: 5.594 kB / 2.305 GB, free: 34.93 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003576/6.55, allocations: 91.11 kB / 2.305 GB, free: 34.93 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003228/6.553, allocations: 1.058 MB / 2.306 GB, free: 34.91 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.921e-05/6.554, allocations: 25.83 kB / 2.306 GB, free: 34.91 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003252/6.557, allocations: 2.045 MB / 2.308 GB, free: 33.85 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/6.557, allocations: 6.656 kB / 2.308 GB, free: 33.85 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006321/6.563, allocations: 2.349 MB / 2.31 GB, free: 32.94 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002027/6.565, allocations: 0.5237 MB / 2.311 GB, free: 32.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00102/6.566, allocations: 19.12 kB / 2.311 GB, free: 32.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002827/6.569, allocations: 188.5 kB / 2.311 GB, free: 32.68 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001153/6.569, allocations: 63.88 kB / 2.311 GB, free: 32.68 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001299/6.569, allocations: 36.69 kB / 2.311 GB, free: 32.68 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.004011/6.573, allocations: 1.814 MB / 2.313 GB, free: 32.52 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.71e-07/6.573, allocations: 0 / 2.313 GB, free: 32.52 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.003624/6.577, allocations: 0.8155 MB / 2.314 GB, free: 32.41 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (54): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 21,2 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.008907/6.586, allocations: 4.852 MB / 2.319 GB, free: 29.89 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.004465/6.59, allocations: 1.427 MB / 2.32 GB, free: 29.83 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 8.406e-06/6.59, allocations: 0 / 2.32 GB, free: 29.83 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.002162/6.593, allocations: 0.7162 MB / 2.321 GB, free: 29.8 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008376/6.601, allocations: 1.288 MB / 2.322 GB, free: 29.73 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04066/6.642, allocations: 20.29 MB / 2.342 GB, free: 34.21 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001654/6.643, allocations: 1.532 MB / 2.343 GB, free: 33.45 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.002755/6.646, allocations: 423.6 kB / 2.344 GB, free: 33.38 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001548/6.648, allocations: 0.9038 MB / 2.344 GB, free: 33.37 MB / 0.6667 GB Notification: Performance of SimCode: time 1.823e-06/6.648, allocations: 0 / 2.344 GB, free: 33.37 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1574/6.805, allocations: 81.51 MB / 2.424 GB, free: 28.59 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001963/6.806, allocations: 247.3 kB / 2.424 GB, free: 28.26 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.571/12.38, allocations: 11.52 kB / 2.424 GB, free: 28.25 MB / 0.6667 GB (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.fmu > IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1)