Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam,fileNamePrefix="Buildings_latest_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.001488/0.001488, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001819/0.001819, allocations: 199.1 kB / 16.54 MB, free: 6.672 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.327/1.327, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.559/2.559, allocations: 461.9 MB / 0.7346 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 61.59 kB / 0.8992 GB, free: 36.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2292/0.2305, allocations: 157.4 MB / 1.053 GB, free: 8.285 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.04394/0.2744, allocations: 53.47 MB / 1.105 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0133/0.2878, allocations: 11.49 MB / 1.116 GB, free: 7.102 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000985/0.2888, allocations: 59.69 kB / 1.116 GB, free: 7.043 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001425/0.2903, allocations: 0.7567 MB / 1.117 GB, free: 6.281 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.003665/0.2939, allocations: 2.164 MB / 1.119 GB, free: 4.109 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002479/0.2964, allocations: 1.363 MB / 1.121 GB, free: 2.758 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003233/0.2997, allocations: 3.926 MB / 1.124 GB, free: 14.82 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001262/0.3009, allocations: 1.279 MB / 1.126 GB, free: 13.51 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002039/0.303, allocations: 1.409 MB / 1.127 GB, free: 12.1 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001006/0.304, allocations: 1.073 MB / 1.128 GB, free: 11.02 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001881/0.3042, allocations: 140 kB / 1.128 GB, free: 10.89 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001804/0.306, allocations: 1.041 MB / 1.129 GB, free: 9.844 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003328/0.3064, allocations: 438.5 kB / 1.13 GB, free: 9.414 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0006905/0.3071, allocations: 0.859 MB / 1.13 GB, free: 8.551 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.003524/0.3106, allocations: 2.543 MB / 1.133 GB, free: 6 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.3106, allocations: 0 / 1.133 GB, free: 6 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.392e-06/0.3106, allocations: 0 / 1.133 GB, free: 6 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.533e-05/0.3106, allocations: 0 / 1.133 GB, free: 6 MB / 0.8887 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.004765/0.3154, allocations: 2.022 MB / 1.135 GB, free: 3.926 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/0.3155, allocations: 12.62 kB / 1.135 GB, free: 3.914 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002442/0.3157, allocations: 143.8 kB / 1.135 GB, free: 3.766 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005334/0.3211, allocations: 0.5686 MB / 1.136 GB, free: 3.195 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00305/0.3241, allocations: 1.336 MB / 1.137 GB, free: 1.805 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000185/0.3243, allocations: 115.7 kB / 1.137 GB, free: 1.684 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002351/0.3246, allocations: 95.91 kB / 1.137 GB, free: 1.59 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004549/0.3292, allocations: 1.358 MB / 1.138 GB, free: 204 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.183e-05/0.3292, allocations: 0 / 1.138 GB, free: 204 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001667/0.3294, allocations: 40 kB / 1.139 GB, free: 164 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.82e-05/0.3294, allocations: 28 kB / 1.139 GB, free: 136 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005986/0.3354, allocations: 1.425 MB / 1.14 GB, free: 14.71 MB / 0.9044 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.01149/0.347, allocations: 5.401 MB / 1.145 GB, free: 9.059 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004582/0.3516, allocations: 1.061 MB / 1.146 GB, free: 7.992 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002535/0.3541, allocations: 0.6036 MB / 1.147 GB, free: 7.383 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001147/0.3553, allocations: 1.073 MB / 1.148 GB, free: 6.07 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002517/0.3578, allocations: 0.6822 MB / 1.149 GB, free: 5.379 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=60): time 2.465e-06/0.3578, allocations: 0 / 1.149 GB, free: 5.379 MB / 0.9044 GB Notification: Performance of matching and sorting (n=60): time 0.004911/0.3627, allocations: 1.75 MB / 1.15 GB, free: 3.621 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.911e-05/0.3628, allocations: 59.97 kB / 1.15 GB, free: 3.551 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001693/0.3645, allocations: 1.405 MB / 1.152 GB, free: 2.137 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 7.49e-05/0.3646, allocations: 45.7 kB / 1.152 GB, free: 2.086 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005397/0.3651, allocations: 0.6462 MB / 1.152 GB, free: 1.43 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002201/0.3653, allocations: 209 kB / 1.153 GB, free: 1.223 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002846/0.3656, allocations: 166.4 kB / 1.153 GB, free: 1.055 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.3658, allocations: 338 kB / 1.153 GB, free: 0.7188 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001564/0.3673, allocations: 0.5484 MB / 1.154 GB, free: 172 kB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001673/0.369, allocations: 0.7614 MB / 1.154 GB, free: 15.32 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003014/0.372, allocations: 1.193 MB / 1.155 GB, free: 14.07 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.372, allocations: 0 / 1.155 GB, free: 14.07 MB / 0.92 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003573/0.3756, allocations: 1.437 MB / 1.157 GB, free: 12.62 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.3757, allocations: 12.03 kB / 1.157 GB, free: 12.61 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.3757, allocations: 4 kB / 1.157 GB, free: 12.61 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.3757, allocations: 8 kB / 1.157 GB, free: 12.6 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001185/0.3769, allocations: 251.7 kB / 1.157 GB, free: 12.35 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.699e-05/0.3769, allocations: 16.02 kB / 1.157 GB, free: 12.34 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00133/0.3782, allocations: 194.7 kB / 1.157 GB, free: 12.14 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.15e-05/0.3783, allocations: 39.98 kB / 1.157 GB, free: 12.11 MB / 0.92 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.0004665/0.3788, allocations: 357.5 kB / 1.158 GB, free: 11.75 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002449/0.3791, allocations: 154.1 kB / 1.158 GB, free: 11.59 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003643/0.3827, allocations: 1.41 MB / 1.159 GB, free: 10.18 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.219e-05/0.3827, allocations: 7.984 kB / 1.159 GB, free: 10.17 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.3827, allocations: 0 / 1.159 GB, free: 10.17 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003172/0.3859, allocations: 1.263 MB / 1.161 GB, free: 8.875 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005322/0.3913, allocations: 2.965 MB / 1.163 GB, free: 5.824 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.194e-06/0.3913, allocations: 4 kB / 1.163 GB, free: 5.82 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001087/0.3924, allocations: 208 kB / 1.164 GB, free: 5.617 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.384e-06/0.3924, allocations: 8 kB / 1.164 GB, free: 5.609 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.215e-05/0.3925, allocations: 27.97 kB / 1.164 GB, free: 5.582 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/0.3925, allocations: 7.938 kB / 1.164 GB, free: 5.574 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.3925, allocations: 7.938 kB / 1.164 GB, free: 5.566 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005113/0.3976, allocations: 2.223 MB / 1.166 GB, free: 3.301 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004828/0.3981, allocations: 355 kB / 1.166 GB, free: 2.934 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001962/0.3983, allocations: 15.98 kB / 1.166 GB, free: 2.918 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001195/0.3995, allocations: 115.9 kB / 1.166 GB, free: 2.805 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/0.3996, allocations: 56.42 kB / 1.166 GB, free: 2.746 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.811e-05/0.3997, allocations: 35.97 kB / 1.166 GB, free: 2.711 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001195/0.4009, allocations: 0.9908 MB / 1.167 GB, free: 1.723 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4009, allocations: 4 kB / 1.167 GB, free: 1.719 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001108/0.402, allocations: 459.4 kB / 1.168 GB, free: 1.27 MB / 0.92 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.006088/0.4081, allocations: 3.115 MB / 1.171 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.003546/0.4117, allocations: 1.336 MB / 1.172 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.4117, allocations: 0 / 1.172 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001663/0.4134, allocations: 0.6519 MB / 1.173 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003078/0.4164, allocations: 0.764 MB / 1.174 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0201/0.4366, allocations: 13.31 MB / 1.187 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007382/0.4373, allocations: 1.225 MB / 1.188 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001192/0.4385, allocations: 310 kB / 1.188 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007326/0.4393, allocations: 0.5695 MB / 1.189 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of SimCode: time 3.81e-07/0.4393, allocations: 0 / 1.189 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.544/2.983, allocations: 42.25 MB / 1.23 GB, free: 1.617 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.36/16.34, allocations: 13.44 kB / 1.23 GB, free: 1.605 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam.fmu > Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe 2>&1)