Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.617/1.617, allocations: 288.4 MB / 303.6 MB, free: 8.148 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.00107/0.00107, allocations: 192.8 kB / 372.3 MB, free: 10.1 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.354/1.354, allocations: 205.4 MB / 0.631 GB, free: 9.875 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.0008147/0.0008147, allocations: 96.67 kB / 0.7444 GB, free: 5.781 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003396/0.0003396, allocations: 12.31 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.1482, allocations: 115.3 MB / 0.9802 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.03325/0.1815, allocations: 49.26 MB / 1.028 GB, free: 9.848 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01221/0.1937, allocations: 10.7 MB / 1.039 GB, free: 15.13 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001829/0.1956, allocations: 51.62 kB / 1.039 GB, free: 15.08 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.001852/0.1975, allocations: 0.5356 MB / 1.039 GB, free: 14.54 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.005829/0.2033, allocations: 1.806 MB / 1.041 GB, free: 12.73 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.002916/0.2063, allocations: 1.032 MB / 1.042 GB, free: 11.71 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.00476/0.211, allocations: 4.364 MB / 1.046 GB, free: 7.332 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00165/0.2127, allocations: 1.057 MB / 1.047 GB, free: 6.246 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002085/0.2148, allocations: 1.143 MB / 1.048 GB, free: 5.098 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001505/0.2163, allocations: 0.9839 MB / 1.049 GB, free: 4.109 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0001568/0.2165, allocations: 56 kB / 1.05 GB, free: 4.055 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001856/0.2183, allocations: 0.8768 MB / 1.05 GB, free: 3.176 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0002869/0.2186, allocations: 334.7 kB / 1.051 GB, free: 2.848 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0007233/0.2194, allocations: 0.7402 MB / 1.051 GB, free: 2.098 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.001774/0.2212, allocations: 1.921 MB / 1.053 GB, free: 176 kB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2212, allocations: 0 / 1.053 GB, free: 176 kB / 0.6667 GB Notification: Performance of FrontEnd: time 1.323e-06/0.2212, allocations: 0 / 1.053 GB, free: 176 kB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.542e-05/0.2212, allocations: 0 / 1.053 GB, free: 176 kB / 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.002672/0.2239, allocations: 1.734 MB / 1.055 GB, free: 14.39 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.2239, allocations: 12.03 kB / 1.055 GB, free: 14.38 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001513/0.2241, allocations: 139.8 kB / 1.055 GB, free: 14.23 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003003/0.2271, allocations: 0.6272 MB / 1.056 GB, free: 13.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001784/0.2289, allocations: 1.352 MB / 1.057 GB, free: 12.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001201/0.229, allocations: 123.6 kB / 1.057 GB, free: 12.07 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001353/0.2292, allocations: 92 kB / 1.057 GB, free: 11.98 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002714/0.2319, allocations: 1.381 MB / 1.059 GB, free: 10.56 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.244e-05/0.2319, allocations: 4 kB / 1.059 GB, free: 10.56 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.851e-05/0.232, allocations: 36 kB / 1.059 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.108e-05/0.2321, allocations: 24 kB / 1.059 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003483/0.2356, allocations: 1.499 MB / 1.06 GB, free: 8.996 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.007036/0.2426, allocations: 5.394 MB / 1.065 GB, free: 3.355 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00277/0.2454, allocations: 1.12 MB / 1.066 GB, free: 2.23 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001538/0.2469, allocations: 0.6326 MB / 1.067 GB, free: 1.598 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008084/0.2478, allocations: 1.069 MB / 1.068 GB, free: 296 kB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.3194/0.5672, allocations: 0.7079 MB / 1.069 GB, free: 90.03 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=60): time 4.869e-06/0.5672, allocations: 0 / 1.069 GB, free: 90.03 MB / 0.6823 GB Notification: Performance of matching and sorting (n=60): time 0.005462/0.5727, allocations: 1.862 MB / 1.071 GB, free: 89.99 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.906e-05/0.5728, allocations: 57.72 kB / 1.071 GB, free: 89.93 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001802/0.5746, allocations: 1.38 MB / 1.072 GB, free: 89.43 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.411e-05/0.5747, allocations: 38.77 kB / 1.072 GB, free: 89.39 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000442/0.5751, allocations: 0.6424 MB / 1.073 GB, free: 89 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001631/0.5753, allocations: 207.7 kB / 1.073 GB, free: 88.85 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.587e-05/0.5753, allocations: 14.34 kB / 1.073 GB, free: 88.84 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.933e-05/0.5754, allocations: 334.3 kB / 1.073 GB, free: 88.52 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001647/0.5771, allocations: 0.5817 MB / 1.074 GB, free: 88.38 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001694/0.5788, allocations: 0.7936 MB / 1.075 GB, free: 88 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003481/0.5823, allocations: 1.256 MB / 1.076 GB, free: 87.52 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.068e-05/0.5823, allocations: 4 kB / 1.076 GB, free: 87.52 MB / 0.6823 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.004046/0.5864, allocations: 1.507 MB / 1.077 GB, free: 87.05 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.761e-05/0.5864, allocations: 8.031 kB / 1.077 GB, free: 87.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/0.5864, allocations: 7.406 kB / 1.077 GB, free: 87.05 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.694e-05/0.5865, allocations: 8.188 kB / 1.077 GB, free: 87.05 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001283/0.5877, allocations: 272.8 kB / 1.078 GB, free: 87.03 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.97e-05/0.5878, allocations: 10.16 kB / 1.078 GB, free: 87.03 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001522/0.5893, allocations: 227.5 kB / 1.078 GB, free: 86.97 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.861e-05/0.5894, allocations: 46.69 kB / 1.078 GB, free: 86.96 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.000617/0.59, allocations: 360.5 kB / 1.078 GB, free: 86.71 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001832/0.5902, allocations: 143.8 kB / 1.078 GB, free: 86.64 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003723/0.594, allocations: 1.479 MB / 1.08 GB, free: 86.18 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.435e-05/0.594, allocations: 7.641 kB / 1.08 GB, free: 86.18 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.594, allocations: 4.75 kB / 1.08 GB, free: 86.18 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003127/0.5971, allocations: 1.333 MB / 1.081 GB, free: 85.7 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00531/0.6025, allocations: 3.01 MB / 1.084 GB, free: 84.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/0.6025, allocations: 1.812 kB / 1.084 GB, free: 84.41 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001098/0.6036, allocations: 227.5 kB / 1.084 GB, free: 84.39 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-06/0.6036, allocations: 4.281 kB / 1.084 GB, free: 84.39 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.54e-05/0.6037, allocations: 29.02 kB / 1.084 GB, free: 84.38 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.542e-06/0.6037, allocations: 10.05 kB / 1.084 GB, free: 84.38 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/0.6037, allocations: 6.812 kB / 1.084 GB, free: 84.38 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005097/0.6088, allocations: 2.328 MB / 1.087 GB, free: 83.48 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005861/0.6094, allocations: 379.8 kB / 1.087 GB, free: 83.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001621/0.6096, allocations: 19.16 kB / 1.087 GB, free: 83.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001243/0.6108, allocations: 157.2 kB / 1.087 GB, free: 83.18 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001279/0.6109, allocations: 49.91 kB / 1.087 GB, free: 83.17 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.171e-05/0.611, allocations: 34.84 kB / 1.087 GB, free: 83.17 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001327/0.6124, allocations: 0.9668 MB / 1.088 GB, free: 82.79 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.11e-07/0.6124, allocations: 4 kB / 1.088 GB, free: 82.78 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001137/0.6135, allocations: 457 kB / 1.089 GB, free: 82.71 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.005982/0.6195, allocations: 3.202 MB / 1.092 GB, free: 81.23 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003374/0.6229, allocations: 1.345 MB / 1.093 GB, free: 80.87 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.6229, allocations: 1.094 kB / 1.093 GB, free: 80.87 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001625/0.6245, allocations: 0.6869 MB / 1.094 GB, free: 80.68 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003629/0.6282, allocations: 0.734 MB / 1.094 GB, free: 80.52 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01853/0.6467, allocations: 10.11 MB / 1.104 GB, free: 75.35 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000598/0.6474, allocations: 1.22 MB / 1.105 GB, free: 74.4 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001438/0.6488, allocations: 310.8 kB / 1.106 GB, free: 74.25 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006738/0.6495, allocations: 0.562 MB / 1.106 GB, free: 73.79 MB / 0.6823 GB Notification: Performance of SimCode: time 1.303e-06/0.6495, allocations: 0 / 1.106 GB, free: 73.79 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5988/1.248, allocations: 42.74 MB / 1.148 GB, free: 37.05 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001583/1.249, allocations: 236.7 kB / 1.148 GB, free: 36.81 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.303/4.552, allocations: 0 / 1.148 GB, free: 36.81 MB / 0.6823 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe 2>&1)