Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Validation.AbsorptionIndirectSteam_EnergyPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.AbsorptionIndirectSteam_EnergyPlus,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Validation_AbsorptionIndirectSteam_EnergyPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.AbsorptionIndirectSteam_EnergyPlus,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Validation_AbsorptionIndirectSteam_EnergyPlus",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.556/2.556, allocations: 390.5 MB / 398 MB, free: 10.95 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001385/0.001384, allocations: 172.9 kB / 491.2 MB, free: 1.566 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.67/1.67, allocations: 221.5 MB / 0.7868 GB, free: 13.3 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 99.78 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.238e-05/2.241e-05, allocations: 5.406 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3229/0.323, allocations: 143 MB / 1.212 GB, free: 39.46 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.212/1.535, allocations: 429.6 MB / 1.632 GB, free: 1.223 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002466/1.536, allocations: 86.58 kB / 1.632 GB, free: 1.18 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 2.835/4.371, allocations: 0.7536 GB / 2.386 GB, free: 246.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.563e-06/4.371, allocations: 2 kB / 2.386 GB, free: 246.3 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001283/4.371, allocations: 44.59 kB / 2.386 GB, free: 246.3 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.003349/4.374, allocations: 1.661 MB / 2.387 GB, free: 245.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/4.374, allocations: 14.8 kB / 2.387 GB, free: 245.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004306/4.379, allocations: 0.8004 MB / 2.388 GB, free: 244.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003224/4.382, allocations: 1.518 MB / 2.39 GB, free: 243.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00068/4.383, allocations: 216.1 kB / 2.39 GB, free: 243.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001606/4.383, allocations: 51.31 kB / 2.39 GB, free: 243.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001928/4.385, allocations: 1.299 MB / 2.391 GB, free: 243 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001648/4.386, allocations: 1.148 MB / 2.392 GB, free: 242 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.973e-05/4.386, allocations: 4 kB / 2.392 GB, free: 242 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001009/4.386, allocations: 0 / 2.392 GB, free: 242 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.799e-05/4.386, allocations: 30 kB / 2.392 GB, free: 242 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.00852/4.395, allocations: 5.496 MB / 2.398 GB, free: 236.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001808/4.397, allocations: 1.134 MB / 2.399 GB, free: 235.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006273/4.397, allocations: 0.553 MB / 2.399 GB, free: 234.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006702/4.398, allocations: 1.079 MB / 2.4 GB, free: 233.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008081/4.399, allocations: 0.6676 MB / 2.401 GB, free: 232.6 MB / 1.151 GB Notification: Performance of pre-optimization done (n=67): time 2.795e-06/4.399, allocations: 0 / 2.401 GB, free: 232.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=67): time 0.002569/4.402, allocations: 1.338 MB / 2.402 GB, free: 231.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.938e-05/4.402, allocations: 85.67 kB / 2.402 GB, free: 231.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001302/4.403, allocations: 1.071 MB / 2.403 GB, free: 230.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001081/4.403, allocations: 33.7 kB / 2.403 GB, free: 230.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000437/4.403, allocations: 0.6613 MB / 2.404 GB, free: 229.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001907/4.404, allocations: 220.7 kB / 2.404 GB, free: 229.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.338e-05/4.404, allocations: 0 / 2.404 GB, free: 229.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.73e-05/4.404, allocations: 334 kB / 2.405 GB, free: 228.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005557/4.404, allocations: 0.4926 MB / 2.405 GB, free: 228.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006577/4.405, allocations: 0.6818 MB / 2.406 GB, free: 227.6 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001093/4.406, allocations: 0.511 MB / 2.406 GB, free: 227.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/4.406, allocations: 0 / 2.406 GB, free: 227.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002479/4.409, allocations: 1.428 MB / 2.408 GB, free: 225.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/4.409, allocations: 8.781 kB / 2.408 GB, free: 225.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/4.409, allocations: 3.953 kB / 2.408 GB, free: 225.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007743/4.41, allocations: 0.6157 MB / 2.408 GB, free: 225.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001121/4.411, allocations: 239.7 kB / 2.408 GB, free: 224.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001578/4.412, allocations: 1.136 MB / 2.41 GB, free: 223.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00174/4.414, allocations: 203.1 kB / 2.41 GB, free: 223.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001444/4.414, allocations: 55.95 kB / 2.41 GB, free: 223.5 MB / 1.151 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: absChi.Q2_flow:VARIABLE(unit = "W" ) "Heat flow rate into medium 2" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.datRea.nextTimeEvent,absChi.on,datRea.nextTimeEvent,$PRE.datRea.nextTimeEventScaled,datRea.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * 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 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002905/4.414, allocations: 131.8 kB / 2.41 GB, free: 223.3 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002351/4.417, allocations: 1.334 MB / 2.411 GB, free: 222 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001949/4.417, allocations: 134.3 kB / 2.411 GB, free: 221.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00371/4.421, allocations: 1.746 MB / 2.413 GB, free: 220.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.214e-05/4.421, allocations: 8 kB / 2.413 GB, free: 220.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/4.421, allocations: 0 / 2.413 GB, free: 220.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.141e-05/4.421, allocations: 7.938 kB / 2.413 GB, free: 220.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00564/4.426, allocations: 3.333 MB / 2.416 GB, free: 216.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.103e-06/4.426, allocations: 4 kB / 2.416 GB, free: 216.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001055/4.428, allocations: 226.2 kB / 2.417 GB, free: 216.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007191/4.428, allocations: 0.6118 MB / 2.417 GB, free: 215.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.033e-05/4.428, allocations: 27.95 kB / 2.417 GB, free: 215.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001466/4.43, allocations: 1.132 MB / 2.418 GB, free: 214.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/4.43, allocations: 6.688 kB / 2.418 GB, free: 214.8 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003526/4.433, allocations: 1.779 MB / 2.42 GB, free: 212.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000874/4.434, allocations: 430.8 kB / 2.42 GB, free: 212.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000199/4.434, allocations: 8 kB / 2.42 GB, free: 212.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001432/4.436, allocations: 191.3 kB / 2.421 GB, free: 212.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001174/4.436, allocations: 56.7 kB / 2.421 GB, free: 212.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001059/4.436, allocations: 55.95 kB / 2.421 GB, free: 212.2 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001049/4.437, allocations: 0.8193 MB / 2.422 GB, free: 211.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.4e-07/4.437, allocations: 3.938 kB / 2.422 GB, free: 211.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001538/4.439, allocations: 0.495 MB / 2.422 GB, free: 210.9 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,absChi.on,datRea.nextTimeEvent,datRea.nextTimeEventScaled) * Number of discrete states: 2 (datRea.nextTimeEvent,datRea.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 2 * 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 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.005078/4.444, allocations: 3.475 MB / 2.425 GB, free: 207.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002085/4.446, allocations: 1.233 MB / 2.427 GB, free: 206.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/4.446, allocations: 2.344 kB / 2.427 GB, free: 206.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001251/4.447, allocations: 0.7219 MB / 2.427 GB, free: 205.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002405/4.45, allocations: 0.4917 MB / 2.428 GB, free: 205.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004583/4.454, allocations: 2.356 MB / 2.43 GB, free: 202.8 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006005/4.455, allocations: 1.284 MB / 2.431 GB, free: 201.5 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001246/4.456, allocations: 296.6 kB / 2.432 GB, free: 201.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007027/4.457, allocations: 0.5719 MB / 2.432 GB, free: 200.7 MB / 1.151 GB Notification: Performance of SimCode: time 9.82e-07/4.457, allocations: 0 / 2.432 GB, free: 200.7 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06794/4.525, allocations: 38.2 MB / 2.469 GB, free: 163.3 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001652/4.525, allocations: 201.2 kB / 2.47 GB, free: 163 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.25/7.775, allocations: 3.5 kB / 2.47 GB, free: 163 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.AbsorptionIndirectSteam_EnergyPlus.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.AbsorptionIndirectSteam_EnergyPlus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.AbsorptionIndirectSteam_EnergyPlus.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.AbsorptionIndirectSteam_EnergyPlus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Chillers.Validation.AbsorptionIndirectSteam_EnergyPlus_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Chillers_Validation_AbsorptionIndirectSteam_EnergyPlus_fmu --startTime=23500 --stopTime=32400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Chillers_Validation_AbsorptionIndirectSteam_EnergyPlus.fmu > Buildings_latest_Buildings.Fluid.Chillers.Validation.AbsorptionIndirectSteam_EnergyPlus.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Chillers.Validation.AbsorptionIndirectSteam_EnergyPlus_res.mat does not exist to compare? outputFormat=mat