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.292/2.292, allocations: 390.3 MB / 402.8 MB, free: 6.723 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.001057/0.001057, allocations: 184.9 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.547/1.547, allocations: 221.3 MB / 0.7915 GB, free: 5.434 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.0008689/0.000869, allocations: 99.52 kB / 0.9317 GB, free: 5.75 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.624e-05/3.652e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2604/0.2604, allocations: 143 MB / 1.219 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.215/1.475, allocations: 426.7 MB / 1.636 GB, free: 7.621 MB / 1.089 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002928/1.476, allocations: 87.95 kB / 1.636 GB, free: 7.535 MB / 1.089 GB Notification: Performance of FrontEnd - DAE generated: time 2.78/4.256, allocations: 0.5691 GB / 2.205 GB, free: 235.1 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.813e-06/4.256, allocations: 2.156 kB / 2.205 GB, free: 235.1 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002353/4.256, allocations: 46.3 kB / 2.205 GB, free: 235.1 MB / 1.167 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.004726/4.261, allocations: 1.619 MB / 2.206 GB, free: 234.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/4.261, allocations: 7.906 kB / 2.206 GB, free: 234.5 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004003/4.261, allocations: 148.4 kB / 2.207 GB, free: 234.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003709/4.265, allocations: 0.6005 MB / 2.207 GB, free: 234.4 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003926/4.269, allocations: 1.597 MB / 2.209 GB, free: 234 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001847/4.269, allocations: 119.4 kB / 2.209 GB, free: 234 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002979/4.269, allocations: 96.25 kB / 2.209 GB, free: 234 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002305/4.272, allocations: 1.202 MB / 2.21 GB, free: 233.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.404e-05/4.272, allocations: 7.812 kB / 2.21 GB, free: 233.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001271/4.272, allocations: 34.84 kB / 2.21 GB, free: 233.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.525e-05/4.272, allocations: 44.73 kB / 2.21 GB, free: 233.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001866/4.274, allocations: 1.125 MB / 2.211 GB, free: 233.9 MB / 1.167 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.009627/4.284, allocations: 5.438 MB / 2.217 GB, free: 231.9 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001681/4.285, allocations: 0.9344 MB / 2.217 GB, free: 231.9 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006214/4.286, allocations: 487.7 kB / 2.218 GB, free: 231.9 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006774/4.287, allocations: 1.073 MB / 2.219 GB, free: 230.7 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007913/4.287, allocations: 0.554 MB / 2.22 GB, free: 230.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=60): time 3.847e-06/4.287, allocations: 3.797 kB / 2.22 GB, free: 230.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=60): time 0.001887/4.289, allocations: 0.9954 MB / 2.221 GB, free: 230.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.949e-05/4.289, allocations: 55.84 kB / 2.221 GB, free: 230.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001995/4.291, allocations: 1.237 MB / 2.222 GB, free: 230.3 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001053/4.291, allocations: 36.45 kB / 2.222 GB, free: 230.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005091/4.292, allocations: 0.6555 MB / 2.222 GB, free: 230.1 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002006/4.292, allocations: 211.3 kB / 2.223 GB, free: 230 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.404e-05/4.292, allocations: 13.88 kB / 2.223 GB, free: 230 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.585e-05/4.292, allocations: 335.8 kB / 2.223 GB, free: 229.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005716/4.293, allocations: 418.6 kB / 2.223 GB, free: 229.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007319/4.294, allocations: 0.6377 MB / 2.224 GB, free: 229.4 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005952/4.294, allocations: 428.2 kB / 2.224 GB, free: 229.4 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/4.294, allocations: 0 / 2.224 GB, free: 229.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001801/4.296, allocations: 1.144 MB / 2.226 GB, free: 229.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/4.296, allocations: 3.844 kB / 2.226 GB, free: 229.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/4.296, allocations: 6.938 kB / 2.226 GB, free: 229.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.162e-05/4.296, allocations: 7.906 kB / 2.226 GB, free: 229.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00125/4.297, allocations: 276.8 kB / 2.226 GB, free: 229.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.216e-05/4.297, allocations: 10.88 kB / 2.226 GB, free: 229.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0017/4.299, allocations: 216.1 kB / 2.226 GB, free: 229.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001673/4.299, allocations: 61.72 kB / 2.226 GB, free: 229.2 MB / 1.167 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.0002134/4.3, allocations: 154.3 kB / 2.226 GB, free: 229.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003135/4.3, allocations: 144.7 kB / 2.226 GB, free: 229 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001891/4.302, allocations: 1.193 MB / 2.228 GB, free: 229 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.361e-05/4.302, allocations: 11.75 kB / 2.228 GB, free: 229 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/4.302, allocations: 2.875 kB / 2.228 GB, free: 229 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00121/4.303, allocations: 1.016 MB / 2.229 GB, free: 228.8 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004039/4.307, allocations: 2.801 MB / 2.231 GB, free: 228.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/4.307, allocations: 3.594 kB / 2.231 GB, free: 228.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00113/4.308, allocations: 226.7 kB / 2.232 GB, free: 228.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.337e-05/4.308, allocations: 7.766 kB / 2.232 GB, free: 228.3 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.489e-05/4.308, allocations: 28.67 kB / 2.232 GB, free: 228.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.83e-06/4.308, allocations: 3.844 kB / 2.232 GB, free: 228.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/4.308, allocations: 10.28 kB / 2.232 GB, free: 228.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002368/4.311, allocations: 2.021 MB / 2.234 GB, free: 227.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008623/4.312, allocations: 401.7 kB / 2.234 GB, free: 227.7 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003549/4.312, allocations: 13.34 kB / 2.234 GB, free: 227.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001446/4.313, allocations: 152.9 kB / 2.234 GB, free: 227.7 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/4.314, allocations: 52.03 kB / 2.234 GB, free: 227.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001015/4.314, allocations: 52.67 kB / 2.234 GB, free: 227.7 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001459/4.315, allocations: 0.9838 MB / 2.235 GB, free: 227.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.9e-07/4.315, allocations: 1.688 kB / 2.235 GB, free: 227.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001745/4.317, allocations: 492 kB / 2.236 GB, free: 227.5 MB / 1.167 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.003659/4.321, allocations: 3.509 MB / 2.239 GB, free: 225.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001359/4.322, allocations: 0.9367 MB / 2.24 GB, free: 225.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/4.322, allocations: 0 / 2.24 GB, free: 225.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0006496/4.323, allocations: 0.5001 MB / 2.24 GB, free: 225.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003566/4.326, allocations: 0.7285 MB / 2.241 GB, free: 225.9 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005068/4.331, allocations: 2.349 MB / 2.243 GB, free: 225.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000759/4.332, allocations: 1.256 MB / 2.245 GB, free: 224.5 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001581/4.334, allocations: 319.9 kB / 2.245 GB, free: 224.5 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008086/4.334, allocations: 0.5666 MB / 2.246 GB, free: 224.5 MB / 1.167 GB Notification: Performance of SimCode: time 6.02e-07/4.334, allocations: 0 / 2.246 GB, free: 224.5 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07473/4.409, allocations: 45.7 MB / 2.29 GB, free: 223 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001671/4.409, allocations: 214.6 kB / 2.29 GB, free: 222.7 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.485/7.894, allocations: 0 / 2.29 GB, free: 222.7 MB / 1.167 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