Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_9_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam,fileNamePrefix="Buildings_9_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.001125/0.001125, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001039/0.001039, allocations: 191.2 kB / 16.13 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.265/1.265, allocations: 222.9 MB / 239.8 MB, free: 4.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.186/2.186, allocations: 390.2 MB / 0.6643 GB, free: 0.5234 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 63.91 kB / 0.812 GB, free: 14.74 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5038/0.505, allocations: 140.4 MB / 0.949 GB, free: 9.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.04012/0.5452, allocations: 53.12 MB / 1.001 GB, free: 12.73 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01285/0.5581, allocations: 11.56 MB / 1.012 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001089/0.5592, allocations: 59.62 kB / 1.012 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.001332/0.5606, allocations: 0.6293 MB / 1.013 GB, free: 464 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.003434/0.564, allocations: 1.987 MB / 1.015 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.002247/0.5663, allocations: 1.242 MB / 1.016 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.003672/0.5699, allocations: 5.052 MB / 1.021 GB, free: 8.164 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001072/0.571, allocations: 1.087 MB / 1.022 GB, free: 7.043 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001284/0.5723, allocations: 1.198 MB / 1.023 GB, free: 5.84 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009167/0.5732, allocations: 1.093 MB / 1.024 GB, free: 4.742 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.000139/0.5734, allocations: 68 kB / 1.024 GB, free: 4.676 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001526/0.5749, allocations: 0.9432 MB / 1.025 GB, free: 3.73 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002935/0.5752, allocations: 382.5 kB / 1.026 GB, free: 3.355 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0006057/0.5758, allocations: 0.7887 MB / 1.026 GB, free: 2.562 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.002012/0.5779, allocations: 2.504 MB / 1.029 GB, free: 52 kB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.5779, allocations: 0 / 1.029 GB, free: 52 kB / 0.7794 GB Notification: Performance of FrontEnd: time 2.044e-06/0.5779, allocations: 0 / 1.029 GB, free: 52 kB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.191e-05/0.5779, allocations: 3.938 kB / 1.029 GB, free: 48 kB / 0.7794 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.002818/0.5807, allocations: 2.018 MB / 1.031 GB, free: 13.97 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/0.5808, allocations: 8.031 kB / 1.031 GB, free: 13.96 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001454/0.5809, allocations: 147.8 kB / 1.031 GB, free: 13.81 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003121/0.584, allocations: 0.5725 MB / 1.032 GB, free: 13.24 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001656/0.5857, allocations: 1.36 MB / 1.033 GB, free: 11.82 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001048/0.5858, allocations: 119.6 kB / 1.033 GB, free: 11.7 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001366/0.586, allocations: 92 kB / 1.033 GB, free: 11.61 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002512/0.5885, allocations: 1.354 MB / 1.034 GB, free: 10.22 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.103e-05/0.5885, allocations: 7.906 kB / 1.034 GB, free: 10.21 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.141e-05/0.5886, allocations: 36 kB / 1.034 GB, free: 10.18 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.707e-05/0.5886, allocations: 28 kB / 1.034 GB, free: 10.15 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003213/0.5919, allocations: 1.425 MB / 1.036 GB, free: 8.727 MB / 0.795 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.006255/0.5981, allocations: 5.378 MB / 1.041 GB, free: 3.098 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002521/0.6007, allocations: 1.065 MB / 1.042 GB, free: 2.027 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001382/0.6021, allocations: 0.601 MB / 1.043 GB, free: 1.422 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000615/0.6027, allocations: 1.069 MB / 1.044 GB, free: 116 kB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001537/0.6042, allocations: 0.6745 MB / 1.044 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=60): time 1.984e-06/0.6042, allocations: 0 / 1.044 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of matching and sorting (n=60): time 0.004275/0.6085, allocations: 1.758 MB / 1.046 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.839e-05/0.6086, allocations: 63.95 kB / 1.046 GB, free: 13.58 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001427/0.61, allocations: 1.394 MB / 1.048 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 6.342e-05/0.6101, allocations: 41.7 kB / 1.048 GB, free: 12.13 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004476/0.6105, allocations: 0.6539 MB / 1.048 GB, free: 11.47 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001577/0.6107, allocations: 197.1 kB / 1.048 GB, free: 11.28 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002436/0.6109, allocations: 162.5 kB / 1.049 GB, free: 11.11 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.513e-05/0.611, allocations: 337.9 kB / 1.049 GB, free: 10.78 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001399/0.6125, allocations: 0.5523 MB / 1.049 GB, free: 10.22 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001531/0.614, allocations: 0.7574 MB / 1.05 GB, free: 9.391 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002703/0.6167, allocations: 1.193 MB / 1.051 GB, free: 8.129 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.6167, allocations: 0 / 1.051 GB, free: 8.129 MB / 0.8106 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003191/0.6199, allocations: 1.44 MB / 1.053 GB, free: 6.68 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.6199, allocations: 11.94 kB / 1.053 GB, free: 6.668 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.62, allocations: 4 kB / 1.053 GB, free: 6.664 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.62, allocations: 8 kB / 1.053 GB, free: 6.656 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001087/0.6211, allocations: 252 kB / 1.053 GB, free: 6.41 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.27e-05/0.6211, allocations: 11.94 kB / 1.053 GB, free: 6.398 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001207/0.6223, allocations: 214.8 kB / 1.053 GB, free: 6.188 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.747e-05/0.6224, allocations: 47.97 kB / 1.053 GB, free: 6.141 MB / 0.8106 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.0004206/0.6228, allocations: 355.5 kB / 1.054 GB, free: 5.785 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001936/0.623, allocations: 150.2 kB / 1.054 GB, free: 5.637 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003284/0.6263, allocations: 1.411 MB / 1.055 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/0.6263, allocations: 7.984 kB / 1.055 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.6263, allocations: 0 / 1.055 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002814/0.6292, allocations: 1.263 MB / 1.056 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004738/0.6339, allocations: 2.949 MB / 1.059 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.6339, allocations: 0 / 1.059 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001004/0.6349, allocations: 211.9 kB / 1.059 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.421e-06/0.6349, allocations: 4 kB / 1.059 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.218e-05/0.635, allocations: 23.98 kB / 1.059 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.821e-06/0.635, allocations: 7.984 kB / 1.059 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.635, allocations: 7.875 kB / 1.06 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004609/0.6396, allocations: 2.219 MB / 1.062 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004137/0.6401, allocations: 355 kB / 1.062 GB, free: 13 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001747/0.6403, allocations: 15.98 kB / 1.062 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001117/0.6414, allocations: 143.8 kB / 1.062 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/0.6415, allocations: 52.42 kB / 1.062 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.422e-05/0.6416, allocations: 35.97 kB / 1.062 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001047/0.6426, allocations: 0.9869 MB / 1.063 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6426, allocations: 0 / 1.063 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0009541/0.6436, allocations: 459.3 kB / 1.064 GB, free: 11.32 MB / 0.8262 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.005475/0.6491, allocations: 3.107 MB / 1.067 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.002994/0.6521, allocations: 1.281 MB / 1.068 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.6521, allocations: 0 / 1.068 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001511/0.6536, allocations: 0.6558 MB / 1.069 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002716/0.6563, allocations: 0.7223 MB / 1.069 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02121/0.6776, allocations: 13.67 MB / 1.083 GB, free: 7.316 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006481/0.6782, allocations: 1.221 MB / 1.084 GB, free: 6.066 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001091/0.6793, allocations: 310.9 kB / 1.084 GB, free: 5.762 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007129/0.68, allocations: 0.5617 MB / 1.085 GB, free: 5.199 MB / 0.8419 GB Notification: Performance of SimCode: time 3.11e-07/0.68, allocations: 0 / 1.085 GB, free: 5.199 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5621/1.242, allocations: 40.49 MB / 1.124 GB, free: 13.19 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001633/1.242, allocations: 260.2 kB / 1.124 GB, free: 12.93 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.567/3.809, allocations: 0 / 1.124 GB, free: 12.93 MB / 0.8887 GB (rm -f Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam.fmu > Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe 2>&1)