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/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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001634/0.001634, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001966/0.001966, allocations: 193.2 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.628/1.628, allocations: 222.9 MB / 239.9 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.214/4.214, allocations: 461.9 MB / 0.7343 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002209/0.002209, allocations: 68.45 kB / 0.8987 GB, free: 37.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3218/0.324, allocations: 157.4 MB / 1.052 GB, free: 8.648 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.08032/0.4044, allocations: 53.02 MB / 1.104 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02373/0.4281, allocations: 11.41 MB / 1.115 GB, free: 8.008 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002204/0.4304, allocations: 59.62 kB / 1.115 GB, free: 7.949 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.002792/0.4332, allocations: 0.6605 MB / 1.116 GB, free: 7.285 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.00763/0.4409, allocations: 2.006 MB / 1.118 GB, free: 5.273 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.004736/0.4456, allocations: 1.265 MB / 1.119 GB, free: 4.02 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.006922/0.4526, allocations: 3.953 MB / 1.123 GB, free: 56 kB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002646/0.4553, allocations: 1.279 MB / 1.124 GB, free: 14.74 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004254/0.4595, allocations: 1.413 MB / 1.126 GB, free: 13.33 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002248/0.4618, allocations: 1.12 MB / 1.127 GB, free: 12.2 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0004177/0.4622, allocations: 136 kB / 1.127 GB, free: 12.07 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003404/0.4657, allocations: 1.056 MB / 1.128 GB, free: 11.01 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0007078/0.4664, allocations: 446.5 kB / 1.128 GB, free: 10.57 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001579/0.468, allocations: 0.8629 MB / 1.129 GB, free: 9.707 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.004718/0.4727, allocations: 2.559 MB / 1.132 GB, free: 7.141 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.4727, allocations: 0 / 1.132 GB, free: 7.141 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.723e-06/0.4728, allocations: 4 kB / 1.132 GB, free: 7.137 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.988e-05/0.4728, allocations: 0 / 1.132 GB, free: 7.137 MB / 0.8887 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.005734/0.4786, allocations: 2.022 MB / 1.134 GB, free: 5.062 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.4786, allocations: 8.625 kB / 1.134 GB, free: 5.055 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002846/0.4789, allocations: 143.8 kB / 1.134 GB, free: 4.906 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006003/0.4849, allocations: 0.5686 MB / 1.134 GB, free: 4.336 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003502/0.4885, allocations: 1.379 MB / 1.136 GB, free: 2.902 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002064/0.4887, allocations: 115.7 kB / 1.136 GB, free: 2.781 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000269/0.489, allocations: 96 kB / 1.136 GB, free: 2.688 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004949/0.4939, allocations: 1.35 MB / 1.137 GB, free: 1.305 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.209e-05/0.494, allocations: 3.938 kB / 1.137 GB, free: 1.301 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001804/0.4942, allocations: 44 kB / 1.137 GB, free: 1.258 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.097e-05/0.4943, allocations: 24 kB / 1.137 GB, free: 1.234 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006497/0.5008, allocations: 1.425 MB / 1.139 GB, free: 15.8 MB / 0.9044 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.01254/0.5133, allocations: 5.366 MB / 1.144 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004899/0.5182, allocations: 1.074 MB / 1.145 GB, free: 9.117 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002731/0.521, allocations: 0.5997 MB / 1.146 GB, free: 8.512 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00112/0.5221, allocations: 1.069 MB / 1.147 GB, free: 7.203 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003012/0.5252, allocations: 0.6783 MB / 1.147 GB, free: 6.516 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=60): time 4.358e-06/0.5252, allocations: 0 / 1.147 GB, free: 6.516 MB / 0.9044 GB Notification: Performance of matching and sorting (n=60): time 0.00846/0.5337, allocations: 1.75 MB / 1.149 GB, free: 4.758 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.859e-05/0.5337, allocations: 59.91 kB / 1.149 GB, free: 4.688 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002869/0.5366, allocations: 1.401 MB / 1.15 GB, free: 3.277 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001301/0.5368, allocations: 41.7 kB / 1.15 GB, free: 3.23 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008165/0.5376, allocations: 0.6463 MB / 1.151 GB, free: 2.574 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003123/0.5379, allocations: 201 kB / 1.151 GB, free: 2.375 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004764/0.5384, allocations: 170.4 kB / 1.151 GB, free: 2.203 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.5386, allocations: 338 kB / 1.152 GB, free: 1.867 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002675/0.5413, allocations: 0.5562 MB / 1.152 GB, free: 1.309 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002939/0.5442, allocations: 0.7574 MB / 1.153 GB, free: 484 kB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005258/0.5495, allocations: 1.189 MB / 1.154 GB, free: 15.21 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.151e-06/0.5495, allocations: 0 / 1.154 GB, free: 15.21 MB / 0.92 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.006399/0.5559, allocations: 1.436 MB / 1.156 GB, free: 13.77 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.457e-05/0.556, allocations: 8.094 kB / 1.156 GB, free: 13.76 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.492e-05/0.556, allocations: 8 kB / 1.156 GB, free: 13.75 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.909e-05/0.556, allocations: 8 kB / 1.156 GB, free: 13.75 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002173/0.5582, allocations: 255.6 kB / 1.156 GB, free: 13.5 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.347e-05/0.5583, allocations: 8 kB / 1.156 GB, free: 13.49 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002551/0.5608, allocations: 210.9 kB / 1.156 GB, free: 13.28 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001565/0.561, allocations: 39.97 kB / 1.156 GB, free: 13.24 MB / 0.92 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.pulseStart,$PRE.onOff.pulseStart,onOff.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008859/0.5619, allocations: 357.5 kB / 1.157 GB, free: 12.88 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004284/0.5624, allocations: 150.2 kB / 1.157 GB, free: 12.73 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006523/0.5689, allocations: 1.422 MB / 1.158 GB, free: 11.3 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.298e-05/0.5689, allocations: 15.92 kB / 1.158 GB, free: 11.29 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.569, allocations: 3.938 kB / 1.158 GB, free: 11.29 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005631/0.5746, allocations: 1.259 MB / 1.159 GB, free: 10 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01001/0.5846, allocations: 2.953 MB / 1.162 GB, free: 6.953 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.415e-05/0.5847, allocations: 4 kB / 1.162 GB, free: 6.949 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002002/0.5867, allocations: 207.9 kB / 1.162 GB, free: 6.746 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.519e-05/0.5867, allocations: 4 kB / 1.162 GB, free: 6.742 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001159/0.5868, allocations: 23.97 kB / 1.162 GB, free: 6.719 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.708e-05/0.5869, allocations: 12 kB / 1.162 GB, free: 6.707 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.653e-06/0.5869, allocations: 3.938 kB / 1.162 GB, free: 6.703 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009518/0.5964, allocations: 2.227 MB / 1.165 GB, free: 4.434 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001015/0.5975, allocations: 355 kB / 1.165 GB, free: 4.066 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004097/0.5979, allocations: 16 kB / 1.165 GB, free: 4.051 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002378/0.6003, allocations: 135.9 kB / 1.165 GB, free: 3.918 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001903/0.6005, allocations: 52.38 kB / 1.165 GB, free: 3.863 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001676/0.6007, allocations: 35.97 kB / 1.165 GB, free: 3.828 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.00237/0.6031, allocations: 0.983 MB / 1.166 GB, free: 2.848 MB / 0.92 GB Notification: Performance of sort global known variables: time 3.3e-07/0.6031, allocations: 0 / 1.166 GB, free: 2.848 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.002128/0.6052, allocations: 455.3 kB / 1.167 GB, free: 2.402 MB / 0.92 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01105/0.6163, allocations: 3.1 MB / 1.17 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.006611/0.6229, allocations: 1.332 MB / 1.171 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.6229, allocations: 0 / 1.171 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.003051/0.626, allocations: 0.6519 MB / 1.172 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006017/0.632, allocations: 0.7781 MB / 1.172 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04476/0.6768, allocations: 13.68 MB / 1.186 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001267/0.6781, allocations: 1.229 MB / 1.187 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.002547/0.6807, allocations: 304.9 kB / 1.187 GB, free: 12.74 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001383/0.6821, allocations: 0.5656 MB / 1.188 GB, free: 12.17 MB / 0.9512 GB Notification: Performance of SimCode: time 8.12e-07/0.6821, allocations: 0 / 1.188 GB, free: 12.17 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2462/0.9283, allocations: 41.53 MB / 1.228 GB, free: 3.164 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000289/0.9287, allocations: 258.5 kB / 1.228 GB, free: 2.906 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.416/4.345, allocations: 4 kB / 1.228 GB, free: 2.902 MB / 0.9825 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/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)