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.397/1.397, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.00108/0.00108, allocations: 179.3 kB / 326.5 MB, free: 2.246 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.872/1.872, allocations: 205.4 MB / 0.5775 GB, free: 20.55 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.0008488/0.0008486, allocations: 99.92 kB / 0.6821 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003691/0.0003691, allocations: 12.16 kB / 0.7963 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2657/0.2661, allocations: 106.3 MB / 0.9001 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.129/1.395, allocations: 406 MB / 1.297 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004249/1.396, allocations: 99.31 kB / 1.297 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.463/3.858, allocations: 0.5409 GB / 1.838 GB, free: 199.9 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.887e-06/3.859, allocations: 0 / 1.838 GB, free: 199.9 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0003076/3.859, allocations: 37.89 kB / 1.838 GB, free: 199.9 MB / 0.8855 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.007273/3.866, allocations: 1.892 MB / 1.84 GB, free: 199.1 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.475e-05/3.866, allocations: 10.72 kB / 1.84 GB, free: 199.1 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006908/3.867, allocations: 142.5 kB / 1.84 GB, free: 199 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004084/3.871, allocations: 0.6081 MB / 1.84 GB, free: 198.9 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005315/3.876, allocations: 1.604 MB / 1.842 GB, free: 198.6 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002641/3.877, allocations: 123.7 kB / 1.842 GB, free: 198.5 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000434/3.877, allocations: 92.75 kB / 1.842 GB, free: 198.5 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003729/3.881, allocations: 1.393 MB / 1.843 GB, free: 198.4 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.272e-05/3.881, allocations: 7.875 kB / 1.843 GB, free: 198.4 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000107/3.881, allocations: 35.56 kB / 1.843 GB, free: 198.4 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.19e-05/3.881, allocations: 30.28 kB / 1.843 GB, free: 198.4 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003712/3.885, allocations: 1.534 MB / 1.845 GB, free: 198.4 MB / 0.8855 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.008985/3.894, allocations: 5.423 MB / 1.85 GB, free: 196.4 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003039/3.897, allocations: 1.209 MB / 1.851 GB, free: 196.4 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007086/3.898, allocations: 1.08 MB / 1.853 GB, free: 195.2 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001747/3.899, allocations: 0.7514 MB / 1.853 GB, free: 195.1 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=60): time 3.977e-06/3.899, allocations: 0 / 1.853 GB, free: 195.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=60): time 0.005331/3.905, allocations: 1.969 MB / 1.855 GB, free: 195 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.933e-05/3.905, allocations: 62.69 kB / 1.855 GB, free: 194.9 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001943/3.907, allocations: 1.24 MB / 1.856 GB, free: 194.8 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001335/3.907, allocations: 39.8 kB / 1.856 GB, free: 194.8 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006122/3.907, allocations: 0.6621 MB / 1.857 GB, free: 194.5 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002238/3.908, allocations: 206.6 kB / 1.857 GB, free: 194.4 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.712e-05/3.908, allocations: 14.78 kB / 1.857 GB, free: 194.4 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.743e-05/3.908, allocations: 332.8 kB / 1.858 GB, free: 194.1 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001514/3.909, allocations: 0.6026 MB / 1.858 GB, free: 194.1 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001728/3.911, allocations: 0.8525 MB / 1.859 GB, free: 193.8 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001498/3.913, allocations: 0.6138 MB / 1.86 GB, free: 193.8 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/3.913, allocations: 3.5 kB / 1.86 GB, free: 193.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.0039/3.917, allocations: 1.536 MB / 1.861 GB, free: 193.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.861e-05/3.917, allocations: 7.875 kB / 1.861 GB, free: 193.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-05/3.917, allocations: 7 kB / 1.861 GB, free: 193.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.256e-05/3.917, allocations: 7.625 kB / 1.861 GB, free: 193.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001248/3.918, allocations: 269.8 kB / 1.861 GB, free: 193.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.026e-05/3.918, allocations: 12.44 kB / 1.861 GB, free: 193.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001908/3.92, allocations: 221.1 kB / 1.862 GB, free: 193.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001413/3.92, allocations: 57.33 kB / 1.862 GB, free: 193.7 MB / 0.8855 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,absIndSte.on,$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 (84): * Single equations (assignments): 84 * 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.0009514/3.921, allocations: 364.5 kB / 1.862 GB, free: 193.6 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003127/3.921, allocations: 146.3 kB / 1.862 GB, free: 193.5 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003908/3.925, allocations: 1.584 MB / 1.864 GB, free: 193.4 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-05/3.925, allocations: 7.297 kB / 1.864 GB, free: 193.4 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/3.925, allocations: 5.781 kB / 1.864 GB, free: 193.4 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003174/3.928, allocations: 1.412 MB / 1.865 GB, free: 193.2 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007873/3.936, allocations: 3.174 MB / 1.868 GB, free: 192.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.547e-05/3.936, allocations: 2.312 kB / 1.868 GB, free: 192.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001275/3.938, allocations: 225.6 kB / 1.868 GB, free: 192.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.876e-05/3.938, allocations: 5.125 kB / 1.868 GB, free: 192.8 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.543e-05/3.938, allocations: 27.5 kB / 1.869 GB, free: 192.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.411e-05/3.938, allocations: 3.875 kB / 1.869 GB, free: 192.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.098e-05/3.938, allocations: 10.05 kB / 1.869 GB, free: 192.8 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006345/3.944, allocations: 2.602 MB / 1.871 GB, free: 192.3 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001371/3.946, allocations: 402.3 kB / 1.871 GB, free: 192.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005314/3.946, allocations: 19.28 kB / 1.871 GB, free: 192.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001578/3.948, allocations: 148.7 kB / 1.872 GB, free: 192.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000154/3.948, allocations: 55.17 kB / 1.872 GB, free: 192.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001167/3.948, allocations: 47.53 kB / 1.872 GB, free: 192.1 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001677/3.95, allocations: 0.9893 MB / 1.873 GB, free: 192 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.41e-07/3.95, allocations: 3.875 kB / 1.873 GB, free: 192 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002339/3.952, allocations: 498.5 kB / 1.873 GB, free: 191.9 MB / 0.8855 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,absIndSte.on,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.006903/3.959, allocations: 4.113 MB / 1.877 GB, free: 190.4 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003402/3.963, allocations: 1.331 MB / 1.878 GB, free: 190.3 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/3.963, allocations: 0 / 1.878 GB, free: 190.3 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001619/3.964, allocations: 0.6947 MB / 1.879 GB, free: 190.3 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004294/3.968, allocations: 0.7391 MB / 1.88 GB, free: 190.3 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02287/3.991, allocations: 13.1 MB / 1.893 GB, free: 183.3 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007801/3.992, allocations: 1.251 MB / 1.894 GB, free: 182.6 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.00186/3.994, allocations: 315.9 kB / 1.894 GB, free: 182.5 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008117/3.995, allocations: 0.5586 MB / 1.895 GB, free: 182.1 MB / 0.8855 GB Notification: Performance of SimCode: time 2.384e-06/3.995, allocations: 0 / 1.895 GB, free: 182.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09027/4.085, allocations: 45.49 MB / 1.939 GB, free: 149.7 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002147/4.085, allocations: 237.1 kB / 1.939 GB, free: 149.4 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.846/7.931, allocations: 4 kB / 1.939 GB, free: 149.4 MB / 0.8855 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)