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.41/1.41, allocations: 251.9 MB / 266.9 MB, free: 11.06 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.001105/0.001105, allocations: 179.7 kB / 326.5 MB, free: 2.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.013/2.013, allocations: 205.4 MB / 0.5775 GB, free: 20.29 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.0009525/0.0009528, allocations: 86 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003567/0.0003572, allocations: 8.719 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.244/0.2444, allocations: 106.3 MB / 0.9001 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.03454/0.279, allocations: 44.77 MB / 0.9439 GB, free: 18.98 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0128/0.2919, allocations: 9.811 MB / 0.9534 GB, free: 9.152 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002103/0.294, allocations: 47.62 kB / 0.9535 GB, free: 9.105 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002005/0.296, allocations: 0.7113 MB / 0.9542 GB, free: 8.391 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.005469/0.3015, allocations: 1.985 MB / 0.9561 GB, free: 6.402 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.003894/0.3054, allocations: 1.474 MB / 0.9576 GB, free: 4.953 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.003911/0.3094, allocations: 2.3 MB / 0.9598 GB, free: 2.648 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00138/0.3108, allocations: 0.9507 MB / 0.9607 GB, free: 1.676 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001971/0.3127, allocations: 1.035 MB / 0.9617 GB, free: 0.6367 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009653/0.3137, allocations: 0.7038 MB / 0.9624 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001555/0.3139, allocations: 52 kB / 0.9625 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002487/0.3164, allocations: 0.6631 MB / 0.9631 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0003274/0.3167, allocations: 290.9 kB / 0.9634 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000515/0.3173, allocations: 336.8 kB / 0.9637 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002821/0.3201, allocations: 1.773 MB / 0.9655 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.3201, allocations: 0 / 0.9655 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.867e-06/0.3201, allocations: 4 kB / 0.9655 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.4e-05/0.3202, allocations: 0 / 0.9655 GB, free: 12.81 MB / 0.6198 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.004232/0.3244, allocations: 1.726 MB / 0.9671 GB, free: 11.03 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 7.191e-05/0.3245, allocations: 8.031 kB / 0.9672 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002879/0.3248, allocations: 147.6 kB / 0.9673 GB, free: 10.87 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003538/0.3284, allocations: 0.6185 MB / 0.9679 GB, free: 10.25 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003452/0.3318, allocations: 1.421 MB / 0.9693 GB, free: 8.773 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001602/0.332, allocations: 119.7 kB / 0.9694 GB, free: 8.648 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001867/0.3322, allocations: 95.98 kB / 0.9695 GB, free: 8.555 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002953/0.3352, allocations: 1.248 MB / 0.9707 GB, free: 7.27 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.591e-05/0.3352, allocations: 0 / 0.9707 GB, free: 7.27 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001016/0.3353, allocations: 40 kB / 0.9707 GB, free: 7.23 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.501e-05/0.3354, allocations: 28 kB / 0.9708 GB, free: 7.203 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003369/0.3388, allocations: 1.241 MB / 0.972 GB, free: 5.957 MB / 0.6198 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.007526/0.3463, allocations: 4.93 MB / 0.9768 GB, free: 0.7812 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002646/0.349, allocations: 0.8849 MB / 0.9777 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001104/0.3501, allocations: 1.069 MB / 0.9787 GB, free: 14.58 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0017/0.3518, allocations: 0.5846 MB / 0.9793 GB, free: 13.98 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=60): time 2.966e-06/0.3518, allocations: 0 / 0.9793 GB, free: 13.98 MB / 0.6355 GB Notification: Performance of matching and sorting (n=60): time 0.004655/0.3565, allocations: 1.5 MB / 0.9807 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.263e-05/0.3566, allocations: 63.91 kB / 0.9808 GB, free: 12.4 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001777/0.3584, allocations: 1.33 MB / 0.9821 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.59e-05/0.3585, allocations: 41.7 kB / 0.9821 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006476/0.3591, allocations: 0.6539 MB / 0.9828 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002401/0.3594, allocations: 205 kB / 0.983 GB, free: 10.15 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.067e-05/0.3594, allocations: 16 kB / 0.983 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.3596, allocations: 333.9 kB / 0.9833 GB, free: 9.801 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001419/0.361, allocations: 473.6 kB / 0.9838 GB, free: 9.34 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001565/0.3626, allocations: 0.6598 MB / 0.9844 GB, free: 8.602 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001412/0.364, allocations: 494.9 kB / 0.9849 GB, free: 8.117 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/0.364, allocations: 8 kB / 0.9849 GB, free: 8.109 MB / 0.6355 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003605/0.3676, allocations: 1.28 MB / 0.9861 GB, free: 6.82 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.897e-05/0.3677, allocations: 6.5 kB / 0.9861 GB, free: 6.816 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.3677, allocations: 4 kB / 0.9862 GB, free: 6.812 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.467e-05/0.3677, allocations: 12 kB / 0.9862 GB, free: 6.801 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001214/0.369, allocations: 272 kB / 0.9864 GB, free: 6.535 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.852e-05/0.369, allocations: 15.92 kB / 0.9864 GB, free: 6.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001634/0.3706, allocations: 234.8 kB / 0.9867 GB, free: 6.289 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001102/0.3708, allocations: 51.97 kB / 0.9867 GB, free: 6.238 MB / 0.6355 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.0008305/0.3716, allocations: 361.5 kB / 0.9871 GB, free: 5.875 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002771/0.3719, allocations: 146.2 kB / 0.9872 GB, free: 5.73 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003666/0.3755, allocations: 1.27 MB / 0.9884 GB, free: 4.449 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.757e-05/0.3756, allocations: 8 kB / 0.9884 GB, free: 4.441 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.236e-06/0.3756, allocations: 4 kB / 0.9884 GB, free: 4.438 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002921/0.3785, allocations: 1.107 MB / 0.9895 GB, free: 3.297 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005607/0.3842, allocations: 2.605 MB / 0.9921 GB, free: 0.6055 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.095e-06/0.3842, allocations: 4 kB / 0.9921 GB, free: 0.6016 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001065/0.3853, allocations: 215.9 kB / 0.9923 GB, free: 400 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.48e-05/0.3853, allocations: 8 kB / 0.9923 GB, free: 392 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.576e-05/0.3854, allocations: 31.97 kB / 0.9923 GB, free: 360 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.995e-06/0.3854, allocations: 4 kB / 0.9923 GB, free: 356 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.241e-06/0.3854, allocations: 7.938 kB / 0.9923 GB, free: 348 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005146/0.3906, allocations: 2.035 MB / 0.9943 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008904/0.3915, allocations: 354.9 kB / 0.9947 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001997/0.3917, allocations: 16.09 kB / 0.9947 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001249/0.393, allocations: 151.8 kB / 0.9948 GB, free: 13.65 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001179/0.3931, allocations: 56.39 kB / 0.9949 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.519e-05/0.3932, allocations: 47.95 kB / 0.9949 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.00138/0.3946, allocations: 0.9319 MB / 0.9958 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3946, allocations: 0 / 0.9958 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00145/0.396, allocations: 451.3 kB / 0.9963 GB, free: 12.18 MB / 0.6511 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.006331/0.4024, allocations: 3.42 MB / 0.9996 GB, free: 8.676 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003206/0.4056, allocations: 1.098 MB / 1.001 GB, free: 7.574 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/0.4057, allocations: 0 / 1.001 GB, free: 7.574 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001596/0.4073, allocations: 0.5621 MB / 1.001 GB, free: 7.012 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003831/0.4111, allocations: 0.7161 MB / 1.002 GB, free: 6.305 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00927/0.4204, allocations: 7.075 MB / 1.009 GB, free: 15.02 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001128/0.4216, allocations: 1.248 MB / 1.01 GB, free: 13.75 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.002004/0.4236, allocations: 325.9 kB / 1.01 GB, free: 13.43 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001084/0.4247, allocations: 0.5734 MB / 1.011 GB, free: 12.86 MB / 0.6667 GB Notification: Performance of SimCode: time 1.162e-06/0.4247, allocations: 0 / 1.011 GB, free: 12.86 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07257/0.4973, allocations: 39.45 MB / 1.049 GB, free: 5.781 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001962/0.4975, allocations: 248.4 kB / 1.05 GB, free: 5.531 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.244/3.742, allocations: 0 / 1.05 GB, free: 5.531 MB / 0.698 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)