Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.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.Examples.AbsorptionIndirectSteam,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam",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.446/2.446, allocations: 390.5 MB / 398 MB, free: 10.96 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.001145/0.001145, allocations: 187.2 kB / 491.2 MB, free: 1.574 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.591/1.591, allocations: 221.5 MB / 0.7868 GB, free: 13.26 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.0009314/0.0009314, allocations: 94.39 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.792e-05/1.796e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3058/0.3058, allocations: 143 MB / 1.212 GB, free: 39.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.302/1.608, allocations: 426 MB / 1.628 GB, free: 4.891 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002622/1.608, allocations: 90.59 kB / 1.629 GB, free: 4.848 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 1.913/3.521, allocations: 0.5661 GB / 2.195 GB, free: 2.215 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.403e-06/3.521, allocations: 0 / 2.195 GB, free: 2.215 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002288/3.521, allocations: 39.94 kB / 2.195 GB, free: 2.176 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.004627/3.525, allocations: 1.612 MB / 2.196 GB, free: 0.5156 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/3.525, allocations: 12.03 kB / 2.196 GB, free: 0.5039 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.7908/4.316, allocations: 0.6002 MB / 2.197 GB, free: 257.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004366/4.321, allocations: 1.608 MB / 2.198 GB, free: 256.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000176/4.321, allocations: 84.56 kB / 2.198 GB, free: 256.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001863/4.321, allocations: 59.72 kB / 2.199 GB, free: 256.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002185/4.323, allocations: 1.067 MB / 2.2 GB, free: 256.9 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00215/4.325, allocations: 1.078 MB / 2.201 GB, free: 256.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.926e-05/4.325, allocations: 1.031 kB / 2.201 GB, free: 256.7 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.386e-05/4.326, allocations: 1.875 kB / 2.201 GB, free: 256.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.756e-05/4.326, allocations: 37.7 kB / 2.201 GB, free: 256.7 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.009501/4.335, allocations: 5.209 MB / 2.206 GB, free: 254.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00171/4.337, allocations: 0.9054 MB / 2.207 GB, free: 254.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006964/4.338, allocations: 467.8 kB / 2.207 GB, free: 254.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006836/4.338, allocations: 1.073 MB / 2.208 GB, free: 253.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009463/4.339, allocations: 0.5419 MB / 2.209 GB, free: 253.6 MB / 1.151 GB Notification: Performance of pre-optimization done (n=60): time 5.039e-06/4.339, allocations: 1.25 kB / 2.209 GB, free: 253.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=60): time 0.002621/4.342, allocations: 0.969 MB / 2.21 GB, free: 253.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.944e-05/4.342, allocations: 58.55 kB / 2.21 GB, free: 253.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00173/4.344, allocations: 1.012 MB / 2.211 GB, free: 253.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001126/4.344, allocations: 26.73 kB / 2.211 GB, free: 253.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006465/4.344, allocations: 0.6618 MB / 2.211 GB, free: 253 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000247/4.345, allocations: 208.5 kB / 2.212 GB, free: 252.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.437e-05/4.345, allocations: 0 / 2.212 GB, free: 252.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001107/4.345, allocations: 328.1 kB / 2.212 GB, free: 252.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006385/4.346, allocations: 404.3 kB / 2.212 GB, free: 252.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007752/4.346, allocations: 0.6187 MB / 2.213 GB, free: 252.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001077/4.347, allocations: 444.4 kB / 2.213 GB, free: 252.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/4.347, allocations: 0.5 kB / 2.213 GB, free: 252.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002474/4.35, allocations: 1.093 MB / 2.214 GB, free: 252.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.587e-05/4.35, allocations: 6.781 kB / 2.214 GB, free: 252.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/4.35, allocations: 5.031 kB / 2.214 GB, free: 252.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.258e-05/4.35, allocations: 12.58 kB / 2.214 GB, free: 252.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001389/4.351, allocations: 273.8 kB / 2.215 GB, free: 252.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.718e-05/4.351, allocations: 11.67 kB / 2.215 GB, free: 252.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001711/4.353, allocations: 179.7 kB / 2.215 GB, free: 252.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001254/4.353, allocations: 60.5 kB / 2.215 GB, free: 252.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.0002114/4.354, allocations: 118.7 kB / 2.215 GB, free: 252.1 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00216/4.356, allocations: 0.9708 MB / 2.216 GB, free: 252 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002018/4.356, allocations: 132 kB / 2.216 GB, free: 252 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002486/4.358, allocations: 1.149 MB / 2.217 GB, free: 251.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.499e-05/4.358, allocations: 11.31 kB / 2.217 GB, free: 251.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/4.358, allocations: 1.5 kB / 2.217 GB, free: 251.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001715/4.36, allocations: 0.9992 MB / 2.218 GB, free: 251.7 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006085/4.366, allocations: 2.644 MB / 2.221 GB, free: 251.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.486e-06/4.366, allocations: 2.219 kB / 2.221 GB, free: 251.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001396/4.368, allocations: 228.6 kB / 2.221 GB, free: 251.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.5e-05/4.368, allocations: 4.844 kB / 2.221 GB, free: 251.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.571e-05/4.368, allocations: 26.92 kB / 2.221 GB, free: 251.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.338e-05/4.368, allocations: 7.484 kB / 2.221 GB, free: 251.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.131e-05/4.368, allocations: 6.5 kB / 2.221 GB, free: 251.4 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004059/4.372, allocations: 1.95 MB / 2.223 GB, free: 251 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001129/4.373, allocations: 378 kB / 2.223 GB, free: 250.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001963/4.373, allocations: 7.938 kB / 2.223 GB, free: 250.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001289/4.375, allocations: 136.9 kB / 2.223 GB, free: 250.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001385/4.375, allocations: 51.2 kB / 2.223 GB, free: 250.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001218/4.375, allocations: 53.31 kB / 2.223 GB, free: 250.8 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001377/4.376, allocations: 0.7714 MB / 2.224 GB, free: 250.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.11e-07/4.376, allocations: 0 / 2.224 GB, free: 250.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002118/4.378, allocations: 489.5 kB / 2.225 GB, free: 250.7 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.004592/4.383, allocations: 3.483 MB / 2.228 GB, free: 249.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00162/4.385, allocations: 0.8949 MB / 2.229 GB, free: 249.1 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/4.385, allocations: 1.406 kB / 2.229 GB, free: 249.1 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0007767/4.385, allocations: 494.6 kB / 2.229 GB, free: 249.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003132/4.389, allocations: 0.5356 MB / 2.23 GB, free: 249.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005342/4.394, allocations: 2.25 MB / 2.232 GB, free: 248.5 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000962/4.395, allocations: 1.258 MB / 2.233 GB, free: 247.8 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001684/4.397, allocations: 289.4 kB / 2.234 GB, free: 247.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00083/4.398, allocations: 0.5472 MB / 2.234 GB, free: 247.8 MB / 1.151 GB Notification: Performance of SimCode: time 1.533e-06/4.398, allocations: 0.9688 kB / 2.234 GB, free: 247.8 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08228/4.48, allocations: 35.52 MB / 2.269 GB, free: 247.3 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002331/4.48, allocations: 181.2 kB / 2.269 GB, free: 247.1 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.18/7.66, allocations: 0 / 2.269 GB, free: 247.1 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam.fmu > Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam_res.mat does not exist to compare? outputFormat=mat