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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.312/2.312, allocations: 387.4 MB / 394.9 MB, free: 13.42 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 188.8 kB / 487.4 MB, free: 5.035 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.513/1.513, allocations: 221.5 MB / 0.7824 GB, free: 0.9375 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 99.78 kB / 0.9219 GB, free: 2.176 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.9e-05/1.891e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2673/0.2674, allocations: 142.4 MB / 1.206 GB, free: 43.87 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.181/1.448, allocations: 451.8 MB / 1.647 GB, free: 2.996 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002677/1.449, allocations: 101.3 kB / 1.647 GB, free: 2.945 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 4.476/5.924, allocations: 1.108 GB / 2.755 GB, free: 202.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.345e-06/5.924, allocations: 0 / 2.755 GB, free: 202.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002166/5.925, allocations: 52.23 kB / 2.755 GB, free: 202.7 MB / 1.151 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.00547/5.93, allocations: 2.194 MB / 2.758 GB, free: 201.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.974e-05/5.93, allocations: 10.84 kB / 2.758 GB, free: 201.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006417/5.936, allocations: 1.127 MB / 2.759 GB, free: 201.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007012/5.944, allocations: 2.674 MB / 2.761 GB, free: 201.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004638/5.944, allocations: 164 kB / 2.761 GB, free: 201.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003252/5.944, allocations: 75.41 kB / 2.762 GB, free: 201.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002569/5.947, allocations: 1.441 MB / 2.763 GB, free: 201.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00236/5.949, allocations: 1.498 MB / 2.764 GB, free: 200.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.968e-05/5.949, allocations: 3.875 kB / 2.764 GB, free: 200.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001324/5.949, allocations: 0 / 2.764 GB, free: 200.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.727e-05/5.95, allocations: 42.91 kB / 2.764 GB, free: 200.9 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.01305/5.963, allocations: 7.951 MB / 2.772 GB, free: 197.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001749/5.964, allocations: 1.236 MB / 2.773 GB, free: 197.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006263/5.965, allocations: 0.517 MB / 2.774 GB, free: 197.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00495/5.97, allocations: 3.451 MB / 2.777 GB, free: 195.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.946e-05/5.97, allocations: 38.94 kB / 2.777 GB, free: 195.9 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009837/5.971, allocations: 187.5 kB / 2.778 GB, free: 195.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=62): time 2.795e-06/5.971, allocations: 0 / 2.778 GB, free: 195.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=62): time 0.002864/5.974, allocations: 1.325 MB / 2.779 GB, free: 195.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.701e-05/5.974, allocations: 59.59 kB / 2.779 GB, free: 195.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00216/5.976, allocations: 1.442 MB / 2.78 GB, free: 195.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001008/5.976, allocations: 29.61 kB / 2.78 GB, free: 195.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006946/5.977, allocations: 0.9756 MB / 2.781 GB, free: 195.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001957/5.977, allocations: 205.3 kB / 2.781 GB, free: 194.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.228e-05/5.977, allocations: 3.906 kB / 2.781 GB, free: 194.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.000105/5.977, allocations: 342.9 kB / 2.782 GB, free: 194.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006326/5.978, allocations: 482.8 kB / 2.782 GB, free: 194.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008458/5.979, allocations: 0.8509 MB / 2.783 GB, free: 194.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001709/5.981, allocations: 0.6141 MB / 2.784 GB, free: 194.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/5.981, allocations: 3.094 kB / 2.784 GB, free: 194.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.003858/5.984, allocations: 1.679 MB / 2.785 GB, free: 194 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.000891/5.985, allocations: 3.838 MB / 2.789 GB, free: 190.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.789e-05/5.985, allocations: 21.17 kB / 2.789 GB, free: 190.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009388/5.986, allocations: 0.6287 MB / 2.79 GB, free: 190 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001333/5.988, allocations: 297.7 kB / 2.79 GB, free: 190 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001799/5.989, allocations: 1.222 MB / 2.791 GB, free: 189.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002361/5.992, allocations: 210.7 kB / 2.791 GB, free: 189.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001781/5.992, allocations: 77.05 kB / 2.791 GB, free: 189.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/5.992, allocations: 3.906 kB / 2.791 GB, free: 189.5 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003051/5.995, allocations: 1.387 MB / 2.793 GB, free: 189.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.565e-05/5.995, allocations: 11.16 kB / 2.793 GB, free: 189.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008343/5.996, allocations: 0.6311 MB / 2.793 GB, free: 189.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001195/5.997, allocations: 288 kB / 2.794 GB, free: 189.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001717/5.999, allocations: 1.233 MB / 2.795 GB, free: 189 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002218/6.001, allocations: 191.6 kB / 2.795 GB, free: 188.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000173/6.001, allocations: 75.12 kB / 2.795 GB, free: 188.9 MB / 1.151 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: chi.Q2_flow:VARIABLE(unit = "W" ) "Heat flow rate into medium 2" type: Real pum.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 95 * 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 {2 11} Notification: Performance of prepare postOptimizeDAE: time 0.0004945/6.002, allocations: 146.9 kB / 2.795 GB, free: 188.8 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002996/6.005, allocations: 1.289 MB / 2.797 GB, free: 188.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002492/6.005, allocations: 181.6 kB / 2.797 GB, free: 188.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003983/6.009, allocations: 1.634 MB / 2.798 GB, free: 188.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.709e-05/6.009, allocations: 10.88 kB / 2.798 GB, free: 188.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/6.009, allocations: 0 / 2.798 GB, free: 188.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.927e-06/6.009, allocations: 0 / 2.798 GB, free: 188.5 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.005482/6.015, allocations: 3.143 MB / 2.801 GB, free: 188.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.924e-06/6.015, allocations: 3.25 kB / 2.801 GB, free: 188.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001016/6.016, allocations: 197.7 kB / 2.802 GB, free: 188.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008195/6.017, allocations: 0.6123 MB / 2.802 GB, free: 188.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.439e-05/6.017, allocations: 20.89 kB / 2.802 GB, free: 188.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001696/6.018, allocations: 1.191 MB / 2.803 GB, free: 187.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/6.018, allocations: 6.281 kB / 2.803 GB, free: 187.6 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003713/6.022, allocations: 1.686 MB / 2.805 GB, free: 187.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001028/6.023, allocations: 448 kB / 2.805 GB, free: 187 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000241/6.023, allocations: 0 / 2.805 GB, free: 187 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001541/6.025, allocations: 170.5 kB / 2.806 GB, free: 187 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/6.025, allocations: 46.95 kB / 2.806 GB, free: 187 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001155/6.025, allocations: 58.95 kB / 2.806 GB, free: 187 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.00172/6.027, allocations: 1.1 MB / 2.807 GB, free: 186.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.61e-07/6.027, allocations: 1.5 kB / 2.807 GB, free: 186.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.004237/6.031, allocations: 1.067 MB / 2.808 GB, free: 186.6 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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 {2 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.006039/6.037, allocations: 3.556 MB / 2.811 GB, free: 185.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.004086/6.041, allocations: 1.977 MB / 2.813 GB, free: 185.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 8.166e-06/6.041, allocations: 3.844 kB / 2.813 GB, free: 185.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001322/6.043, allocations: 0.6195 MB / 2.814 GB, free: 185.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004107/6.047, allocations: 0.7007 MB / 2.815 GB, free: 185.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006925/6.054, allocations: 2.928 MB / 2.817 GB, free: 184.3 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009256/6.055, allocations: 1.494 MB / 2.819 GB, free: 183.6 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002971/6.058, allocations: 0.6339 MB / 2.82 GB, free: 183.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009066/6.059, allocations: 0.7657 MB / 2.82 GB, free: 183.5 MB / 1.151 GB Notification: Performance of SimCode: time 1.323e-06/6.059, allocations: 0 / 2.82 GB, free: 183.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09795/6.157, allocations: 57.36 MB / 2.876 GB, free: 176.8 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002777/6.157, allocations: 186.7 kB / 2.876 GB, free: 176.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.976/10.13, allocations: 0 / 2.876 GB, free: 176.6 MB / 1.151 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