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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 86.72 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001469/0.001469, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.48/2.48, allocations: 390.4 MB / 0.6655 GB, free: 2.859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004523/0.0004525, allocations: 8 kB / 0.8149 GB, free: 14.05 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7477/0.7481, allocations: 142.3 MB / 0.9538 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.05271/0.8009, allocations: 49.27 MB / 1.002 GB, free: 14.68 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01664/0.8176, allocations: 10.77 MB / 1.012 GB, free: 3.891 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003155/0.8208, allocations: 55.62 kB / 1.013 GB, free: 3.836 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.003689/0.8245, allocations: 0.5395 MB / 1.013 GB, free: 3.293 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.009498/0.8341, allocations: 1.698 MB / 1.015 GB, free: 1.586 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.004141/0.8382, allocations: 1.006 MB / 1.016 GB, free: 0.5938 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.007403/0.8456, allocations: 4.338 MB / 1.02 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001999/0.8477, allocations: 0.9388 MB / 1.021 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002908/0.8506, allocations: 1.135 MB / 1.022 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001744/0.8524, allocations: 0.9877 MB / 1.023 GB, free: 9.145 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001975/0.8526, allocations: 56 kB / 1.023 GB, free: 9.09 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00201/0.8546, allocations: 0.6002 MB / 1.024 GB, free: 8.488 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0003708/0.855, allocations: 334.6 kB / 1.024 GB, free: 8.16 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0004699/0.8555, allocations: 340.8 kB / 1.024 GB, free: 7.82 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.002056/0.8575, allocations: 1.858 MB / 1.026 GB, free: 5.961 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.8576, allocations: 0 / 1.026 GB, free: 5.961 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.663e-06/0.8576, allocations: 0 / 1.026 GB, free: 5.961 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.893e-05/0.8576, allocations: 0 / 1.026 GB, free: 5.961 MB / 0.7794 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.003049/0.8606, allocations: 1.75 MB / 1.028 GB, free: 4.156 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.8607, allocations: 12.03 kB / 1.028 GB, free: 4.145 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001867/0.8609, allocations: 143.6 kB / 1.028 GB, free: 3.996 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002962/0.8639, allocations: 0.6185 MB / 1.028 GB, free: 3.375 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002195/0.8661, allocations: 1.314 MB / 1.03 GB, free: 2.008 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000128/0.8662, allocations: 115.7 kB / 1.03 GB, free: 1.891 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001507/0.8664, allocations: 103.9 kB / 1.03 GB, free: 1.789 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002744/0.8691, allocations: 1.381 MB / 1.031 GB, free: 380 kB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.59e-05/0.8692, allocations: 7.938 kB / 1.031 GB, free: 372 kB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.417e-05/0.8693, allocations: 36 kB / 1.031 GB, free: 336 kB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.514e-05/0.8693, allocations: 24 kB / 1.031 GB, free: 312 kB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003526/0.8728, allocations: 1.491 MB / 1.033 GB, free: 14.82 MB / 0.795 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.008254/0.8811, allocations: 5.398 MB / 1.038 GB, free: 9.168 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002757/0.8839, allocations: 1.107 MB / 1.039 GB, free: 8.051 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001479/0.8854, allocations: 0.6404 MB / 1.04 GB, free: 7.41 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008274/0.8862, allocations: 1.073 MB / 1.041 GB, free: 6.098 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001685/0.8879, allocations: 0.7057 MB / 1.042 GB, free: 5.383 MB / 0.795 GB Notification: Performance of pre-optimization done (n=60): time 3.096e-06/0.8879, allocations: 0 / 1.042 GB, free: 5.383 MB / 0.795 GB Notification: Performance of matching and sorting (n=60): time 0.005013/0.8929, allocations: 1.856 MB / 1.043 GB, free: 3.52 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.151e-05/0.893, allocations: 63.97 kB / 1.043 GB, free: 3.441 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002004/0.895, allocations: 1.386 MB / 1.045 GB, free: 2.047 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 9.147e-05/0.8951, allocations: 37.7 kB / 1.045 GB, free: 2.004 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006078/0.8957, allocations: 0.6579 MB / 1.045 GB, free: 1.336 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002429/0.896, allocations: 205 kB / 1.046 GB, free: 1.133 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.333e-05/0.8961, allocations: 12 kB / 1.046 GB, free: 1.121 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001945/0.8963, allocations: 334 kB / 1.046 GB, free: 0.7891 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001502/0.8978, allocations: 0.5875 MB / 1.047 GB, free: 204 kB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001644/0.8994, allocations: 0.7888 MB / 1.047 GB, free: 15.33 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00149/0.9009, allocations: 0.5964 MB / 1.048 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/0.9009, allocations: 4 kB / 1.048 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003634/0.9046, allocations: 1.503 MB / 1.049 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.463e-05/0.9046, allocations: 9.25 kB / 1.049 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.384e-05/0.9047, allocations: 4 kB / 1.049 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.123e-05/0.9047, allocations: 12 kB / 1.049 GB, free: 13.19 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001201/0.9059, allocations: 267.7 kB / 1.05 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.912e-05/0.9059, allocations: 19.94 kB / 1.05 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001583/0.9075, allocations: 230.9 kB / 1.05 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.78e-05/0.9076, allocations: 43.97 kB / 1.05 GB, free: 12.64 MB / 0.8106 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,onOff.y,$PRE.onOff.pulseStart,onOff.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 92 * 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.0007184/0.9084, allocations: 363.7 kB / 1.05 GB, free: 12.28 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001967/0.9086, allocations: 146.2 kB / 1.05 GB, free: 12.13 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003513/0.9121, allocations: 1.476 MB / 1.052 GB, free: 10.65 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.59e-05/0.9121, allocations: 8 kB / 1.052 GB, free: 10.64 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/0.9121, allocations: 3.984 kB / 1.052 GB, free: 10.64 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002939/0.9151, allocations: 1.337 MB / 1.053 GB, free: 9.266 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005568/0.9207, allocations: 3.024 MB / 1.056 GB, free: 6.16 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.243e-06/0.9207, allocations: 4 kB / 1.056 GB, free: 6.156 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001085/0.9218, allocations: 224 kB / 1.056 GB, free: 5.938 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.241e-05/0.9218, allocations: 4 kB / 1.056 GB, free: 5.934 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.85e-05/0.9219, allocations: 19.98 kB / 1.056 GB, free: 5.914 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.335e-06/0.9219, allocations: 11.92 kB / 1.056 GB, free: 5.902 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.9219, allocations: 4 kB / 1.056 GB, free: 5.898 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005081/0.927, allocations: 2.332 MB / 1.059 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007611/0.9278, allocations: 378.8 kB / 1.059 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001899/0.928, allocations: 20 kB / 1.059 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001203/0.9292, allocations: 159.8 kB / 1.059 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001267/0.9293, allocations: 52.39 kB / 1.059 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.812e-05/0.9294, allocations: 39.95 kB / 1.059 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0014/0.9308, allocations: 0.9674 MB / 1.06 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9308, allocations: 0 / 1.06 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001315/0.9321, allocations: 447.4 kB / 1.061 GB, free: 1.457 MB / 0.8106 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,onOff.y,onOff.pulseStart) * Number of discrete states: 0 () * Number of clocked 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.005903/0.9381, allocations: 3.196 MB / 1.064 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.003259/0.9413, allocations: 1.344 MB / 1.065 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/0.9414, allocations: 384 / 1.065 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.00158/0.9429, allocations: 0.6906 MB / 1.066 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003633/0.9466, allocations: 0.726 MB / 1.066 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02225/0.9688, allocations: 10.13 MB / 1.076 GB, free: 0.9219 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000843/0.9697, allocations: 1.221 MB / 1.078 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001563/0.9713, allocations: 311.1 kB / 1.078 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008212/0.9721, allocations: 0.5617 MB / 1.078 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of SimCode: time 8.62e-07/0.9721, allocations: 3.938 kB / 1.078 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07479/1.047, allocations: 41 MB / 1.118 GB, free: 6.305 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001793/1.047, allocations: 246.2 kB / 1.119 GB, free: 6.055 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.919/3.966, allocations: 7.875 kB / 1.119 GB, free: 6.047 MB / 0.8731 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