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/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.718/1.718, allocations: 289.9 MB / 297.4 MB, free: 6.426 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.001251/0.001251, allocations: 180.8 kB / 366.7 MB, free: 1.684 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.614/1.614, allocations: 205.2 MB / 0.626 GB, free: 7.207 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009708/0.0009708, allocations: 95.23 kB / 0.74 GB, free: 39.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.194e-05/2.249e-05, allocations: 4 kB / 0.8598 GB, free: 13.02 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6949/0.695, allocations: 116.3 MB / 0.9733 GB, free: 76.41 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.085/1.78, allocations: 413.8 MB / 1.377 GB, free: 142.7 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002342/1.781, allocations: 87.39 kB / 1.378 GB, free: 142.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.72/3.501, allocations: 0.5516 GB / 1.929 GB, free: 63.58 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.252e-06/3.501, allocations: 0 / 1.929 GB, free: 63.58 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001251/3.501, allocations: 35.98 kB / 1.929 GB, free: 63.55 MB / 0.948 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.003359/3.504, allocations: 1.616 MB / 1.931 GB, free: 61.88 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.61e-05/3.504, allocations: 12.03 kB / 1.931 GB, free: 61.87 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003134/3.507, allocations: 0.6039 MB / 1.931 GB, free: 61.26 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00284/3.51, allocations: 1.589 MB / 1.933 GB, free: 59.62 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001107/3.51, allocations: 83.67 kB / 1.933 GB, free: 59.53 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001352/3.51, allocations: 56 kB / 1.933 GB, free: 59.48 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001628/3.512, allocations: 1.078 MB / 1.934 GB, free: 58.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001505/3.514, allocations: 1.065 MB / 1.935 GB, free: 57.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.689e-05/3.514, allocations: 0 / 1.935 GB, free: 57.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.539e-05/3.514, allocations: 0 / 1.935 GB, free: 57.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.82e-05/3.514, allocations: 24 kB / 1.935 GB, free: 57.28 MB / 0.948 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.006998/3.521, allocations: 5.238 MB / 1.94 GB, free: 51.81 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001319/3.522, allocations: 0.9027 MB / 1.941 GB, free: 50.89 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004999/3.523, allocations: 469.4 kB / 1.942 GB, free: 50.43 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006023/3.523, allocations: 1.065 MB / 1.943 GB, free: 49.13 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006568/3.524, allocations: 0.5408 MB / 1.943 GB, free: 48.57 MB / 0.948 GB Notification: Performance of pre-optimization done (n=60): time 5.22e-06/3.524, allocations: 4 kB / 1.943 GB, free: 48.57 MB / 0.948 GB Notification: Performance of matching and sorting (n=60): time 0.001906/3.526, allocations: 0.9737 MB / 1.944 GB, free: 47.59 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.894e-05/3.526, allocations: 59.97 kB / 1.944 GB, free: 47.52 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001168/3.527, allocations: 0.9978 MB / 1.945 GB, free: 46.52 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.815e-05/3.527, allocations: 25.7 kB / 1.945 GB, free: 46.48 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00049/3.528, allocations: 0.6643 MB / 1.946 GB, free: 45.81 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001798/3.528, allocations: 201 kB / 1.946 GB, free: 45.61 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.31e-05/3.528, allocations: 0 / 1.946 GB, free: 45.61 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.633e-05/3.528, allocations: 330 kB / 1.946 GB, free: 45.29 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004609/3.528, allocations: 413.4 kB / 1.947 GB, free: 44.88 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005633/3.529, allocations: 0.6209 MB / 1.947 GB, free: 44.16 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009188/3.53, allocations: 446.5 kB / 1.948 GB, free: 43.72 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/3.53, allocations: 4 kB / 1.948 GB, free: 43.72 MB / 0.948 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001842/3.532, allocations: 1.094 MB / 1.949 GB, free: 42.61 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/3.532, allocations: 5.562 kB / 1.949 GB, free: 42.61 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/3.532, allocations: 11.98 kB / 1.949 GB, free: 42.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.459e-05/3.532, allocations: 8 kB / 1.949 GB, free: 42.59 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001208/3.533, allocations: 272.3 kB / 1.949 GB, free: 42.32 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/3.533, allocations: 11.94 kB / 1.949 GB, free: 42.31 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001426/3.535, allocations: 183.1 kB / 1.949 GB, free: 42.13 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001112/3.535, allocations: 55.97 kB / 1.949 GB, free: 42.08 MB / 0.948 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.0002037/3.535, allocations: 128.7 kB / 1.949 GB, free: 41.95 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001651/3.537, allocations: 0.9737 MB / 1.95 GB, free: 40.96 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001441/3.537, allocations: 122.5 kB / 1.951 GB, free: 40.84 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002062/3.539, allocations: 1.148 MB / 1.952 GB, free: 39.69 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.069e-05/3.539, allocations: 7.953 kB / 1.952 GB, free: 39.68 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/3.539, allocations: 0 / 1.952 GB, free: 39.68 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00143/3.54, allocations: 1.009 MB / 1.953 GB, free: 38.64 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003823/3.544, allocations: 2.628 MB / 1.955 GB, free: 35.95 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/3.544, allocations: 8.25 kB / 1.955 GB, free: 35.94 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001113/3.545, allocations: 223.7 kB / 1.955 GB, free: 35.72 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-05/3.545, allocations: 4 kB / 1.955 GB, free: 35.71 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.339e-05/3.545, allocations: 19.97 kB / 1.955 GB, free: 35.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.59e-06/3.545, allocations: 7.938 kB / 1.955 GB, free: 35.69 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/3.545, allocations: 8 kB / 1.955 GB, free: 35.68 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002428/3.548, allocations: 1.953 MB / 1.957 GB, free: 33.65 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005759/3.548, allocations: 379.2 kB / 1.958 GB, free: 33.26 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001648/3.549, allocations: 0 / 1.958 GB, free: 33.26 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001155/3.55, allocations: 135.7 kB / 1.958 GB, free: 33.13 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/3.55, allocations: 60.38 kB / 1.958 GB, free: 33.07 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.521e-05/3.55, allocations: 51.95 kB / 1.958 GB, free: 33.02 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0009482/3.551, allocations: 0.7663 MB / 1.959 GB, free: 32.25 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.6e-07/3.551, allocations: 0 / 1.959 GB, free: 32.25 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001629/3.553, allocations: 499 kB / 1.959 GB, free: 31.76 MB / 0.948 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.003629/3.556, allocations: 3.473 MB / 1.963 GB, free: 28.21 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001202/3.557, allocations: 0.8916 MB / 1.963 GB, free: 27.32 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/3.557, allocations: 4 kB / 1.963 GB, free: 27.32 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005443/3.558, allocations: 487.1 kB / 1.964 GB, free: 26.84 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002639/3.561, allocations: 0.5455 MB / 1.964 GB, free: 26.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004134/3.565, allocations: 2.237 MB / 1.967 GB, free: 23.99 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005674/3.565, allocations: 1.244 MB / 1.968 GB, free: 22.72 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001229/3.567, allocations: 289.5 kB / 1.968 GB, free: 22.43 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006628/3.567, allocations: 0.5461 MB / 1.969 GB, free: 21.89 MB / 0.948 GB Notification: Performance of SimCode: time 9.22e-07/3.567, allocations: 7.938 kB / 1.969 GB, free: 21.88 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6732/4.24, allocations: 35.58 MB / 2.003 GB, free: 185.3 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002314/4.241, allocations: 171.2 kB / 2.004 GB, free: 185.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.35/7.591, allocations: 0 / 2.004 GB, free: 185.1 MB / 0.948 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/linux/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)