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.432/1.432, allocations: 249.3 MB / 261.8 MB, free: 5.918 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001174/0.001174, allocations: 186.3 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.474/1.474, allocations: 205.2 MB / 0.572 GB, free: 10.7 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.0008675/0.0008675, allocations: 88.3 kB / 0.6764 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.891e-05/3.895e-05, allocations: 4 kB / 0.788 GB, free: 97.02 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2166/0.2167, allocations: 106.3 MB / 0.8919 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.55/1.767, allocations: 406 MB / 1.288 GB, free: 260.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002488/1.768, allocations: 98.3 kB / 1.288 GB, free: 260.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.578/3.346, allocations: 0.5393 GB / 1.828 GB, free: 97.96 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.232e-06/3.346, allocations: 0 / 1.828 GB, free: 97.96 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001224/3.346, allocations: 42.81 kB / 1.828 GB, free: 97.92 MB / 0.8698 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.002952/3.349, allocations: 1.613 MB / 1.829 GB, free: 96.27 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/3.349, allocations: 8.031 kB / 1.829 GB, free: 96.27 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001534/3.349, allocations: 139.6 kB / 1.829 GB, free: 96.12 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003008/3.352, allocations: 0.6028 MB / 1.83 GB, free: 95.52 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002725/3.355, allocations: 1.577 MB / 1.832 GB, free: 93.92 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001179/3.355, allocations: 123.9 kB / 1.832 GB, free: 93.79 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001496/3.355, allocations: 100 kB / 1.832 GB, free: 93.7 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00174/3.357, allocations: 1.182 MB / 1.833 GB, free: 92.48 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.376e-05/3.357, allocations: 3.938 kB / 1.833 GB, free: 92.48 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.852e-05/3.357, allocations: 40 kB / 1.833 GB, free: 92.44 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.883e-05/3.357, allocations: 28 kB / 1.833 GB, free: 92.41 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001524/3.359, allocations: 1.132 MB / 1.834 GB, free: 91.28 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or 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.006813/3.366, allocations: 5.424 MB / 1.839 GB, free: 85.67 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001408/3.367, allocations: 0.9209 MB / 1.84 GB, free: 84.74 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005638/3.368, allocations: 490.7 kB / 1.841 GB, free: 84.26 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000622/3.368, allocations: 1.077 MB / 1.842 GB, free: 82.95 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006911/3.369, allocations: 0.5458 MB / 1.842 GB, free: 82.39 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=60): time 3.145e-06/3.369, allocations: 0 / 1.842 GB, free: 82.39 MB / 0.8698 GB Notification: Performance of matching and sorting (n=60): time 0.001507/3.37, allocations: 0.9892 MB / 1.843 GB, free: 81.39 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/3.37, allocations: 67.97 kB / 1.843 GB, free: 81.31 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001337/3.372, allocations: 1.22 MB / 1.845 GB, free: 80.09 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 8.042e-05/3.372, allocations: 41.7 kB / 1.845 GB, free: 80.04 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004261/3.372, allocations: 0.6616 MB / 1.845 GB, free: 79.37 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001561/3.372, allocations: 200.5 kB / 1.845 GB, free: 79.18 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.176e-05/3.373, allocations: 16 kB / 1.845 GB, free: 79.16 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.687e-05/3.373, allocations: 330.2 kB / 1.846 GB, free: 78.83 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005201/3.373, allocations: 417.4 kB / 1.846 GB, free: 78.43 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006332/3.374, allocations: 0.6614 MB / 1.847 GB, free: 77.66 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005351/3.374, allocations: 421.3 kB / 1.847 GB, free: 77.25 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/3.374, allocations: 4 kB / 1.847 GB, free: 77.25 MB / 0.8698 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001518/3.376, allocations: 1.141 MB / 1.848 GB, free: 76.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/3.376, allocations: 4 kB / 1.848 GB, free: 76.09 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/3.376, allocations: 11.94 kB / 1.848 GB, free: 76.08 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/3.376, allocations: 8.625 kB / 1.848 GB, free: 76.07 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001189/3.377, allocations: 267.6 kB / 1.849 GB, free: 75.81 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.381e-05/3.377, allocations: 11.94 kB / 1.849 GB, free: 75.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001427/3.379, allocations: 230.8 kB / 1.849 GB, free: 75.57 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001162/3.379, allocations: 59.91 kB / 1.849 GB, free: 75.52 MB / 0.8698 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 () * 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.0001815/3.379, allocations: 148.8 kB / 1.849 GB, free: 75.36 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000169/3.379, allocations: 146.2 kB / 1.849 GB, free: 75.22 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001769/3.381, allocations: 1.184 MB / 1.85 GB, free: 74.02 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.501e-05/3.381, allocations: 15.98 kB / 1.85 GB, free: 74 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/3.381, allocations: 4 kB / 1.85 GB, free: 74 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001174/3.382, allocations: 1.013 MB / 1.851 GB, free: 72.95 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003476/3.386, allocations: 2.791 MB / 1.854 GB, free: 70.09 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/3.386, allocations: 3.984 kB / 1.854 GB, free: 70.09 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001089/3.387, allocations: 223.9 kB / 1.854 GB, free: 69.87 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.967e-06/3.387, allocations: 4 kB / 1.854 GB, free: 69.87 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.847e-05/3.387, allocations: 31.97 kB / 1.854 GB, free: 69.84 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.553e-06/3.387, allocations: 7.953 kB / 1.854 GB, free: 69.83 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/3.387, allocations: 4 kB / 1.854 GB, free: 69.82 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002194/3.389, allocations: 2.012 MB / 1.856 GB, free: 67.69 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000612/3.39, allocations: 406.8 kB / 1.857 GB, free: 67.27 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001713/3.39, allocations: 12 kB / 1.857 GB, free: 67.26 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001194/3.391, allocations: 147.8 kB / 1.857 GB, free: 67.11 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/3.391, allocations: 52.44 kB / 1.857 GB, free: 67.06 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-05/3.391, allocations: 47.95 kB / 1.857 GB, free: 67.02 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001175/3.392, allocations: 0.9815 MB / 1.858 GB, free: 66.04 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.5e-07/3.392, allocations: 0 / 1.858 GB, free: 66.04 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001426/3.394, allocations: 495.2 kB / 1.858 GB, free: 65.55 MB / 0.8698 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 () * 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.003402/3.397, allocations: 3.509 MB / 1.862 GB, free: 62.02 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001298/3.399, allocations: 0.9335 MB / 1.863 GB, free: 61.08 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/3.399, allocations: 0 / 1.863 GB, free: 61.08 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006108/3.399, allocations: 0.4951 MB / 1.863 GB, free: 60.59 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003381/3.403, allocations: 0.7299 MB / 1.864 GB, free: 59.86 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004235/3.407, allocations: 2.355 MB / 1.866 GB, free: 57.43 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005541/3.407, allocations: 1.252 MB / 1.867 GB, free: 56.15 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001377/3.409, allocations: 319.3 kB / 1.868 GB, free: 55.84 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007203/3.409, allocations: 0.5617 MB / 1.868 GB, free: 55.27 MB / 0.8698 GB Notification: Performance of SimCode: time 1.694e-06/3.41, allocations: 3.938 kB / 1.868 GB, free: 55.27 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06712/3.477, allocations: 45.65 MB / 1.913 GB, free: 9.855 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000155/3.477, allocations: 211.3 kB / 1.913 GB, free: 9.621 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.441/6.918, allocations: 0 / 1.913 GB, free: 9.621 MB / 0.8698 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)