Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam,fileNamePrefix="Buildings_9_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam,fileNamePrefix="Buildings_9_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.263/2.263, allocations: 387.4 MB / 394.9 MB, free: 13.37 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.001131/0.001131, allocations: 188.8 kB / 487.4 MB, free: 5.035 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.498/1.498, allocations: 221.5 MB / 0.7824 GB, free: 0.9492 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001326/0.001325, allocations: 91.95 kB / 0.9219 GB, free: 2.195 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.177e-05/2.17e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2728/0.2729, allocations: 142.4 MB / 1.206 GB, free: 43.86 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.212/1.485, allocations: 425.2 MB / 1.621 GB, free: 13.27 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000229/1.485, allocations: 86.94 kB / 1.621 GB, free: 13.23 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 1.778/3.263, allocations: 0.5661 GB / 2.187 GB, free: 13.71 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.673e-06/3.263, allocations: 0 / 2.187 GB, free: 13.71 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002368/3.264, allocations: 39.98 kB / 2.187 GB, free: 13.67 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: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.00462/3.268, allocations: 1.624 MB / 2.189 GB, free: 12 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/3.268, allocations: 8.031 kB / 2.189 GB, free: 11.99 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003563/3.272, allocations: 0.6028 MB / 2.19 GB, free: 11.38 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003876/3.276, allocations: 1.604 MB / 2.191 GB, free: 9.727 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001737/3.276, allocations: 87.67 kB / 2.191 GB, free: 9.633 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000282/3.276, allocations: 56 kB / 2.191 GB, free: 9.578 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001961/3.278, allocations: 1.078 MB / 2.192 GB, free: 8.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001943/3.28, allocations: 1.077 MB / 2.193 GB, free: 7.387 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.217e-05/3.28, allocations: 0 / 2.193 GB, free: 7.387 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001199/3.28, allocations: 4 kB / 2.193 GB, free: 7.383 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.796e-05/3.28, allocations: 34 kB / 2.194 GB, free: 7.352 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.008689/3.289, allocations: 5.227 MB / 2.199 GB, free: 1.887 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001532/3.291, allocations: 0.9103 MB / 2.2 GB, free: 0.9648 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005686/3.291, allocations: 473 kB / 2.2 GB, free: 0.5039 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.878/4.169, allocations: 1.068 MB / 2.201 GB, free: 260.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001344/4.171, allocations: 0.5322 MB / 2.202 GB, free: 260.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=60): time 3.707e-06/4.171, allocations: 0 / 2.202 GB, free: 260.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=60): time 0.002716/4.173, allocations: 0.97 MB / 2.202 GB, free: 260.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.185e-05/4.174, allocations: 61.11 kB / 2.203 GB, free: 260.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001869/4.175, allocations: 1.004 MB / 2.204 GB, free: 260.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001064/4.176, allocations: 28.86 kB / 2.204 GB, free: 260.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006544/4.176, allocations: 0.6664 MB / 2.204 GB, free: 260.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002102/4.176, allocations: 198.1 kB / 2.204 GB, free: 260 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.546e-05/4.176, allocations: 0 / 2.204 GB, free: 260 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.316e-05/4.177, allocations: 332.8 kB / 2.205 GB, free: 259.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006551/4.177, allocations: 411 kB / 2.205 GB, free: 259.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008307/4.178, allocations: 0.6159 MB / 2.206 GB, free: 259.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001173/4.179, allocations: 444.6 kB / 2.206 GB, free: 259.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.274e-06/4.179, allocations: 1.625 kB / 2.206 GB, free: 259.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002583/4.182, allocations: 1.094 MB / 2.207 GB, free: 259.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 3.199e-05/4.182, allocations: 8.641 kB / 2.207 GB, free: 259.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.62e-05/4.182, allocations: 9.281 kB / 2.207 GB, free: 259.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.482e-05/4.182, allocations: 8.344 kB / 2.207 GB, free: 259.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001478/4.183, allocations: 266.2 kB / 2.207 GB, free: 259.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.329e-05/4.183, allocations: 13.64 kB / 2.207 GB, free: 259.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001535/4.185, allocations: 185.2 kB / 2.208 GB, free: 259.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001577/4.185, allocations: 56.44 kB / 2.208 GB, free: 259.3 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,absIndSte.on,$PRE.onOff.pulseStart,onOff.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 84 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002266/4.185, allocations: 125.4 kB / 2.208 GB, free: 259.2 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002108/4.188, allocations: 0.9675 MB / 2.209 GB, free: 259.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001875/4.188, allocations: 127.7 kB / 2.209 GB, free: 259.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002663/4.19, allocations: 1.153 MB / 2.21 GB, free: 259 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.586e-05/4.19, allocations: 10.94 kB / 2.21 GB, free: 259 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/4.19, allocations: 0 / 2.21 GB, free: 259 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001827/4.192, allocations: 0.9947 MB / 2.211 GB, free: 258.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005125/4.197, allocations: 2.635 MB / 2.214 GB, free: 258.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/4.197, allocations: 2.25 kB / 2.214 GB, free: 258.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001261/4.199, allocations: 229.6 kB / 2.214 GB, free: 258.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.522e-05/4.199, allocations: 9.656 kB / 2.214 GB, free: 258.5 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.91e-05/4.199, allocations: 22.41 kB / 2.214 GB, free: 258.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.446e-06/4.199, allocations: 7.562 kB / 2.214 GB, free: 258.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/4.199, allocations: 3.688 kB / 2.214 GB, free: 258.5 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003319/4.202, allocations: 1.947 MB / 2.216 GB, free: 258 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008089/4.203, allocations: 378.1 kB / 2.216 GB, free: 257.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000177/4.203, allocations: 10.91 kB / 2.216 GB, free: 257.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001246/4.204, allocations: 138.1 kB / 2.216 GB, free: 257.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001631/4.205, allocations: 53.94 kB / 2.216 GB, free: 257.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001262/4.205, allocations: 53.22 kB / 2.216 GB, free: 257.9 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001389/4.206, allocations: 0.7677 MB / 2.217 GB, free: 257.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 4.11e-07/4.206, allocations: 1.125 kB / 2.217 GB, free: 257.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001997/4.208, allocations: 490.9 kB / 2.218 GB, free: 257.8 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (absIndSte.vol1.dynBal.U,absIndSte.vol2.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,absIndSte.on,onOff.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005032/4.213, allocations: 3.49 MB / 2.221 GB, free: 256.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001569/4.215, allocations: 0.8917 MB / 2.222 GB, free: 256.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.636e-06/4.215, allocations: 0 / 2.222 GB, free: 256.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006873/4.215, allocations: 491.9 kB / 2.222 GB, free: 256.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002885/4.218, allocations: 0.5259 MB / 2.223 GB, free: 256.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004812/4.223, allocations: 2.258 MB / 2.225 GB, free: 255.6 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006573/4.224, allocations: 1.258 MB / 2.226 GB, free: 254.9 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001424/4.225, allocations: 289.3 kB / 2.227 GB, free: 254.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007178/4.226, allocations: 0.5449 MB / 2.227 GB, free: 254.9 MB / 1.151 GB Notification: Performance of SimCode: time 8.52e-07/4.226, allocations: 0 / 2.227 GB, free: 254.9 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08793/4.314, allocations: 35.54 MB / 2.262 GB, free: 254.4 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001697/4.314, allocations: 176.9 kB / 2.262 GB, free: 254.2 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.331/7.646, allocations: 0 / 2.262 GB, free: 254.2 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam.fmu > Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam_res.mat does not exist to compare? outputFormat=mat