Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.AbsorptionIndirectSteamVaryingLoad,fileNamePrefix="Buildings_11_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteamVaryingLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad,fileNamePrefix="Buildings_11_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteamVaryingLoad",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.001558/0.001558, allocations: 108 kB / 15.6 MB, free: 128 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.001698/0.001698, allocations: 197.7 kB / 16.53 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.317/1.317, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.568/2.568, allocations: 469.8 MB / 0.7424 GB, free: 7.504 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001776/0.001776, allocations: 63.89 kB / 0.9087 GB, free: 34.33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2487/0.2505, allocations: 159.2 MB / 1.064 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad): time 0.07719/0.3277, allocations: 74.73 MB / 1.137 GB, free: 3.262 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0302/0.358, allocations: 21.49 MB / 1.158 GB, free: 13.72 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002589/0.3606, allocations: 103.4 kB / 1.158 GB, free: 13.62 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.008364/0.369, allocations: 4.598 MB / 1.163 GB, free: 9.012 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.007053/0.3761, allocations: 3.073 MB / 1.166 GB, free: 5.926 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.00477/0.3808, allocations: 2.173 MB / 1.168 GB, free: 3.77 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.01023/0.3911, allocations: 7.976 MB / 1.176 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002538/0.3936, allocations: 1.989 MB / 1.177 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003808/0.3974, allocations: 2.136 MB / 1.18 GB, free: 7.602 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001745/0.3992, allocations: 1.571 MB / 1.181 GB, free: 6.023 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0003046/0.3995, allocations: 211.9 kB / 1.181 GB, free: 5.816 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003605/0.4031, allocations: 1.989 MB / 1.183 GB, free: 3.824 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0007213/0.4039, allocations: 0.7748 MB / 1.184 GB, free: 3.047 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001334/0.4052, allocations: 1.403 MB / 1.185 GB, free: 1.637 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.00486/0.4101, allocations: 4.358 MB / 1.19 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.4101, allocations: 0 / 1.19 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.132e-06/0.4101, allocations: 0 / 1.19 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.207e-05/0.4101, allocations: 0 / 1.19 GB, free: 13.27 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 317 * Number of variables: 317 Notification: Performance of Generate backend data structure: time 0.005051/0.4152, allocations: 3.206 MB / 1.193 GB, free: 9.988 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.4152, allocations: 8.031 kB / 1.193 GB, free: 9.98 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002235/0.4154, allocations: 193.9 kB / 1.193 GB, free: 9.781 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006454/0.4219, allocations: 1.136 MB / 1.194 GB, free: 8.641 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004574/0.4265, allocations: 2.867 MB / 1.197 GB, free: 5.703 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001024/0.4275, allocations: 323.8 kB / 1.197 GB, free: 5.379 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002068/0.4277, allocations: 132 kB / 1.197 GB, free: 5.25 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00438/0.4321, allocations: 1.94 MB / 1.199 GB, free: 3.238 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.145e-05/0.4322, allocations: 0 / 1.199 GB, free: 3.238 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001451/0.4323, allocations: 52 kB / 1.199 GB, free: 3.188 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.4e-05/0.4324, allocations: 32 kB / 1.199 GB, free: 3.156 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006131/0.4385, allocations: 2.086 MB / 1.201 GB, free: 1.062 MB / 0.9512 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.01365/0.4522, allocations: 8.565 MB / 1.21 GB, free: 8.031 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005298/0.4575, allocations: 1.668 MB / 1.211 GB, free: 6.352 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002239/0.4597, allocations: 0.7403 MB / 1.212 GB, free: 5.609 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005491/0.4652, allocations: 3.847 MB / 1.216 GB, free: 1.453 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.373e-05/0.4653, allocations: 39.12 kB / 1.216 GB, free: 1.406 MB / 0.9669 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005902/0.4659, allocations: 118.6 kB / 1.216 GB, free: 1.289 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=57): time 2.184e-06/0.4659, allocations: 0 / 1.216 GB, free: 1.289 MB / 0.9669 GB Notification: Performance of matching and sorting (n=57): time 0.01296/0.4789, allocations: 3.097 MB / 1.219 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.963e-05/0.4789, allocations: 55.97 kB / 1.219 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003659/0.4826, allocations: 2.649 MB / 1.222 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 8.955e-05/0.4827, allocations: 37.7 kB / 1.222 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001025/0.4837, allocations: 1.114 MB / 1.223 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002181/0.4839, allocations: 205.1 kB / 1.223 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005256/0.4845, allocations: 334.5 kB / 1.223 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.4846, allocations: 305.1 kB / 1.224 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00262/0.4872, allocations: 0.9323 MB / 1.224 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002979/0.4902, allocations: 1.359 MB / 1.226 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005019/0.4952, allocations: 2.033 MB / 1.228 GB, free: 4.766 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/0.4953, allocations: 4 kB / 1.228 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.007543/0.5028, allocations: 2.774 MB / 1.23 GB, free: 1.973 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.5028, allocations: 8 kB / 1.23 GB, free: 1.965 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.757e-05/0.5029, allocations: 16.56 kB / 1.23 GB, free: 1.949 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001353/0.5042, allocations: 0.5042 MB / 1.231 GB, free: 1.441 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001608/0.5058, allocations: 383.4 kB / 1.231 GB, free: 1.066 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002363/0.5082, allocations: 1.118 MB / 1.232 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002091/0.5103, allocations: 241.2 kB / 1.233 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001509/0.5105, allocations: 71.95 kB / 1.233 GB, free: 15.61 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (146): * Single equations (assignments): 143 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0008371/0.5113, allocations: 0.5636 MB / 1.233 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003725/0.5117, allocations: 236.9 kB / 1.234 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006569/0.5183, allocations: 2.119 MB / 1.236 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.807e-05/0.5183, allocations: 16 kB / 1.236 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.5183, allocations: 0 / 1.236 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.716e-06/0.5183, allocations: 3.984 kB / 1.236 GB, free: 12.67 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009188/0.5275, allocations: 4.103 MB / 1.24 GB, free: 8.457 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.181e-06/0.5275, allocations: 8.031 kB / 1.24 GB, free: 8.449 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001108/0.5287, allocations: 203.7 kB / 1.24 GB, free: 8.25 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001198/0.5299, allocations: 0.4926 MB / 1.24 GB, free: 7.754 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.889e-05/0.53, allocations: 31.97 kB / 1.24 GB, free: 7.723 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002356/0.5323, allocations: 1.11 MB / 1.241 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.5323, allocations: 0 / 1.241 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007161/0.5395, allocations: 2.197 MB / 1.244 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007465/0.5403, allocations: 493.7 kB / 1.244 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002876/0.5406, allocations: 16 kB / 1.244 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001705/0.5423, allocations: 179.8 kB / 1.244 GB, free: 3.633 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.678e-05/0.5424, allocations: 44.44 kB / 1.244 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.389e-05/0.5425, allocations: 47.95 kB / 1.244 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00264/0.5451, allocations: 1.819 MB / 1.246 GB, free: 1.723 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.51e-07/0.5451, allocations: 3.938 kB / 1.246 GB, free: 1.719 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001835/0.547, allocations: 0.745 MB / 1.247 GB, free: 0.9727 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.3979/0.9449, allocations: 3.335 MB / 1.25 GB, free: 177 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.006187/0.9511, allocations: 2.06 MB / 1.252 GB, free: 177 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/0.9511, allocations: 0.8125 kB / 1.252 GB, free: 177 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002727/0.9539, allocations: 0.8559 MB / 1.253 GB, free: 177 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004641/0.9585, allocations: 1.162 MB / 1.254 GB, free: 176.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03637/0.9949, allocations: 22.4 MB / 1.276 GB, free: 167.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001242/0.9962, allocations: 1.632 MB / 1.278 GB, free: 166.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002326/0.9985, allocations: 463.1 kB / 1.278 GB, free: 166.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001145/0.9997, allocations: 0.9849 MB / 1.279 GB, free: 165.8 MB / 0.9981 GB Notification: Performance of SimCode: time 6.92e-07/0.9997, allocations: 0 / 1.279 GB, free: 165.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.904/4.903, allocations: 68.74 MB / 1.346 GB, free: 112.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.37/23.28, allocations: 5.969 kB / 1.346 GB, free: 112.2 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe ; mkfifo Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe >> ../files/Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteamVaryingLoad_fmu --startTime=0 --stopTime=86400 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteamVaryingLoad.fmu > Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe 2>&1)