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.228/2.228, allocations: 387.1 MB / 399.7 MB, free: 9.5 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.001072/0.001072, allocations: 172.2 kB / 492.3 MB, free: 0.6289 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.458/1.458, allocations: 221.3 MB / 0.7871 GB, free: 12.93 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.0008844/0.0008843, allocations: 99.92 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.243e-05/3.244e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2543/0.2544, allocations: 142.3 MB / 1.212 GB, free: 38.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.172/1.427, allocations: 425.9 MB / 1.628 GB, free: 4.68 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003164/1.427, allocations: 92.94 kB / 1.628 GB, free: 4.633 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 2.7/4.127, allocations: 0.5692 GB / 2.198 GB, free: 257.6 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.655e-06/4.127, allocations: 0.6875 kB / 2.198 GB, free: 257.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001929/4.128, allocations: 41.58 kB / 2.198 GB, free: 257.6 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.004206/4.132, allocations: 1.62 MB / 2.199 GB, free: 257.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.54e-05/4.132, allocations: 9.828 kB / 2.199 GB, free: 257.1 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002423/4.132, allocations: 142.3 kB / 2.199 GB, free: 257.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003786/4.136, allocations: 0.603 MB / 2.2 GB, free: 257 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005083/4.141, allocations: 1.604 MB / 2.202 GB, free: 256.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002539/4.141, allocations: 121.7 kB / 2.202 GB, free: 256.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002701/4.142, allocations: 99.98 kB / 2.202 GB, free: 256.7 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00299/4.145, allocations: 1.193 MB / 2.203 GB, free: 256.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.286e-05/4.145, allocations: 2.719 kB / 2.203 GB, free: 256.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001247/4.145, allocations: 40 kB / 2.203 GB, free: 256.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.239e-05/4.145, allocations: 41.66 kB / 2.203 GB, free: 256.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002289/4.147, allocations: 1.131 MB / 2.204 GB, free: 256.5 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.009738/4.157, allocations: 5.422 MB / 2.209 GB, free: 254.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001786/4.159, allocations: 0.9277 MB / 2.21 GB, free: 254.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007566/4.159, allocations: 483.7 kB / 2.211 GB, free: 254.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007083/4.16, allocations: 1.081 MB / 2.212 GB, free: 253.4 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009543/4.161, allocations: 0.5554 MB / 2.212 GB, free: 253.3 MB / 1.151 GB Notification: Performance of pre-optimization done (n=60): time 2.996e-06/4.161, allocations: 0 / 2.212 GB, free: 253.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=60): time 0.002074/4.163, allocations: 0.986 MB / 2.213 GB, free: 253.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.223e-05/4.163, allocations: 60.55 kB / 2.213 GB, free: 253.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002051/4.165, allocations: 1.234 MB / 2.215 GB, free: 253 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001051/4.165, allocations: 43.42 kB / 2.215 GB, free: 252.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005972/4.166, allocations: 0.6599 MB / 2.215 GB, free: 252.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002253/4.166, allocations: 202 kB / 2.215 GB, free: 252.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.213e-05/4.166, allocations: 12.44 kB / 2.216 GB, free: 252.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.518e-05/4.166, allocations: 332.9 kB / 2.216 GB, free: 252.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006804/4.167, allocations: 425.1 kB / 2.216 GB, free: 252.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008793/4.168, allocations: 0.6344 MB / 2.217 GB, free: 252.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00072/4.169, allocations: 423.4 kB / 2.217 GB, free: 252.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/4.169, allocations: 8.656 kB / 2.217 GB, free: 252.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002207/4.171, allocations: 1.137 MB / 2.218 GB, free: 252 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 3.287e-05/4.171, allocations: 7.938 kB / 2.218 GB, free: 252 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/4.171, allocations: 4.281 kB / 2.218 GB, free: 252 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.248e-05/4.171, allocations: 9.844 kB / 2.218 GB, free: 252 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001383/4.172, allocations: 277.5 kB / 2.219 GB, free: 252 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.046e-05/4.173, allocations: 9.562 kB / 2.219 GB, free: 252 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001828/4.174, allocations: 228.6 kB / 2.219 GB, free: 252 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001515/4.175, allocations: 52.64 kB / 2.219 GB, free: 252 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.0002502/4.175, allocations: 152.3 kB / 2.219 GB, free: 251.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000255/4.175, allocations: 148 kB / 2.219 GB, free: 251.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002528/4.178, allocations: 1.189 MB / 2.22 GB, free: 251.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.866e-05/4.178, allocations: 8.281 kB / 2.22 GB, free: 251.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/4.178, allocations: 0 / 2.22 GB, free: 251.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001632/4.179, allocations: 1.014 MB / 2.221 GB, free: 251.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005464/4.185, allocations: 2.795 MB / 2.224 GB, free: 251.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.117e-06/4.185, allocations: 6.438 kB / 2.224 GB, free: 251.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001284/4.186, allocations: 226.4 kB / 2.224 GB, free: 251.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.885e-05/4.186, allocations: 11.17 kB / 2.224 GB, free: 251.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.964e-05/4.186, allocations: 31.73 kB / 2.224 GB, free: 251.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.199e-05/4.186, allocations: 7.453 kB / 2.224 GB, free: 251.1 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/4.186, allocations: 3.562 kB / 2.224 GB, free: 251.1 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0032/4.189, allocations: 2.017 MB / 2.226 GB, free: 250.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001008/4.19, allocations: 404.2 kB / 2.227 GB, free: 250.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001983/4.191, allocations: 17.58 kB / 2.227 GB, free: 250.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00132/4.192, allocations: 154.2 kB / 2.227 GB, free: 250.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001543/4.192, allocations: 52.22 kB / 2.227 GB, free: 250.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001302/4.192, allocations: 53.16 kB / 2.227 GB, free: 250.5 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.00184/4.194, allocations: 0.9858 MB / 2.228 GB, free: 250.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 2e-07/4.194, allocations: 0 / 2.228 GB, free: 250.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002099/4.196, allocations: 497.4 kB / 2.228 GB, free: 250.3 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.005229/4.201, allocations: 3.517 MB / 2.232 GB, free: 248.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001631/4.203, allocations: 0.9307 MB / 2.233 GB, free: 248.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/4.203, allocations: 3.25 kB / 2.233 GB, free: 248.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006956/4.204, allocations: 0.4961 MB / 2.233 GB, free: 248.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003861/4.208, allocations: 0.7277 MB / 2.234 GB, free: 248.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005328/4.213, allocations: 2.364 MB / 2.236 GB, free: 248.2 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008948/4.214, allocations: 1.253 MB / 2.238 GB, free: 247.5 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001711/4.216, allocations: 312.9 kB / 2.238 GB, free: 247.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00097/4.217, allocations: 0.5685 MB / 2.238 GB, free: 247.4 MB / 1.151 GB Notification: Performance of SimCode: time 1.593e-06/4.217, allocations: 0 / 2.238 GB, free: 247.4 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.091/4.308, allocations: 45.7 MB / 2.283 GB, free: 246.6 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001733/4.308, allocations: 199.2 kB / 2.283 GB, free: 246.3 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.522/7.83, allocations: 1.969 kB / 2.283 GB, free: 246.3 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