Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.508/1.508, allocations: 252 MB / 267.3 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000956/0.000956, allocations: 172.1 kB / 327 MB, free: 2.125 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.721/1.721, allocations: 205.4 MB / 0.578 GB, free: 20.16 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007997/0.0007999, allocations: 93.95 kB / 0.6826 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003597/0.0003598, allocations: 9 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1981/0.1985, allocations: 106.3 MB / 0.9009 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.03534/0.2339, allocations: 52.13 MB / 0.9518 GB, free: 11.14 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01315/0.2471, allocations: 11.3 MB / 0.9629 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002476/0.2496, allocations: 51.62 kB / 0.9629 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002002/0.2516, allocations: 0.6176 MB / 0.9635 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.008114/0.2598, allocations: 1.974 MB / 0.9654 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003799/0.2636, allocations: 1.23 MB / 0.9666 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.006423/0.27, allocations: 5.006 MB / 0.9715 GB, free: 6.918 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001783/0.2718, allocations: 1.057 MB / 0.9726 GB, free: 5.832 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00245/0.2743, allocations: 1.186 MB / 0.9737 GB, free: 4.641 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001496/0.2758, allocations: 1.038 MB / 0.9747 GB, free: 3.598 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001473/0.276, allocations: 56 kB / 0.9748 GB, free: 3.543 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00238/0.2784, allocations: 0.9315 MB / 0.9757 GB, free: 2.609 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0003572/0.2787, allocations: 346.5 kB / 0.976 GB, free: 2.27 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0008982/0.2796, allocations: 0.7749 MB / 0.9768 GB, free: 1.484 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.003201/0.2829, allocations: 2.434 MB / 0.9792 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.2829, allocations: 0 / 0.9792 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.684e-06/0.2829, allocations: 0 / 0.9792 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.85e-05/0.2829, allocations: 0 / 0.9792 GB, free: 15.04 MB / 0.6355 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.003141/0.2861, allocations: 1.726 MB / 0.9808 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/0.2861, allocations: 8.031 kB / 0.9808 GB, free: 13.26 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001857/0.2863, allocations: 147.8 kB / 0.981 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003193/0.2895, allocations: 0.6194 MB / 0.9816 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002085/0.2916, allocations: 1.352 MB / 0.9829 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001375/0.2918, allocations: 115.7 kB / 0.983 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001469/0.2919, allocations: 96 kB / 0.9831 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002827/0.2948, allocations: 1.389 MB / 0.9845 GB, free: 9.441 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.281e-05/0.2948, allocations: 0 / 0.9845 GB, free: 9.441 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.446e-05/0.2949, allocations: 36 kB / 0.9845 GB, free: 9.406 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.32e-05/0.2949, allocations: 24 kB / 0.9845 GB, free: 9.383 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003656/0.2986, allocations: 1.499 MB / 0.986 GB, free: 7.879 MB / 0.6355 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.008132/0.3067, allocations: 5.393 MB / 0.9913 GB, free: 2.234 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002881/0.3097, allocations: 1.12 MB / 0.9924 GB, free: 1.105 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001566/0.3112, allocations: 0.6388 MB / 0.993 GB, free: 472 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000858/0.3121, allocations: 1.073 MB / 0.994 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001751/0.3139, allocations: 0.7133 MB / 0.9947 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=60): time 2.705e-06/0.3139, allocations: 0 / 0.9947 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of matching and sorting (n=60): time 0.005096/0.319, allocations: 1.86 MB / 0.9965 GB, free: 12.56 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.968e-05/0.3191, allocations: 55.97 kB / 0.9966 GB, free: 12.49 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001871/0.3209, allocations: 1.393 MB / 0.9979 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 8.577e-05/0.321, allocations: 37.7 kB / 0.998 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005917/0.3216, allocations: 0.6384 MB / 0.9986 GB, free: 10.4 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002322/0.3219, allocations: 209.1 kB / 0.9988 GB, free: 10.19 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.549e-05/0.322, allocations: 16 kB / 0.9988 GB, free: 10.18 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.3221, allocations: 334 kB / 0.9991 GB, free: 9.844 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001503/0.3236, allocations: 0.5875 MB / 0.9997 GB, free: 9.254 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001648/0.3253, allocations: 0.7926 MB / 1 GB, free: 8.383 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003053/0.3283, allocations: 1.264 MB / 1.002 GB, free: 7.051 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.3283, allocations: 0 / 1.002 GB, free: 7.051 MB / 0.6511 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003825/0.3322, allocations: 1.511 MB / 1.003 GB, free: 5.531 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.605e-05/0.3322, allocations: 8 kB / 1.003 GB, free: 5.523 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.3322, allocations: 4 kB / 1.003 GB, free: 5.52 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.575e-05/0.3322, allocations: 12 kB / 1.003 GB, free: 5.508 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001261/0.3335, allocations: 259.8 kB / 1.003 GB, free: 5.254 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.603e-05/0.3335, allocations: 19.94 kB / 1.003 GB, free: 5.234 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001581/0.3351, allocations: 234.8 kB / 1.004 GB, free: 5.004 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001113/0.3353, allocations: 39.97 kB / 1.004 GB, free: 4.965 MB / 0.6511 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007255/0.336, allocations: 361.5 kB / 1.004 GB, free: 4.602 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002007/0.3362, allocations: 146.2 kB / 1.004 GB, free: 4.457 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003646/0.3399, allocations: 1.494 MB / 1.006 GB, free: 2.953 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.389e-05/0.3399, allocations: 8 kB / 1.006 GB, free: 2.945 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.3399, allocations: 0 / 1.006 GB, free: 2.945 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003218/0.3431, allocations: 1.337 MB / 1.007 GB, free: 1.578 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005635/0.3488, allocations: 3.023 MB / 1.01 GB, free: 14.47 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.103e-06/0.3488, allocations: 4 kB / 1.01 GB, free: 14.46 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001159/0.35, allocations: 220 kB / 1.01 GB, free: 14.25 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.937e-06/0.35, allocations: 4 kB / 1.01 GB, free: 14.25 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.541e-05/0.3501, allocations: 23.97 kB / 1.01 GB, free: 14.22 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.706e-06/0.3501, allocations: 7.938 kB / 1.01 GB, free: 14.21 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.3501, allocations: 8.031 kB / 1.01 GB, free: 14.21 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005193/0.3553, allocations: 2.336 MB / 1.012 GB, free: 11.83 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006187/0.3559, allocations: 366.9 kB / 1.013 GB, free: 11.45 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000176/0.3561, allocations: 19.98 kB / 1.013 GB, free: 11.43 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001255/0.3574, allocations: 163.8 kB / 1.013 GB, free: 11.27 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/0.3575, allocations: 56.42 kB / 1.013 GB, free: 11.21 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.152e-05/0.3576, allocations: 31.97 kB / 1.013 GB, free: 11.18 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001261/0.3588, allocations: 0.9748 MB / 1.014 GB, free: 10.21 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.8e-07/0.3589, allocations: 0 / 1.014 GB, free: 10.21 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001215/0.3601, allocations: 451.4 kB / 1.014 GB, free: 9.766 MB / 0.6667 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.006232/0.3663, allocations: 3.204 MB / 1.018 GB, free: 6.512 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003523/0.3699, allocations: 1.348 MB / 1.019 GB, free: 5.16 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/0.3699, allocations: 0 / 1.019 GB, free: 5.16 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001692/0.3716, allocations: 0.6909 MB / 1.02 GB, free: 4.473 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004071/0.3757, allocations: 0.75 MB / 1.02 GB, free: 3.738 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0275/0.4032, allocations: 13.9 MB / 1.034 GB, free: 5.305 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007777/0.404, allocations: 1.225 MB / 1.035 GB, free: 4.047 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001522/0.4055, allocations: 307.5 kB / 1.035 GB, free: 3.746 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001038/0.4066, allocations: 0.5578 MB / 1.036 GB, free: 3.188 MB / 0.6823 GB Notification: Performance of SimCode: time 1.222e-06/0.4066, allocations: 0 / 1.036 GB, free: 3.188 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.456/0.8626, allocations: 41.23 MB / 1.076 GB, free: 138 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002245/0.8629, allocations: 274 kB / 1.076 GB, free: 137.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.48/4.343, allocations: 0 / 1.076 GB, free: 137.8 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe 2>&1)