Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteamVaryingLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad,fileNamePrefix="Buildings_9_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.001113/0.001113, allocations: 87.03 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 223.2 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.434/2.434, allocations: 390.4 MB / 0.6655 GB, free: 2.91 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003432/0.0003432, allocations: 8 kB / 0.8149 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.753/0.7533, allocations: 142.3 MB / 0.9538 GB, free: 8.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad): time 0.07617/0.8295, allocations: 68.53 MB / 1.021 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.02996/0.8595, allocations: 18.43 MB / 1.039 GB, free: 8.984 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004448/0.864, allocations: 79.5 kB / 1.039 GB, free: 8.906 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.005081/0.8692, allocations: 0.9046 MB / 1.04 GB, free: 7.996 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.009763/0.879, allocations: 2.382 MB / 1.042 GB, free: 5.605 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.006153/0.8852, allocations: 1.618 MB / 1.044 GB, free: 4.004 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.009763/0.8949, allocations: 5.745 MB / 1.049 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003521/0.8985, allocations: 1.438 MB / 1.051 GB, free: 12.77 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004529/0.903, allocations: 1.738 MB / 1.052 GB, free: 11.03 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003297/0.9064, allocations: 1.388 MB / 1.054 GB, free: 9.633 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0006316/0.907, allocations: 88 kB / 1.054 GB, free: 9.547 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003758/0.9108, allocations: 1.228 MB / 1.055 GB, free: 8.316 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0007515/0.9115, allocations: 0.5057 MB / 1.055 GB, free: 7.809 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.000888/0.9124, allocations: 464.5 kB / 1.056 GB, free: 7.348 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.004059/0.9165, allocations: 2.79 MB / 1.059 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.9165, allocations: 0 / 1.059 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.635e-06/0.9165, allocations: 4 kB / 1.059 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0001157/0.9167, allocations: 0 / 1.059 GB, free: 4.547 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 313 * Number of variables: 313 Notification: Performance of Generate backend data structure: time 0.005895/0.9226, allocations: 2.39 MB / 1.061 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 6.278e-05/0.9226, allocations: 8.031 kB / 1.061 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006758/0.9233, allocations: 181.8 kB / 1.061 GB, free: 1.898 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006511/0.9299, allocations: 1.222 MB / 1.062 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005659/0.9356, allocations: 1.914 MB / 1.064 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001054/0.9367, allocations: 344.2 kB / 1.065 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004788/0.9372, allocations: 131.9 kB / 1.065 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005774/0.9429, allocations: 2.008 MB / 1.067 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.759e-05/0.943, allocations: 0 / 1.067 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002325/0.9433, allocations: 55.89 kB / 1.067 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.3e-05/0.9433, allocations: 32 kB / 1.067 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006402/0.9497, allocations: 2.281 MB / 1.069 GB, free: 9.762 MB / 0.8262 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.01467/0.9644, allocations: 8.243 MB / 1.077 GB, free: 1.055 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004934/0.9694, allocations: 1.842 MB / 1.079 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002102/0.9715, allocations: 0.8223 MB / 1.08 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006844/0.9784, allocations: 3.902 MB / 1.083 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.724e-05/0.9784, allocations: 39.12 kB / 1.083 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00107/0.9795, allocations: 206.8 kB / 1.084 GB, free: 9.918 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=63): time 4.829e-06/0.9795, allocations: 0 / 1.084 GB, free: 9.918 MB / 0.8419 GB Notification: Performance of matching and sorting (n=63): time 0.01205/0.9916, allocations: 3.418 MB / 1.087 GB, free: 6.469 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.494e-05/0.9917, allocations: 59.97 kB / 1.087 GB, free: 6.398 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004244/0.9959, allocations: 2.026 MB / 1.089 GB, free: 4.344 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001778/0.9961, allocations: 41.7 kB / 1.089 GB, free: 4.297 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.001154/0.9973, allocations: 0.9571 MB / 1.09 GB, free: 3.328 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.000359/0.9977, allocations: 228.8 kB / 1.09 GB, free: 3.102 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/0.9978, allocations: 20 kB / 1.09 GB, free: 3.082 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0002087/0.998, allocations: 345.9 kB / 1.091 GB, free: 2.738 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002403/1, allocations: 0.8217 MB / 1.091 GB, free: 1.914 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002555/1.003, allocations: 1.178 MB / 1.093 GB, free: 0.582 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002291/1.005, allocations: 0.8385 MB / 1.093 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.046e-05/1.005, allocations: 4 kB / 1.093 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.007792/1.013, allocations: 2.529 MB / 1.096 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003071/1.013, allocations: 376.7 kB / 1.096 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.987e-05/1.013, allocations: 8 kB / 1.096 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001309/1.015, allocations: 0.5354 MB / 1.097 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00161/1.016, allocations: 347.5 kB / 1.097 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002214/1.019, allocations: 1.157 MB / 1.098 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00252/1.021, allocations: 302.3 kB / 1.098 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002192/1.021, allocations: 71.95 kB / 1.099 GB, free: 10.26 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/1.021, allocations: 4 kB / 1.099 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006978/1.028, allocations: 2.268 MB / 1.101 GB, free: 7.98 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.837e-05/1.028, allocations: 8 kB / 1.101 GB, free: 7.973 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001218/1.03, allocations: 0.532 MB / 1.101 GB, free: 7.438 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001455/1.031, allocations: 335.5 kB / 1.102 GB, free: 7.109 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002169/1.033, allocations: 1.161 MB / 1.103 GB, free: 5.922 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002283/1.036, allocations: 270.2 kB / 1.103 GB, free: 5.66 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002096/1.036, allocations: 59.95 kB / 1.103 GB, free: 5.602 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (113): * Single equations (assignments): 111 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.001213/1.037, allocations: 0.5086 MB / 1.104 GB, free: 5.082 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000568/1.038, allocations: 205.5 kB / 1.104 GB, free: 4.879 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006777/1.044, allocations: 2.273 MB / 1.106 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.242e-05/1.045, allocations: 4 kB / 1.106 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.247e-05/1.045, allocations: 4 kB / 1.106 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.354e-05/1.045, allocations: 3.984 kB / 1.106 GB, free: 2.586 MB / 0.8575 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 postOpt removeSimpleEquations (simulation): time 0.009733/1.054, allocations: 3.968 MB / 1.11 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.89e-05/1.054, allocations: 11.94 kB / 1.11 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001189/1.056, allocations: 239.9 kB / 1.11 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001204/1.057, allocations: 0.5082 MB / 1.111 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001059/1.057, allocations: 31.95 kB / 1.111 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002158/1.059, allocations: 1.158 MB / 1.112 GB, free: 12.56 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/1.059, allocations: 4 kB / 1.112 GB, free: 12.56 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006875/1.066, allocations: 2.332 MB / 1.114 GB, free: 10.18 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001171/1.067, allocations: 458.1 kB / 1.114 GB, free: 9.715 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005378/1.068, allocations: 16 kB / 1.114 GB, free: 9.699 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002217/1.07, allocations: 231.7 kB / 1.115 GB, free: 9.473 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001208/1.07, allocations: 52.44 kB / 1.115 GB, free: 9.422 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001329/1.07, allocations: 47.94 kB / 1.115 GB, free: 9.375 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.002907/1.073, allocations: 1.395 MB / 1.116 GB, free: 7.965 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.51e-07/1.073, allocations: 0 / 1.116 GB, free: 7.965 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.004123/1.077, allocations: 1.002 MB / 1.117 GB, free: 6.961 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (64): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.00851/1.086, allocations: 3.287 MB / 1.12 GB, free: 3.625 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.008462/1.094, allocations: 3.025 MB / 1.123 GB, free: 0.6016 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/1.094, allocations: 0 / 1.123 GB, free: 0.6016 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.002702/1.097, allocations: 0.965 MB / 1.124 GB, free: 15.64 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004641/1.102, allocations: 0.9052 MB / 1.125 GB, free: 14.74 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03804/1.14, allocations: 14.86 MB / 1.14 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001402/1.141, allocations: 1.462 MB / 1.141 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0028/1.144, allocations: 480.7 kB / 1.142 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001305/1.145, allocations: 0.8038 MB / 1.142 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of SimCode: time 1.052e-06/1.145, allocations: 4 kB / 1.142 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1017/1.247, allocations: 59.26 MB / 1.2 GB, free: 1.5 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002205/1.247, allocations: 274 kB / 1.2 GB, free: 1.145 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.5/4.747, allocations: 2.031 kB / 1.2 GB, free: 1.145 MB / 0.9512 GB (rm -f Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteamVaryingLoad_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteamVaryingLoad.fmu > Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad_res.mat does not exist to compare? outputFormat=mat