Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.741/2.741, allocations: 287.3 MB / 302.3 MB, free: 8.312 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.001515/0.001515, allocations: 178.8 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.148/2.148, allocations: 205.4 MB / 0.6295 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001189/0.001188, allocations: 86.97 kB / 0.7428 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006502/0.0006505, allocations: 20.19 kB / 0.8657 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.259/0.2597, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.06418/0.3239, allocations: 44.74 MB / 1.022 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02191/0.3459, allocations: 9.833 MB / 1.032 GB, free: 5.594 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002346/0.3483, allocations: 47.69 kB / 1.032 GB, free: 5.547 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.00362/0.3519, allocations: 0.7113 MB / 1.032 GB, free: 4.832 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.009252/0.3612, allocations: 1.992 MB / 1.034 GB, free: 2.836 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.007668/0.3689, allocations: 1.571 MB / 1.036 GB, free: 1.293 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.006778/0.3757, allocations: 2.31 MB / 1.038 GB, free: 14.98 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002276/0.3781, allocations: 0.9546 MB / 1.039 GB, free: 14.01 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002917/0.381, allocations: 1.028 MB / 1.04 GB, free: 12.98 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001452/0.3825, allocations: 0.7076 MB / 1.041 GB, free: 12.27 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0002356/0.3828, allocations: 52 kB / 1.041 GB, free: 12.22 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002959/0.3857, allocations: 0.6631 MB / 1.041 GB, free: 11.55 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.000486/0.3862, allocations: 294.9 kB / 1.042 GB, free: 11.27 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0005788/0.3868, allocations: 336.8 kB / 1.042 GB, free: 10.93 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.003435/0.3903, allocations: 1.781 MB / 1.044 GB, free: 9.145 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.3903, allocations: 0 / 1.044 GB, free: 9.145 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.685e-06/0.3903, allocations: 0 / 1.044 GB, free: 9.145 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 5.046e-05/0.3904, allocations: 0 / 1.044 GB, free: 9.145 MB / 0.6667 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.005326/0.3957, allocations: 1.73 MB / 1.045 GB, free: 7.359 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/0.3958, allocations: 8.031 kB / 1.045 GB, free: 7.352 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003947/0.3962, allocations: 147.6 kB / 1.046 GB, free: 7.199 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006092/0.4023, allocations: 0.6262 MB / 1.046 GB, free: 6.57 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005118/0.4075, allocations: 1.41 MB / 1.048 GB, free: 5.109 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002194/0.4077, allocations: 123.7 kB / 1.048 GB, free: 4.98 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002876/0.408, allocations: 99.91 kB / 1.048 GB, free: 4.883 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004912/0.413, allocations: 1.256 MB / 1.049 GB, free: 3.594 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.629e-05/0.4131, allocations: 4 kB / 1.049 GB, free: 3.59 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001759/0.4132, allocations: 36 kB / 1.049 GB, free: 3.555 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.533e-05/0.4133, allocations: 28 kB / 1.049 GB, free: 3.527 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006492/0.4198, allocations: 1.245 MB / 1.05 GB, free: 2.281 MB / 0.6667 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.01341/0.4333, allocations: 4.934 MB / 1.055 GB, free: 13.1 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005284/0.4386, allocations: 0.8972 MB / 1.056 GB, free: 12.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001223/0.4399, allocations: 1.065 MB / 1.057 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003069/0.443, allocations: 0.5808 MB / 1.058 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=60): time 3.777e-06/0.443, allocations: 3.938 kB / 1.058 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=60): time 0.00852/0.4516, allocations: 1.52 MB / 1.059 GB, free: 8.77 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.038e-05/0.4517, allocations: 59.97 kB / 1.059 GB, free: 8.699 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002938/0.4546, allocations: 1.334 MB / 1.06 GB, free: 7.355 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002365/0.4549, allocations: 37.7 kB / 1.06 GB, free: 7.312 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000863/0.4558, allocations: 0.6462 MB / 1.061 GB, free: 6.656 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003439/0.4561, allocations: 205 kB / 1.061 GB, free: 6.453 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.65e-05/0.4562, allocations: 16 kB / 1.061 GB, free: 6.438 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001642/0.4564, allocations: 337.9 kB / 1.062 GB, free: 6.102 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00265/0.4591, allocations: 473.7 kB / 1.062 GB, free: 5.637 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002844/0.462, allocations: 0.6598 MB / 1.063 GB, free: 4.895 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002664/0.4646, allocations: 0.4949 MB / 1.063 GB, free: 4.402 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.929e-06/0.4647, allocations: 4 kB / 1.063 GB, free: 4.398 MB / 0.6823 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.006338/0.471, allocations: 1.276 MB / 1.064 GB, free: 3.113 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.812e-05/0.4711, allocations: 8 kB / 1.064 GB, free: 3.105 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/0.4711, allocations: 4 kB / 1.064 GB, free: 3.102 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.903e-05/0.4712, allocations: 12 kB / 1.064 GB, free: 3.09 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002366/0.4735, allocations: 279.8 kB / 1.065 GB, free: 2.816 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.082e-05/0.4736, allocations: 11.94 kB / 1.065 GB, free: 2.805 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002834/0.4764, allocations: 230.8 kB / 1.065 GB, free: 2.578 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002827/0.4768, allocations: 55.97 kB / 1.065 GB, free: 2.523 MB / 0.6823 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.y,$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 (92): * Single equations (assignments): 92 * 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.001054/0.4778, allocations: 349.6 kB / 1.065 GB, free: 2.172 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004404/0.4783, allocations: 142.2 kB / 1.065 GB, free: 2.031 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006552/0.4849, allocations: 1.274 MB / 1.067 GB, free: 0.7383 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.32e-05/0.4849, allocations: 11.98 kB / 1.067 GB, free: 0.7266 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.896e-06/0.485, allocations: 0 / 1.067 GB, free: 0.7266 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.6933/1.178, allocations: 1.103 MB / 1.068 GB, free: 89.32 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0107/1.189, allocations: 2.606 MB / 1.07 GB, free: 88.67 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.261e-05/1.189, allocations: 2.031 kB / 1.07 GB, free: 88.67 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002189/1.191, allocations: 219.1 kB / 1.071 GB, free: 88.67 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.926e-05/1.191, allocations: 5.188 kB / 1.071 GB, free: 88.67 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001858/1.192, allocations: 34.89 kB / 1.071 GB, free: 88.66 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.255e-05/1.192, allocations: 4.828 kB / 1.071 GB, free: 88.66 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.214e-06/1.192, allocations: 5.781 kB / 1.071 GB, free: 88.66 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009779/1.201, allocations: 2.034 MB / 1.073 GB, free: 87.83 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001241/1.203, allocations: 357 kB / 1.073 GB, free: 87.63 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004298/1.203, allocations: 17.89 kB / 1.073 GB, free: 87.62 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002729/1.206, allocations: 149.8 kB / 1.073 GB, free: 87.61 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002891/1.206, allocations: 58.44 kB / 1.073 GB, free: 87.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002285/1.206, allocations: 51.58 kB / 1.073 GB, free: 87.59 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.00246/1.209, allocations: 0.9312 MB / 1.074 GB, free: 87.22 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.62e-07/1.209, allocations: 0 / 1.074 GB, free: 87.22 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00252/1.212, allocations: 451.2 kB / 1.075 GB, free: 87.17 MB / 0.6823 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 (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.01156/1.223, allocations: 3.428 MB / 1.078 GB, free: 85.25 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.006291/1.229, allocations: 1.095 MB / 1.079 GB, free: 84.99 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.415e-06/1.23, allocations: 0.9062 kB / 1.079 GB, free: 84.99 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.003201/1.233, allocations: 0.5672 MB / 1.08 GB, free: 84.85 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00661/1.239, allocations: 0.7109 MB / 1.08 GB, free: 84.7 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0114/1.251, allocations: 7.066 MB / 1.087 GB, free: 79.16 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001219/1.252, allocations: 1.253 MB / 1.088 GB, free: 78.39 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003073/1.255, allocations: 335.9 kB / 1.089 GB, free: 78.28 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00168/1.257, allocations: 0.5668 MB / 1.089 GB, free: 77.86 MB / 0.6823 GB Notification: Performance of SimCode: time 1.573e-06/1.257, allocations: 0 / 1.089 GB, free: 77.86 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1172/1.374, allocations: 39.56 MB / 1.128 GB, free: 57.36 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000261/1.375, allocations: 237.8 kB / 1.128 GB, free: 57.11 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.192/5.566, allocations: 3.938 kB / 1.128 GB, free: 57.11 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam.fmu > Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe 2>&1)