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.256/2.256, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001333/0.001333, allocations: 187.2 kB / 498.1 MB, free: 5.75 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.501/1.501, allocations: 223.2 MB / 0.7948 GB, free: 18.87 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 106.5 kB / 0.9346 GB, free: 7.164 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004557/0.0004558, allocations: 13.3 kB / 1.084 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.355/0.3555, allocations: 142.4 MB / 1.223 GB, free: 89.51 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.315/1.67, allocations: 452.6 MB / 1.665 GB, free: 13.18 MB / 1.01 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003868/1.671, allocations: 97.72 kB / 1.665 GB, free: 13.13 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.63/6.301, allocations: 1.117 GB / 2.782 GB, free: 212.6 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.557e-06/6.301, allocations: 4.938 kB / 2.782 GB, free: 212.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002585/6.302, allocations: 57.41 kB / 2.782 GB, free: 212.6 MB / 1.167 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.008752/6.31, allocations: 2.733 MB / 2.784 GB, free: 211.8 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.03e-05/6.31, allocations: 8.688 kB / 2.784 GB, free: 211.8 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005764/6.311, allocations: 184.8 kB / 2.785 GB, free: 211.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006726/6.318, allocations: 1.126 MB / 2.786 GB, free: 211.6 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007667/6.325, allocations: 2.707 MB / 2.788 GB, free: 211.2 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004841/6.326, allocations: 214.5 kB / 2.789 GB, free: 211.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002848/6.326, allocations: 127.8 kB / 2.789 GB, free: 211.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004184/6.33, allocations: 1.937 MB / 2.791 GB, free: 211 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.953e-05/6.33, allocations: 3.656 kB / 2.791 GB, free: 211 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000149/6.331, allocations: 49.34 kB / 2.791 GB, free: 211 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-05/6.331, allocations: 45.66 kB / 2.791 GB, free: 211 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005106/6.336, allocations: 2.045 MB / 2.793 GB, free: 210.9 MB / 1.167 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.01394/6.35, allocations: 7.884 MB / 2.8 GB, free: 207.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0046/6.354, allocations: 1.758 MB / 2.802 GB, free: 207.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00643/6.361, allocations: 3.713 MB / 2.806 GB, free: 206.1 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.981e-05/6.361, allocations: 34.5 kB / 2.806 GB, free: 206 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001301/6.362, allocations: 224.7 kB / 2.806 GB, free: 206 MB / 1.167 GB Notification: Performance of pre-optimization done (n=64): time 3.817e-06/6.362, allocations: 0 / 2.806 GB, free: 206 MB / 1.167 GB Notification: Performance of matching and sorting (n=64): time 0.0134/6.376, allocations: 3.222 MB / 2.809 GB, free: 205.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.398e-05/6.376, allocations: 55.94 kB / 2.809 GB, free: 205.7 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004786/6.381, allocations: 1.78 MB / 2.811 GB, free: 205.5 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.000246/6.381, allocations: 40.3 kB / 2.811 GB, free: 205.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001177/6.382, allocations: 0.9721 MB / 2.812 GB, free: 205.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003219/6.382, allocations: 219.5 kB / 2.812 GB, free: 205.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/6.383, allocations: 19.06 kB / 2.812 GB, free: 205.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001248/6.383, allocations: 340.2 kB / 2.812 GB, free: 204.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002254/6.385, allocations: 0.7082 MB / 2.813 GB, free: 204.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002689/6.388, allocations: 1.089 MB / 2.814 GB, free: 204.3 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002508/6.39, allocations: 0.7376 MB / 2.815 GB, free: 204.3 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.508e-05/6.39, allocations: 2.5 kB / 2.815 GB, free: 204.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.006911/6.397, allocations: 2.117 MB / 2.817 GB, free: 204.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001306/6.398, allocations: 3.889 MB / 2.821 GB, free: 200 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.302e-05/6.399, allocations: 9.938 kB / 2.821 GB, free: 200 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002192/6.401, allocations: 0.7462 MB / 2.822 GB, free: 200 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001554/6.402, allocations: 291.7 kB / 2.822 GB, free: 200 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002489/6.405, allocations: 1.201 MB / 2.823 GB, free: 199.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003029/6.408, allocations: 244.6 kB / 2.823 GB, free: 199.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003351/6.408, allocations: 78.12 kB / 2.823 GB, free: 199.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/6.408, allocations: 7.406 kB / 2.823 GB, free: 199.5 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007171/6.415, allocations: 1.877 MB / 2.825 GB, free: 199.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.188e-05/6.415, allocations: 7.812 kB / 2.825 GB, free: 199.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001783/6.417, allocations: 0.7502 MB / 2.826 GB, free: 199.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001326/6.419, allocations: 283.9 kB / 2.826 GB, free: 199.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002565/6.421, allocations: 1.232 MB / 2.827 GB, free: 198.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003513/6.425, allocations: 218.1 kB / 2.828 GB, free: 198.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003511/6.425, allocations: 78.53 kB / 2.828 GB, free: 198.9 MB / 1.167 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 (96): * Single equations (assignments): 94 * 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 {3 10} Notification: Performance of prepare postOptimizeDAE: time 0.001977/6.427, allocations: 0.5114 MB / 2.828 GB, free: 198.7 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008975/6.428, allocations: 203.6 kB / 2.828 GB, free: 198.6 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007519/6.436, allocations: 2.21 MB / 2.83 GB, free: 198.5 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.61e-05/6.436, allocations: 7.781 kB / 2.83 GB, free: 198.5 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.32e-05/6.436, allocations: 0 / 2.83 GB, free: 198.5 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.2e-05/6.436, allocations: 2.766 kB / 2.83 GB, free: 198.5 MB / 1.167 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.01/6.446, allocations: 3.79 MB / 2.834 GB, free: 198.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.148e-05/6.446, allocations: 3.562 kB / 2.834 GB, free: 198.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001026/6.447, allocations: 188.3 kB / 2.834 GB, free: 198.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001587/6.448, allocations: 0.7251 MB / 2.835 GB, free: 198 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001093/6.448, allocations: 32.62 kB / 2.835 GB, free: 198 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002455/6.451, allocations: 1.26 MB / 2.836 GB, free: 197.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.556e-06/6.451, allocations: 5.031 kB / 2.836 GB, free: 197.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005688/6.457, allocations: 2.102 MB / 2.838 GB, free: 197 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001618/6.458, allocations: 469.7 kB / 2.839 GB, free: 196.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007906/6.459, allocations: 11.22 kB / 2.839 GB, free: 196.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002339/6.462, allocations: 195.6 kB / 2.839 GB, free: 196.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001273/6.462, allocations: 47.05 kB / 2.839 GB, free: 196.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001644/6.462, allocations: 60.88 kB / 2.839 GB, free: 196.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.003438/6.465, allocations: 1.394 MB / 2.841 GB, free: 196.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 5.41e-07/6.465, allocations: 0 / 2.841 GB, free: 196.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.005779/6.471, allocations: 1.067 MB / 2.842 GB, free: 196.5 MB / 1.167 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 (60): * Single equations (assignments): 53 * 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 {2 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.008716/6.48, allocations: 4.147 MB / 2.846 GB, free: 194.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.008009/6.488, allocations: 2.528 MB / 2.848 GB, free: 194.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.107e-05/6.488, allocations: 0 / 2.848 GB, free: 194.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.002683/6.491, allocations: 0.8564 MB / 2.849 GB, free: 194.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005288/6.496, allocations: 0.9016 MB / 2.85 GB, free: 194.8 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01454/6.511, allocations: 11.45 MB / 2.861 GB, free: 186.1 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001719/6.512, allocations: 1.496 MB / 2.862 GB, free: 185.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.003021/6.515, allocations: 475.9 kB / 2.863 GB, free: 185.4 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001447/6.517, allocations: 0.8069 MB / 2.864 GB, free: 185.4 MB / 1.167 GB Notification: Performance of SimCode: time 1.002e-06/6.517, allocations: 0 / 2.864 GB, free: 185.4 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1288/6.646, allocations: 66.97 MB / 2.929 GB, free: 182.4 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002061/6.646, allocations: 263.5 kB / 2.929 GB, free: 182.1 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.621/11.27, allocations: 1.875 kB / 2.929 GB, free: 182.1 MB / 1.167 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