Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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_8_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam,fileNamePrefix="Buildings_8_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.001426/0.001426, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001716/0.001716, allocations: 199.2 kB / 16.14 MB, free: 6.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.264/1.264, allocations: 205.1 MB / 222 MB, free: 4.789 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.644/1.644, allocations: 292.3 MB / 0.5484 GB, free: 13.65 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 72.17 kB / 0.6709 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1676, allocations: 114.5 MB / 0.7828 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.04571/0.2134, allocations: 53.13 MB / 0.8347 GB, free: 8.617 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01369/0.2271, allocations: 11.47 MB / 0.8459 GB, free: 13.12 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009566/0.2281, allocations: 51.69 kB / 0.8459 GB, free: 13.07 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001394/0.2295, allocations: 0.6293 MB / 0.8465 GB, free: 12.43 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.00355/0.2331, allocations: 1.972 MB / 0.8485 GB, free: 10.45 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002523/0.2356, allocations: 1.257 MB / 0.8497 GB, free: 9.211 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004069/0.2397, allocations: 5.021 MB / 0.8546 GB, free: 4.18 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001194/0.2409, allocations: 1.083 MB / 0.8556 GB, free: 3.07 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001451/0.2423, allocations: 1.194 MB / 0.8568 GB, free: 1.871 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001036/0.2434, allocations: 1.093 MB / 0.8579 GB, free: 0.7734 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001563/0.2436, allocations: 72 kB / 0.8579 GB, free: 0.7031 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001703/0.2453, allocations: 0.9471 MB / 0.8589 GB, free: 15.75 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003193/0.2456, allocations: 382.5 kB / 0.8592 GB, free: 15.38 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0006761/0.2463, allocations: 0.7887 MB / 0.86 GB, free: 14.59 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002272/0.2486, allocations: 2.5 MB / 0.8625 GB, free: 12.08 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.2486, allocations: 4 kB / 0.8625 GB, free: 12.07 MB / 0.6856 GB Notification: Performance of FrontEnd: time 7.92e-07/0.2486, allocations: 0 / 0.8625 GB, free: 12.07 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.307e-05/0.2486, allocations: 0 / 0.8625 GB, free: 12.07 MB / 0.6856 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.003119/0.2517, allocations: 2.01 MB / 0.8644 GB, free: 10 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.2518, allocations: 12.03 kB / 0.8644 GB, free: 9.992 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001631/0.2519, allocations: 143.8 kB / 0.8646 GB, free: 9.844 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003613/0.2556, allocations: 0.5686 MB / 0.8651 GB, free: 9.273 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001872/0.2574, allocations: 1.348 MB / 0.8664 GB, free: 7.871 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001213/0.2576, allocations: 115.6 kB / 0.8665 GB, free: 7.754 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001513/0.2577, allocations: 104 kB / 0.8666 GB, free: 7.652 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002863/0.2606, allocations: 1.354 MB / 0.868 GB, free: 6.262 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.187e-05/0.2606, allocations: 0 / 0.868 GB, free: 6.262 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001066/0.2607, allocations: 40 kB / 0.868 GB, free: 6.223 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.247e-05/0.2608, allocations: 23.98 kB / 0.868 GB, free: 6.199 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00366/0.2645, allocations: 1.425 MB / 0.8694 GB, free: 4.777 MB / 0.6856 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.007086/0.2716, allocations: 5.366 MB / 0.8747 GB, free: 15.16 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002891/0.2745, allocations: 1.075 MB / 0.8757 GB, free: 14.07 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001535/0.276, allocations: 0.6014 MB / 0.8763 GB, free: 13.47 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006808/0.2767, allocations: 1.077 MB / 0.8774 GB, free: 12.16 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001799/0.2785, allocations: 0.6705 MB / 0.878 GB, free: 11.47 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=60): time 2.144e-06/0.2785, allocations: 0 / 0.878 GB, free: 11.47 MB / 0.7012 GB Notification: Performance of matching and sorting (n=60): time 0.004917/0.2834, allocations: 1.754 MB / 0.8797 GB, free: 9.715 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.751e-05/0.2835, allocations: 59.97 kB / 0.8798 GB, free: 9.641 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001559/0.2851, allocations: 1.389 MB / 0.8811 GB, free: 8.242 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 7.596e-05/0.2851, allocations: 37.7 kB / 0.8812 GB, free: 8.199 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004954/0.2856, allocations: 0.6501 MB / 0.8818 GB, free: 7.539 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001837/0.2858, allocations: 208.9 kB / 0.882 GB, free: 7.332 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002794/0.2861, allocations: 166.5 kB / 0.8822 GB, free: 7.164 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.2862, allocations: 333.9 kB / 0.8825 GB, free: 6.832 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001576/0.2878, allocations: 0.5484 MB / 0.883 GB, free: 6.285 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001732/0.2896, allocations: 0.7613 MB / 0.8838 GB, free: 5.441 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003116/0.2927, allocations: 1.185 MB / 0.8849 GB, free: 4.191 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.2927, allocations: 4 kB / 0.8849 GB, free: 4.188 MB / 0.7012 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003691/0.2964, allocations: 1.44 MB / 0.8863 GB, free: 2.738 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.2964, allocations: 8 kB / 0.8863 GB, free: 2.73 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.2964, allocations: 7.938 kB / 0.8863 GB, free: 2.723 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.2965, allocations: 8 kB / 0.8863 GB, free: 2.715 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001248/0.2977, allocations: 248.1 kB / 0.8866 GB, free: 2.473 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.535e-05/0.2977, allocations: 16.02 kB / 0.8866 GB, free: 2.457 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001391/0.2991, allocations: 214.8 kB / 0.8868 GB, free: 2.246 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.797e-05/0.2992, allocations: 47.97 kB / 0.8869 GB, free: 2.199 MB / 0.7012 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.000468/0.2997, allocations: 353.5 kB / 0.8872 GB, free: 1.844 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002188/0.2999, allocations: 146.2 kB / 0.8873 GB, free: 1.699 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003743/0.3037, allocations: 1.406 MB / 0.8887 GB, free: 288 kB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.201e-05/0.3037, allocations: 8 kB / 0.8887 GB, free: 280 kB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.3037, allocations: 0 / 0.8887 GB, free: 280 kB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003205/0.3069, allocations: 1.271 MB / 0.8899 GB, free: 14.97 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005389/0.3123, allocations: 2.938 MB / 0.8928 GB, free: 11.94 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.74e-06/0.3124, allocations: 4 kB / 0.8928 GB, free: 11.94 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00115/0.3135, allocations: 207.9 kB / 0.893 GB, free: 11.73 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.3135, allocations: 4 kB / 0.893 GB, free: 11.73 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.107e-05/0.3136, allocations: 31.97 kB / 0.8931 GB, free: 11.7 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.3136, allocations: 7.938 kB / 0.8931 GB, free: 11.69 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.3136, allocations: 11.88 kB / 0.8931 GB, free: 11.68 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005335/0.319, allocations: 2.219 MB / 0.8952 GB, free: 9.414 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000478/0.3195, allocations: 358.9 kB / 0.8956 GB, free: 9.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001927/0.3197, allocations: 12 kB / 0.8956 GB, free: 9.031 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001299/0.321, allocations: 131.9 kB / 0.8957 GB, free: 8.902 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/0.3211, allocations: 56.38 kB / 0.8958 GB, free: 8.848 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.273e-05/0.3212, allocations: 35.95 kB / 0.8958 GB, free: 8.812 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00118/0.3224, allocations: 0.9788 MB / 0.8968 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3224, allocations: 0 / 0.8968 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001079/0.3235, allocations: 463.3 kB / 0.8972 GB, free: 7.383 MB / 0.7169 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.006146/0.3296, allocations: 3.11 MB / 0.9002 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003338/0.333, allocations: 1.27 MB / 0.9015 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.333, allocations: 0 / 0.9015 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001749/0.3347, allocations: 0.6558 MB / 0.9021 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003082/0.3378, allocations: 0.7208 MB / 0.9028 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0241/0.3619, allocations: 13.64 MB / 0.9161 GB, free: 3.422 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007801/0.3627, allocations: 1.229 MB / 0.9173 GB, free: 2.164 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001212/0.364, allocations: 311.1 kB / 0.9176 GB, free: 1.859 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008085/0.3648, allocations: 0.5539 MB / 0.9182 GB, free: 1.305 MB / 0.7325 GB Notification: Performance of SimCode: time 2.61e-07/0.3648, allocations: 0 / 0.9182 GB, free: 1.305 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.869/2.234, allocations: 40.49 MB / 0.9577 GB, free: 121.1 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001668/2.234, allocations: 263.5 kB / 0.958 GB, free: 120.8 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.526/5.76, allocations: 0 / 0.958 GB, free: 120.8 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; mkfifo Buildings_8_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe >> ../files/Buildings_8_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam.fmu > Buildings_8_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe 2>&1)