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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.004893/0.004893, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001256/0.001256, allocations: 197.1 kB / 16.68 MB, free: 5.93 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.246/1.246, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.012/2.012, allocations: 390.3 MB / 0.6648 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 63.91 kB / 0.9504 GB, free: 8.172 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6041/0.6053, allocations: 140.4 MB / 1.087 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.04507/0.6504, allocations: 53.44 MB / 1.14 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0139/0.6643, allocations: 11.5 MB / 1.151 GB, free: 6.676 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00126/0.6656, allocations: 63.81 kB / 1.151 GB, free: 6.652 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001522/0.6672, allocations: 0.7598 MB / 1.152 GB, free: 6.184 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.00402/0.6712, allocations: 2.167 MB / 1.154 GB, free: 4.891 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002806/0.674, allocations: 1.375 MB / 1.155 GB, free: 4.133 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003569/0.6776, allocations: 3.934 MB / 1.159 GB, free: 2.234 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00136/0.679, allocations: 1.284 MB / 1.16 GB, free: 1.605 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002151/0.6811, allocations: 1.412 MB / 1.162 GB, free: 0.9297 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001014/0.6821, allocations: 1.082 MB / 1.163 GB, free: 424 kB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001697/0.6823, allocations: 139.8 kB / 1.163 GB, free: 424 kB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001885/0.6842, allocations: 1.038 MB / 1.164 GB, free: 12 kB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.000369/0.6846, allocations: 445.2 kB / 1.164 GB, free: 15.76 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0007008/0.6853, allocations: 0.854 MB / 1.165 GB, free: 15.22 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002672/0.688, allocations: 2.574 MB / 1.168 GB, free: 14.24 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.688, allocations: 4.938 kB / 1.168 GB, free: 14.24 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.011e-06/0.688, allocations: 0 / 1.168 GB, free: 14.24 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.619e-05/0.688, allocations: 0 / 1.168 GB, free: 14.24 MB / 0.92 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.002958/0.691, allocations: 2.032 MB / 1.17 GB, free: 12.91 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.17e-05/0.691, allocations: 9.844 kB / 1.17 GB, free: 12.91 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001528/0.6912, allocations: 142.5 kB / 1.17 GB, free: 12.79 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003138/0.6943, allocations: 0.5681 MB / 1.17 GB, free: 12.54 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001904/0.6962, allocations: 1.394 MB / 1.172 GB, free: 11.46 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001152/0.6964, allocations: 124.5 kB / 1.172 GB, free: 11.38 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001521/0.6965, allocations: 91.19 kB / 1.172 GB, free: 11.36 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002582/0.6991, allocations: 1.355 MB / 1.173 GB, free: 10.55 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.395e-05/0.6991, allocations: 5.188 kB / 1.173 GB, free: 10.55 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.907e-05/0.6992, allocations: 36.88 kB / 1.173 GB, free: 10.52 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.641e-05/0.6993, allocations: 23.31 kB / 1.173 GB, free: 10.52 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003429/0.7027, allocations: 1.432 MB / 1.175 GB, free: 9.84 MB / 0.92 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.00659/0.7093, allocations: 5.358 MB / 1.18 GB, free: 5.523 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00271/0.712, allocations: 1.071 MB / 1.181 GB, free: 5.008 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001442/0.7135, allocations: 0.597 MB / 1.181 GB, free: 4.723 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006244/0.7141, allocations: 1.066 MB / 1.183 GB, free: 3.469 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001598/0.7157, allocations: 0.6763 MB / 1.183 GB, free: 3.086 MB / 0.92 GB Notification: Performance of pre-optimization done (n=60): time 2.004e-06/0.7157, allocations: 0 / 1.183 GB, free: 3.086 MB / 0.92 GB Notification: Performance of matching and sorting (n=60): time 0.004646/0.7204, allocations: 1.755 MB / 1.185 GB, free: 2.254 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.027e-05/0.7204, allocations: 58.62 kB / 1.185 GB, free: 2.191 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001541/0.722, allocations: 1.416 MB / 1.186 GB, free: 1.43 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 7.438e-05/0.7221, allocations: 45.66 kB / 1.186 GB, free: 1.383 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005021/0.7226, allocations: 0.6385 MB / 1.187 GB, free: 0.8164 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001893/0.7228, allocations: 211.2 kB / 1.187 GB, free: 0.6328 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002641/0.723, allocations: 166.8 kB / 1.187 GB, free: 0.5312 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.7232, allocations: 332.7 kB / 1.188 GB, free: 212 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001504/0.7247, allocations: 0.5495 MB / 1.188 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001626/0.7263, allocations: 0.7679 MB / 1.189 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002898/0.7292, allocations: 1.182 MB / 1.19 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.7292, allocations: 1.312 kB / 1.19 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003424/0.7327, allocations: 1.439 MB / 1.192 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.7327, allocations: 10.66 kB / 1.192 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.7327, allocations: 5.25 kB / 1.192 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.7327, allocations: 7.812 kB / 1.192 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001151/0.7339, allocations: 251.1 kB / 1.192 GB, free: 13.97 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.665e-05/0.7339, allocations: 20.02 kB / 1.192 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001253/0.7352, allocations: 183.8 kB / 1.192 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.425e-05/0.7353, allocations: 40.44 kB / 1.192 GB, free: 13.84 MB / 0.9356 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.0004548/0.7357, allocations: 358.9 kB / 1.192 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002225/0.7359, allocations: 147.5 kB / 1.193 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003511/0.7395, allocations: 1.415 MB / 1.194 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.424e-05/0.7395, allocations: 13.77 kB / 1.194 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.7395, allocations: 1.125 kB / 1.194 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003057/0.7426, allocations: 1.263 MB / 1.195 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005304/0.7479, allocations: 2.966 MB / 1.198 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.7479, allocations: 2.75 kB / 1.198 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001052/0.7489, allocations: 211.8 kB / 1.198 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/0.749, allocations: 4.125 kB / 1.198 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.435e-05/0.749, allocations: 25.59 kB / 1.198 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.749, allocations: 4.125 kB / 1.198 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-05/0.7491, allocations: 6.688 kB / 1.198 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005032/0.7541, allocations: 2.226 MB / 1.2 GB, free: 8.812 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005638/0.7547, allocations: 352 kB / 1.201 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001911/0.7549, allocations: 14.66 kB / 1.201 GB, free: 8.504 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001181/0.7561, allocations: 118.2 kB / 1.201 GB, free: 8.449 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/0.7562, allocations: 54.66 kB / 1.201 GB, free: 8.418 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.455e-05/0.7563, allocations: 37.75 kB / 1.201 GB, free: 8.402 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001222/0.7575, allocations: 0.9959 MB / 1.202 GB, free: 7.766 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7575, allocations: 3.938 kB / 1.202 GB, free: 7.762 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001169/0.7587, allocations: 455.4 kB / 1.202 GB, free: 7.316 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.006034/0.7647, allocations: 3.124 MB / 1.205 GB, free: 4.148 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.00323/0.7679, allocations: 1.277 MB / 1.207 GB, free: 2.871 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/0.768, allocations: 3.938 kB / 1.207 GB, free: 2.867 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001667/0.7696, allocations: 0.6597 MB / 1.207 GB, free: 2.207 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002931/0.7726, allocations: 0.7604 MB / 1.208 GB, free: 1.465 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01885/0.7914, allocations: 12.3 MB / 1.22 GB, free: 4.867 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007109/0.7922, allocations: 1.221 MB / 1.221 GB, free: 3.617 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0009678/0.7931, allocations: 311.1 kB / 1.222 GB, free: 3.312 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007242/0.7939, allocations: 0.5695 MB / 1.222 GB, free: 2.742 MB / 0.9512 GB Notification: Performance of SimCode: time 3.41e-07/0.7939, allocations: 0 / 1.222 GB, free: 2.742 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4051/1.199, allocations: 42.56 MB / 1.264 GB, free: 8.695 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.18/13.38, allocations: 2.406 kB / 1.264 GB, free: 8.695 MB / 0.9981 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/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)