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.664/1.664, allocations: 252 MB / 267 MB, free: 10.97 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.001108/0.001108, allocations: 174.5 kB / 326.6 MB, free: 2.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.833/1.833, allocations: 205.4 MB / 0.5777 GB, free: 20.59 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.0007924/0.0007924, allocations: 84 kB / 0.6822 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003516/0.0003516, allocations: 16.22 kB / 0.7964 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2517/0.2521, allocations: 106.3 MB / 0.9003 GB, free: 64.37 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.04234/0.2945, allocations: 49.28 MB / 0.9484 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01379/0.3083, allocations: 10.63 MB / 0.9588 GB, free: 4.297 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002733/0.3111, allocations: 55.62 kB / 0.9589 GB, free: 4.242 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002292/0.3134, allocations: 0.5395 MB / 0.9594 GB, free: 3.699 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.006892/0.3203, allocations: 1.686 MB / 0.961 GB, free: 2.008 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.003754/0.3241, allocations: 0.9838 MB / 0.962 GB, free: 1.035 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.006736/0.3309, allocations: 4.312 MB / 0.9662 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002611/0.3335, allocations: 0.9232 MB / 0.9671 GB, free: 11.76 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003664/0.3372, allocations: 1.139 MB / 0.9682 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002573/0.3398, allocations: 0.9838 MB / 0.9692 GB, free: 9.629 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0005205/0.3404, allocations: 52 kB / 0.9692 GB, free: 9.578 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00308/0.3435, allocations: 0.6002 MB / 0.9698 GB, free: 8.977 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0005205/0.344, allocations: 334.6 kB / 0.9701 GB, free: 8.648 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0007427/0.3448, allocations: 336.9 kB / 0.9705 GB, free: 8.312 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002929/0.3477, allocations: 1.843 MB / 0.9723 GB, free: 6.461 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.423e-06/0.3478, allocations: 0 / 0.9723 GB, free: 6.461 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.414e-06/0.3478, allocations: 0 / 0.9723 GB, free: 6.461 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.362e-05/0.3478, allocations: 0 / 0.9723 GB, free: 6.461 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.003934/0.3518, allocations: 1.738 MB / 0.974 GB, free: 4.664 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.498e-05/0.3518, allocations: 8.031 kB / 0.974 GB, free: 4.656 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002554/0.3521, allocations: 147.6 kB / 0.9741 GB, free: 4.504 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003741/0.3558, allocations: 0.6185 MB / 0.9747 GB, free: 3.883 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002694/0.3585, allocations: 1.294 MB / 0.976 GB, free: 2.535 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000139/0.3587, allocations: 119.7 kB / 0.9761 GB, free: 2.414 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001546/0.3589, allocations: 88 kB / 0.9762 GB, free: 2.328 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003233/0.3621, allocations: 1.377 MB / 0.9775 GB, free: 0.9141 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.217e-05/0.3622, allocations: 7.953 kB / 0.9775 GB, free: 0.9062 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001088/0.3623, allocations: 39.98 kB / 0.9776 GB, free: 0.8672 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.645e-05/0.3623, allocations: 27.94 kB / 0.9776 GB, free: 0.8398 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003944/0.3663, allocations: 1.491 MB / 0.979 GB, free: 15.34 MB / 0.6355 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.009631/0.376, allocations: 5.39 MB / 0.9843 GB, free: 9.707 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003381/0.3794, allocations: 1.124 MB / 0.9854 GB, free: 8.578 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001698/0.3811, allocations: 0.6314 MB / 0.986 GB, free: 7.945 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001073/0.3822, allocations: 1.069 MB / 0.9871 GB, free: 6.637 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001949/0.3842, allocations: 0.7056 MB / 0.9878 GB, free: 5.918 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=60): time 5.14e-06/0.3842, allocations: 0 / 0.9878 GB, free: 5.918 MB / 0.6355 GB Notification: Performance of matching and sorting (n=60): time 0.005729/0.3899, allocations: 1.856 MB / 0.9896 GB, free: 4.055 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000104/0.3901, allocations: 59.97 kB / 0.9896 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002362/0.3924, allocations: 1.373 MB / 0.991 GB, free: 2.602 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001235/0.3926, allocations: 45.7 kB / 0.991 GB, free: 2.551 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.00065/0.3932, allocations: 0.6384 MB / 0.9916 GB, free: 1.902 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003144/0.3935, allocations: 205 kB / 0.9918 GB, free: 1.699 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.507e-05/0.3936, allocations: 16 kB / 0.9918 GB, free: 1.684 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001765/0.3938, allocations: 345.8 kB / 0.9922 GB, free: 1.34 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001701/0.3955, allocations: 0.5836 MB / 0.9927 GB, free: 0.7578 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001893/0.3974, allocations: 0.7849 MB / 0.9935 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001704/0.3991, allocations: 0.5965 MB / 0.9941 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.396e-06/0.3991, allocations: 4 kB / 0.9941 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.004205/0.4034, allocations: 1.499 MB / 0.9956 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.706e-05/0.4034, allocations: 8 kB / 0.9956 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.711e-05/0.4034, allocations: 4 kB / 0.9956 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.933e-05/0.4035, allocations: 8 kB / 0.9956 GB, free: 13.76 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001338/0.4048, allocations: 271.9 kB / 0.9958 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.471e-05/0.4049, allocations: 11.94 kB / 0.9958 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002038/0.4069, allocations: 234.8 kB / 0.9961 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001271/0.4071, allocations: 43.97 kB / 0.9961 GB, free: 13.21 MB / 0.6511 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.000924/0.408, allocations: 361.5 kB / 0.9965 GB, free: 12.85 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003566/0.4084, allocations: 142.2 kB / 0.9966 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004262/0.4126, allocations: 1.477 MB / 0.998 GB, free: 11.22 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.259e-05/0.4127, allocations: 11.98 kB / 0.998 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/0.4127, allocations: 0 / 0.998 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003507/0.4162, allocations: 1.337 MB / 0.9994 GB, free: 9.844 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006827/0.4231, allocations: 3.011 MB / 1.002 GB, free: 6.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/0.4231, allocations: 4.031 kB / 1.002 GB, free: 6.746 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001219/0.4243, allocations: 235.9 kB / 1.003 GB, free: 6.516 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.389e-05/0.4244, allocations: 4 kB / 1.003 GB, free: 6.512 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.318e-05/0.4244, allocations: 23.97 kB / 1.003 GB, free: 6.488 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.434e-06/0.4245, allocations: 4 kB / 1.003 GB, free: 6.484 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.145e-06/0.4245, allocations: 11.92 kB / 1.003 GB, free: 6.473 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006055/0.4305, allocations: 2.324 MB / 1.005 GB, free: 4.105 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001063/0.4316, allocations: 374.8 kB / 1.005 GB, free: 3.719 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003433/0.432, allocations: 16 kB / 1.005 GB, free: 3.703 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00142/0.4334, allocations: 151.9 kB / 1.005 GB, free: 3.555 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001532/0.4336, allocations: 52.48 kB / 1.005 GB, free: 3.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.864e-05/0.4337, allocations: 31.97 kB / 1.005 GB, free: 3.469 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001582/0.4353, allocations: 0.9631 MB / 1.006 GB, free: 2.508 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.11e-07/0.4353, allocations: 0 / 1.006 GB, free: 2.508 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001563/0.4369, allocations: 451.3 kB / 1.007 GB, free: 2.066 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.007051/0.4439, allocations: 3.191 MB / 1.01 GB, free: 14.83 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003827/0.4478, allocations: 1.344 MB / 1.011 GB, free: 13.48 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/0.4478, allocations: 384 / 1.011 GB, free: 13.48 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001842/0.4497, allocations: 0.6945 MB / 1.012 GB, free: 12.79 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004114/0.4538, allocations: 0.728 MB / 1.013 GB, free: 12.07 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02384/0.4777, allocations: 10.1 MB / 1.022 GB, free: 1.559 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009381/0.4787, allocations: 1.221 MB / 1.024 GB, free: 316 kB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001821/0.4805, allocations: 293.8 kB / 1.024 GB, free: 20 kB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009563/0.4815, allocations: 0.5656 MB / 1.025 GB, free: 15.45 MB / 0.6823 GB Notification: Performance of SimCode: time 1.232e-06/0.4815, allocations: 0 / 1.025 GB, free: 15.45 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5859/1.067, allocations: 40.88 MB / 1.064 GB, free: 143.5 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000227/1.068, allocations: 241.7 kB / 1.065 GB, free: 143.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.382/4.449, allocations: 0 / 1.065 GB, free: 143.3 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)