Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteamVaryingLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad,fileNamePrefix="Buildings_10_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.0015/0.0015, 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.0014/0.0014, allocations: 194.1 kB / 16.53 MB, free: 6.391 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.269/1.269, 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 10.1.1-maint.10.0.x/package.mo): time 2.344/2.344, allocations: 437.1 MB / 0.7104 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002234/0.002234, allocations: 63.89 kB / 0.8693 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5173/0.5196, allocations: 151.6 MB / 1.017 GB, free: 2.523 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad): time 0.06858/0.5882, allocations: 74.74 MB / 1.09 GB, free: 7.535 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02865/0.6169, allocations: 21.5 MB / 1.111 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003537/0.6205, allocations: 95.5 kB / 1.111 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.009368/0.6299, allocations: 4.588 MB / 1.116 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.008131/0.6381, allocations: 3.075 MB / 1.119 GB, free: 10.2 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.005612/0.6437, allocations: 2.178 MB / 1.121 GB, free: 8.031 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01118/0.6549, allocations: 7.968 MB / 1.129 GB, free: 48 kB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003494/0.6584, allocations: 1.985 MB / 1.131 GB, free: 14.02 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005236/0.6636, allocations: 2.142 MB / 1.133 GB, free: 11.88 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002697/0.6664, allocations: 1.567 MB / 1.134 GB, free: 10.3 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0007301/0.6671, allocations: 208 kB / 1.135 GB, free: 10.1 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004775/0.6719, allocations: 1.993 MB / 1.137 GB, free: 8.102 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.001065/0.673, allocations: 0.7787 MB / 1.137 GB, free: 7.32 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.002381/0.6754, allocations: 1.399 MB / 1.139 GB, free: 5.914 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.007038/0.6824, allocations: 4.362 MB / 1.143 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.6824, allocations: 0 / 1.143 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6824, allocations: 0 / 1.143 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0001017/0.6825, allocations: 0 / 1.143 GB, free: 1.539 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: 317 * Number of variables: 317 Notification: Performance of Generate backend data structure: time 0.007125/0.6897, allocations: 3.194 MB / 1.146 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.6897, allocations: 15.98 kB / 1.146 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003091/0.69, allocations: 189.9 kB / 1.146 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007136/0.6972, allocations: 1.14 MB / 1.147 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005491/0.7027, allocations: 2.863 MB / 1.15 GB, free: 9.98 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001132/0.7038, allocations: 319.9 kB / 1.15 GB, free: 9.66 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003/0.7042, allocations: 139.9 kB / 1.151 GB, free: 9.523 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004925/0.7091, allocations: 1.94 MB / 1.153 GB, free: 7.512 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.687e-05/0.7091, allocations: 3.938 kB / 1.153 GB, free: 7.508 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001633/0.7093, allocations: 52 kB / 1.153 GB, free: 7.457 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.721e-05/0.7093, allocations: 32 kB / 1.153 GB, free: 7.426 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006387/0.7157, allocations: 2.086 MB / 1.155 GB, free: 5.332 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.01663/0.7324, allocations: 8.561 MB / 1.163 GB, free: 12.3 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005583/0.738, allocations: 1.668 MB / 1.165 GB, free: 10.62 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002348/0.7404, allocations: 0.7364 MB / 1.165 GB, free: 9.883 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006159/0.7465, allocations: 3.855 MB / 1.169 GB, free: 5.723 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.489e-05/0.7466, allocations: 35.12 kB / 1.169 GB, free: 5.68 MB / 0.92 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009531/0.7476, allocations: 118.8 kB / 1.169 GB, free: 5.562 MB / 0.92 GB Notification: Performance of pre-optimization done (n=57): time 3.817e-06/0.7476, allocations: 0 / 1.169 GB, free: 5.562 MB / 0.92 GB Notification: Performance of matching and sorting (n=57): time 0.01422/0.7618, allocations: 3.097 MB / 1.172 GB, free: 2.43 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.361e-05/0.7619, allocations: 63.91 kB / 1.172 GB, free: 2.355 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004673/0.7666, allocations: 2.653 MB / 1.175 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001632/0.7667, allocations: 41.7 kB / 1.175 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.001083/0.7678, allocations: 1.103 MB / 1.176 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003206/0.7682, allocations: 213.1 kB / 1.176 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007239/0.7689, allocations: 342.4 kB / 1.177 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.769, allocations: 305.1 kB / 1.177 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002876/0.7719, allocations: 0.9284 MB / 1.178 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003169/0.7751, allocations: 1.359 MB / 1.179 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005276/0.7804, allocations: 2.026 MB / 1.181 GB, free: 9.039 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.615e-05/0.7804, allocations: 4 kB / 1.181 GB, free: 9.035 MB / 0.9356 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.008429/0.7889, allocations: 2.771 MB / 1.184 GB, free: 6.25 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.964e-05/0.7889, allocations: 17.34 kB / 1.184 GB, free: 6.234 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.243e-05/0.7889, allocations: 8 kB / 1.184 GB, free: 6.227 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001464/0.7904, allocations: 0.5159 MB / 1.184 GB, free: 5.707 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001818/0.7922, allocations: 383.4 kB / 1.185 GB, free: 5.332 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002435/0.7947, allocations: 1.118 MB / 1.186 GB, free: 4.188 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002703/0.7974, allocations: 229.4 kB / 1.186 GB, free: 3.965 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002175/0.7977, allocations: 75.95 kB / 1.186 GB, free: 3.891 MB / 0.9356 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.001099/0.7988, allocations: 0.5559 MB / 1.187 GB, free: 3.324 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006148/0.7994, allocations: 236.9 kB / 1.187 GB, free: 3.09 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007132/0.8065, allocations: 2.132 MB / 1.189 GB, free: 0.9453 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-05/0.8066, allocations: 11.97 kB / 1.189 GB, free: 0.9336 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/0.8066, allocations: 4 kB / 1.189 GB, free: 0.9297 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/0.8066, allocations: 3.984 kB / 1.189 GB, free: 0.9258 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0108/0.8174, allocations: 4.107 MB / 1.193 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.175e-06/0.8174, allocations: 0 / 1.193 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001208/0.8187, allocations: 207.9 kB / 1.193 GB, free: 12.51 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001268/0.8199, allocations: 0.4887 MB / 1.194 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.735e-05/0.82, allocations: 31.95 kB / 1.194 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002405/0.8225, allocations: 1.11 MB / 1.195 GB, free: 10.85 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/0.8225, allocations: 4.156 kB / 1.195 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007644/0.8301, allocations: 2.193 MB / 1.197 GB, free: 8.594 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001178/0.8313, allocations: 493.7 kB / 1.197 GB, free: 8.09 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005132/0.8319, allocations: 15.98 kB / 1.197 GB, free: 8.074 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002102/0.834, allocations: 167.8 kB / 1.198 GB, free: 7.91 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001158/0.8341, allocations: 64.36 kB / 1.198 GB, free: 7.848 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001114/0.8342, allocations: 39.95 kB / 1.198 GB, free: 7.809 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.003337/0.8376, allocations: 1.823 MB / 1.199 GB, free: 5.984 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.61e-07/0.8376, allocations: 4 kB / 1.199 GB, free: 5.98 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.00231/0.8399, allocations: 0.7295 MB / 1.2 GB, free: 5.25 MB / 0.9512 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.009334/0.8492, allocations: 3.345 MB / 1.203 GB, free: 1.863 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.006659/0.8559, allocations: 2.072 MB / 1.205 GB, free: 15.79 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.73e-06/0.8559, allocations: 0 / 1.205 GB, free: 15.79 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.003016/0.859, allocations: 0.863 MB / 1.206 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005665/0.8646, allocations: 1.151 MB / 1.207 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04206/0.9067, allocations: 22.39 MB / 1.229 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001449/0.9082, allocations: 1.629 MB / 1.231 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.00224/0.9105, allocations: 470.1 kB / 1.231 GB, free: 3.711 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001501/0.912, allocations: 0.9834 MB / 1.232 GB, free: 2.727 MB / 0.9825 GB Notification: Performance of SimCode: time 3.296e-06/0.912, allocations: 0 / 1.232 GB, free: 2.727 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 8.417/9.329, allocations: 68.76 MB / 1.299 GB, free: 199.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.44/24.77, allocations: 6.953 kB / 1.299 GB, free: 199.2 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe ; mkfifo Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe >> ../files/Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteamVaryingLoad_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteamVaryingLoad.fmu > Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe 2>&1)