Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.538/1.538, allocations: 287.4 MB / 302.6 MB, free: 8.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001391/0.001391, allocations: 183 kB / 371.1 MB, free: 10.8 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.187/1.187, allocations: 205.4 MB / 0.6298 GB, free: 10.54 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007332/0.0007332, allocations: 97.17 kB / 0.7431 GB, free: 6.523 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003152/0.0003152, allocations: 12.36 kB / 0.8662 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1532, allocations: 115.3 MB / 0.9787 GB, free: 28.1 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.03592/0.1892, allocations: 49.25 MB / 1.027 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01293/0.2021, allocations: 10.7 MB / 1.037 GB, free: 15.99 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001505/0.2037, allocations: 51.69 kB / 1.037 GB, free: 15.94 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.001516/0.2052, allocations: 0.5394 MB / 1.038 GB, free: 15.39 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.004204/0.2094, allocations: 1.68 MB / 1.039 GB, free: 13.71 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.002566/0.212, allocations: 1.024 MB / 1.04 GB, free: 12.7 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.003856/0.2159, allocations: 4.352 MB / 1.045 GB, free: 8.336 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001093/0.217, allocations: 1.045 MB / 1.046 GB, free: 7.262 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001297/0.2183, allocations: 1.139 MB / 1.047 GB, free: 6.117 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008552/0.2192, allocations: 0.9799 MB / 1.048 GB, free: 5.133 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0001213/0.2193, allocations: 56 kB / 1.048 GB, free: 5.078 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001301/0.2206, allocations: 0.6119 MB / 1.048 GB, free: 4.465 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0002642/0.2209, allocations: 326.7 kB / 1.049 GB, free: 4.145 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.000245/0.2211, allocations: 340.8 kB / 1.049 GB, free: 3.805 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.001464/0.2226, allocations: 1.847 MB / 1.051 GB, free: 1.953 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.2226, allocations: 0 / 1.051 GB, free: 1.953 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.302e-06/0.2226, allocations: 0 / 1.051 GB, free: 1.953 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.501e-05/0.2226, allocations: 0 / 1.051 GB, free: 1.953 MB / 0.6667 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.002541/0.2252, allocations: 1.73 MB / 1.053 GB, free: 176 kB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.2252, allocations: 8.031 kB / 1.053 GB, free: 168 kB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001547/0.2254, allocations: 147.8 kB / 1.053 GB, free: 12 kB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002953/0.2283, allocations: 0.6273 MB / 1.053 GB, free: 15.38 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001764/0.2301, allocations: 1.352 MB / 1.055 GB, free: 13.97 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001221/0.2303, allocations: 119.7 kB / 1.055 GB, free: 13.85 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001446/0.2304, allocations: 96 kB / 1.055 GB, free: 13.75 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002623/0.233, allocations: 1.381 MB / 1.056 GB, free: 12.34 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.45e-05/0.2331, allocations: 4 kB / 1.056 GB, free: 12.34 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-05/0.2332, allocations: 40 kB / 1.056 GB, free: 12.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.06e-05/0.2332, allocations: 24 kB / 1.056 GB, free: 12.27 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003378/0.2366, allocations: 1.491 MB / 1.058 GB, free: 10.78 MB / 0.6823 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.006694/0.2433, allocations: 5.397 MB / 1.063 GB, free: 5.137 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002639/0.2459, allocations: 1.116 MB / 1.064 GB, free: 4.02 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001448/0.2474, allocations: 0.6349 MB / 1.065 GB, free: 3.383 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006818/0.2481, allocations: 1.073 MB / 1.066 GB, free: 2.07 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001584/0.2497, allocations: 0.7057 MB / 1.066 GB, free: 1.352 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=60): time 2.424e-06/0.2497, allocations: 3.938 kB / 1.066 GB, free: 1.348 MB / 0.6823 GB Notification: Performance of matching and sorting (n=60): time 0.3072/0.557, allocations: 1.859 MB / 1.068 GB, free: 89.97 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.202e-05/0.557, allocations: 58.8 kB / 1.068 GB, free: 89.91 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001817/0.5589, allocations: 1.381 MB / 1.07 GB, free: 89.75 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.368e-05/0.5589, allocations: 37.67 kB / 1.07 GB, free: 89.72 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000404/0.5594, allocations: 0.6372 MB / 1.07 GB, free: 89.33 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001527/0.5595, allocations: 207.4 kB / 1.071 GB, free: 89.26 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.097e-05/0.5596, allocations: 15.53 kB / 1.071 GB, free: 89.25 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.162e-05/0.5596, allocations: 338.5 kB / 1.071 GB, free: 88.93 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001437/0.5611, allocations: 0.5861 MB / 1.071 GB, free: 88.78 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001508/0.5626, allocations: 0.7844 MB / 1.072 GB, free: 88.41 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002833/0.5654, allocations: 1.259 MB / 1.073 GB, free: 87.93 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.5654, allocations: 2.469 kB / 1.073 GB, free: 87.93 MB / 0.6823 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003397/0.5688, allocations: 1.505 MB / 1.075 GB, free: 87.46 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.5689, allocations: 7.75 kB / 1.075 GB, free: 87.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.5689, allocations: 6.219 kB / 1.075 GB, free: 87.46 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.5689, allocations: 7.938 kB / 1.075 GB, free: 87.46 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001157/0.5701, allocations: 270.3 kB / 1.075 GB, free: 87.45 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.504e-05/0.5701, allocations: 13.2 kB / 1.075 GB, free: 87.45 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001287/0.5714, allocations: 234.2 kB / 1.075 GB, free: 87.38 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.769e-05/0.5715, allocations: 39.19 kB / 1.075 GB, free: 87.38 MB / 0.6823 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.0004376/0.5719, allocations: 361 kB / 1.076 GB, free: 87.14 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001522/0.5721, allocations: 144.2 kB / 1.076 GB, free: 87.06 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003499/0.5756, allocations: 1.484 MB / 1.077 GB, free: 86.62 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.245e-05/0.5756, allocations: 7.891 kB / 1.077 GB, free: 86.62 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.5756, allocations: 1 kB / 1.077 GB, free: 86.62 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002989/0.5786, allocations: 1.328 MB / 1.079 GB, free: 86.16 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005427/0.5841, allocations: 3.021 MB / 1.082 GB, free: 84.88 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.5841, allocations: 2.969 kB / 1.082 GB, free: 84.88 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001034/0.5851, allocations: 226.8 kB / 1.082 GB, free: 84.86 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.942e-06/0.5851, allocations: 4.125 kB / 1.082 GB, free: 84.86 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.062e-05/0.5852, allocations: 23.75 kB / 1.082 GB, free: 84.85 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.111e-06/0.5852, allocations: 8.312 kB / 1.082 GB, free: 84.85 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.5852, allocations: 3.562 kB / 1.082 GB, free: 84.85 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004718/0.59, allocations: 2.336 MB / 1.084 GB, free: 83.95 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004629/0.5904, allocations: 371.5 kB / 1.085 GB, free: 83.69 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001699/0.5906, allocations: 17.94 kB / 1.085 GB, free: 83.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001147/0.5918, allocations: 157.8 kB / 1.085 GB, free: 83.65 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001106/0.5919, allocations: 56.61 kB / 1.085 GB, free: 83.64 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.93e-05/0.592, allocations: 38.94 kB / 1.085 GB, free: 83.63 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001126/0.5931, allocations: 0.9633 MB / 1.086 GB, free: 83.25 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5931, allocations: 0 / 1.086 GB, free: 83.25 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00103/0.5941, allocations: 449.8 kB / 1.086 GB, free: 83.19 MB / 0.6823 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.005518/0.5997, allocations: 3.19 MB / 1.089 GB, free: 81.7 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003137/0.6028, allocations: 1.341 MB / 1.091 GB, free: 81.34 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.6028, allocations: 5.469 kB / 1.091 GB, free: 81.33 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001522/0.6044, allocations: 0.6867 MB / 1.091 GB, free: 81.14 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003228/0.6076, allocations: 0.7382 MB / 1.092 GB, free: 80.98 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01709/0.6247, allocations: 10.1 MB / 1.102 GB, free: 75.99 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006184/0.6253, allocations: 1.224 MB / 1.103 GB, free: 75.22 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001267/0.6266, allocations: 313.6 kB / 1.103 GB, free: 75.14 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006611/0.6273, allocations: 0.5638 MB / 1.104 GB, free: 74.73 MB / 0.6823 GB Notification: Performance of SimCode: time 4.51e-07/0.6273, allocations: 0 / 1.104 GB, free: 74.73 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.811/1.438, allocations: 42.32 MB / 1.145 GB, free: 40.06 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000211/1.439, allocations: 242.2 kB / 1.145 GB, free: 39.81 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.884/4.323, allocations: 0 / 1.145 GB, free: 39.81 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam.fmu > Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe 2>&1)