Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam,fileNamePrefix="Buildings_11_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.001467/0.001468, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 191.9 kB / 16.53 MB, free: 6.391 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.315/1.315, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.54/2.54, allocations: 469.8 MB / 0.7424 GB, free: 7.418 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00183/0.00183, allocations: 68.17 kB / 0.9086 GB, free: 34.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2476/0.2494, allocations: 159.2 MB / 1.064 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.05674/0.3062, allocations: 53.45 MB / 1.116 GB, free: 8.527 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01587/0.3221, allocations: 11.5 MB / 1.128 GB, free: 13 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001456/0.3236, allocations: 59.69 kB / 1.128 GB, free: 12.95 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001817/0.3255, allocations: 0.7645 MB / 1.128 GB, free: 12.18 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.004786/0.3303, allocations: 2.165 MB / 1.13 GB, free: 10 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002948/0.3332, allocations: 1.363 MB / 1.132 GB, free: 8.648 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.004271/0.3375, allocations: 3.921 MB / 1.136 GB, free: 4.715 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001539/0.3391, allocations: 1.287 MB / 1.137 GB, free: 3.398 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002256/0.3413, allocations: 1.395 MB / 1.138 GB, free: 2.004 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001197/0.3425, allocations: 1.081 MB / 1.139 GB, free: 0.918 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0002085/0.3427, allocations: 140 kB / 1.139 GB, free: 0.7812 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001931/0.3447, allocations: 1.041 MB / 1.14 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0004153/0.3451, allocations: 438.5 kB / 1.141 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0008462/0.346, allocations: 0.8551 MB / 1.142 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002784/0.3488, allocations: 2.536 MB / 1.144 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.3488, allocations: 4 kB / 1.144 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.092e-06/0.3488, allocations: 0 / 1.144 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.341e-05/0.3488, allocations: 0 / 1.144 GB, free: 11.9 MB / 0.9044 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.00325/0.352, allocations: 2.03 MB / 1.146 GB, free: 9.82 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.3521, allocations: 12.03 kB / 1.146 GB, free: 9.809 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000178/0.3523, allocations: 143.8 kB / 1.146 GB, free: 9.66 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003336/0.3556, allocations: 0.5609 MB / 1.147 GB, free: 9.098 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001983/0.3576, allocations: 1.348 MB / 1.148 GB, free: 7.695 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001283/0.3578, allocations: 111.7 kB / 1.148 GB, free: 7.578 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001587/0.3579, allocations: 99.98 kB / 1.148 GB, free: 7.48 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002872/0.3608, allocations: 1.35 MB / 1.15 GB, free: 6.098 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.328e-05/0.3608, allocations: 3.984 kB / 1.15 GB, free: 6.094 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001033/0.3609, allocations: 40 kB / 1.15 GB, free: 6.055 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.272e-05/0.361, allocations: 27.98 kB / 1.15 GB, free: 6.027 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003758/0.3647, allocations: 1.425 MB / 1.151 GB, free: 4.598 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.007712/0.3725, allocations: 5.397 MB / 1.156 GB, free: 14.95 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002945/0.3754, allocations: 1.074 MB / 1.157 GB, free: 13.87 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001604/0.377, allocations: 0.5997 MB / 1.158 GB, free: 13.27 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008741/0.3779, allocations: 1.065 MB / 1.159 GB, free: 11.96 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001787/0.3797, allocations: 0.6783 MB / 1.16 GB, free: 11.27 MB / 0.92 GB Notification: Performance of pre-optimization done (n=60): time 1.984e-06/0.3797, allocations: 0 / 1.16 GB, free: 11.27 MB / 0.92 GB Notification: Performance of matching and sorting (n=60): time 0.005029/0.3848, allocations: 1.75 MB / 1.161 GB, free: 9.512 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.308e-05/0.3848, allocations: 63.95 kB / 1.161 GB, free: 9.438 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00175/0.3866, allocations: 1.413 MB / 1.163 GB, free: 8.016 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 7.168e-05/0.3867, allocations: 41.7 kB / 1.163 GB, free: 7.969 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006001/0.3873, allocations: 0.6463 MB / 1.164 GB, free: 7.312 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002021/0.3875, allocations: 201 kB / 1.164 GB, free: 7.113 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002789/0.3878, allocations: 170.4 kB / 1.164 GB, free: 6.941 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.3879, allocations: 338 kB / 1.164 GB, free: 6.605 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001584/0.3895, allocations: 0.5484 MB / 1.165 GB, free: 6.055 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00179/0.3913, allocations: 0.7574 MB / 1.165 GB, free: 5.219 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003185/0.3945, allocations: 1.197 MB / 1.167 GB, free: 3.957 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.3945, allocations: 0 / 1.167 GB, free: 3.957 MB / 0.92 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003744/0.3983, allocations: 1.44 MB / 1.168 GB, free: 2.508 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.3983, allocations: 9.875 kB / 1.168 GB, free: 2.5 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.3983, allocations: 4 kB / 1.168 GB, free: 2.496 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.3983, allocations: 8.094 kB / 1.168 GB, free: 2.488 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001218/0.3996, allocations: 256 kB / 1.168 GB, free: 2.238 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.458e-05/0.3996, allocations: 12 kB / 1.168 GB, free: 2.227 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001267/0.4009, allocations: 190.9 kB / 1.169 GB, free: 2.039 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.48e-05/0.401, allocations: 39.97 kB / 1.169 GB, free: 2 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.0004983/0.4015, allocations: 361.5 kB / 1.169 GB, free: 1.637 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002313/0.4017, allocations: 150.2 kB / 1.169 GB, free: 1.488 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003824/0.4055, allocations: 1.411 MB / 1.17 GB, free: 72 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/0.4056, allocations: 4 kB / 1.17 GB, free: 68 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.4056, allocations: 0 / 1.17 GB, free: 68 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003347/0.4089, allocations: 1.267 MB / 1.172 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005715/0.4146, allocations: 2.969 MB / 1.175 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.4147, allocations: 0 / 1.175 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001135/0.4158, allocations: 200 kB / 1.175 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/0.4158, allocations: 8 kB / 1.175 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.535e-05/0.4159, allocations: 31.97 kB / 1.175 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.832e-06/0.4159, allocations: 7.938 kB / 1.175 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.4159, allocations: 7.938 kB / 1.175 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00547/0.4214, allocations: 2.227 MB / 1.177 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004994/0.4219, allocations: 359 kB / 1.177 GB, free: 8.816 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001808/0.4221, allocations: 12 kB / 1.177 GB, free: 8.805 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001212/0.4233, allocations: 119.9 kB / 1.177 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/0.4234, allocations: 48.44 kB / 1.178 GB, free: 8.641 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.704e-05/0.4235, allocations: 43.95 kB / 1.178 GB, free: 8.598 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001289/0.4248, allocations: 0.9947 MB / 1.179 GB, free: 7.605 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4248, allocations: 4 kB / 1.179 GB, free: 7.602 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001079/0.4259, allocations: 455.4 kB / 1.179 GB, free: 7.156 MB / 0.9356 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.006497/0.4324, allocations: 3.116 MB / 1.182 GB, free: 4 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.003721/0.4361, allocations: 1.336 MB / 1.183 GB, free: 2.66 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4362, allocations: 0 / 1.183 GB, free: 2.66 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001779/0.4379, allocations: 0.6517 MB / 1.184 GB, free: 2.012 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003097/0.441, allocations: 0.7683 MB / 1.185 GB, free: 1.273 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02164/0.4627, allocations: 13.31 MB / 1.198 GB, free: 3.422 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008991/0.4636, allocations: 1.225 MB / 1.199 GB, free: 2.164 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001161/0.4648, allocations: 316.6 kB / 1.199 GB, free: 1.852 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008179/0.4656, allocations: 0.5656 MB / 1.2 GB, free: 1.285 MB / 0.9512 GB Notification: Performance of SimCode: time 2.4e-07/0.4656, allocations: 0 / 1.2 GB, free: 1.285 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.146/1.611, allocations: 42.26 MB / 1.241 GB, free: 7.508 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.49/15.1, allocations: 12.14 kB / 1.241 GB, free: 7.504 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; mkfifo Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe >> ../files/Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam_fmu --startTime=0 --stopTime=14400 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam.fmu > Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe 2>&1)