Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.Boiler.System4.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.Examples.Tutorial.Boiler.System4,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_Boiler_System4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System4,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_Boiler_System4",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.309/2.309, allocations: 387.4 MB / 394.9 MB, free: 13.34 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.001059/0.001059, allocations: 180.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.773/1.773, allocations: 221.5 MB / 0.7824 GB, free: 0.9219 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.0009438/0.0009437, allocations: 103.8 kB / 0.9219 GB, free: 2.156 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.286e-05/2.288e-05, allocations: 0 / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.329/0.329, allocations: 142.4 MB / 1.206 GB, free: 43.86 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.561/6.89, allocations: 2.222 GB / 3.428 GB, free: 103.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002435/6.89, allocations: 87.7 kB / 3.428 GB, free: 103.8 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 18.89/25.78, allocations: 4.383 GB / 7.811 GB, free: 68.9 MB / 1.339 GB Notification: Performance of FrontEnd: time 2.826e-06/25.78, allocations: 0 / 7.811 GB, free: 68.9 MB / 1.339 GB Notification: Performance of Transformations before backend: time 0.002849/25.79, allocations: 294.4 kB / 7.811 GB, free: 68.85 MB / 1.339 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1620 * Number of variables: 1620 Notification: Performance of Generate backend data structure: time 0.03896/25.82, allocations: 9.093 MB / 7.82 GB, free: 65.29 MB / 1.339 GB Notification: Performance of prepare preOptimizeDAE: time 5.82e-05/25.82, allocations: 8.938 kB / 7.82 GB, free: 65.29 MB / 1.339 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01657/25.84, allocations: 2.206 MB / 7.822 GB, free: 64.68 MB / 1.339 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04652/25.89, allocations: 12.76 MB / 7.835 GB, free: 63.1 MB / 1.339 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006646/25.89, allocations: 201.5 kB / 7.835 GB, free: 63.1 MB / 1.339 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003744/25.89, allocations: 416.1 kB / 7.835 GB, free: 63.09 MB / 1.339 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01803/25.91, allocations: 5.209 MB / 7.84 GB, free: 63.06 MB / 1.339 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02876/25.94, allocations: 6.343 MB / 7.847 GB, free: 62.23 MB / 1.339 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006508/25.94, allocations: 19.44 kB / 7.847 GB, free: 62.23 MB / 1.339 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003236/25.94, allocations: 8.312 kB / 7.847 GB, free: 62.23 MB / 1.339 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004108/25.94, allocations: 272.2 kB / 7.847 GB, free: 62.22 MB / 1.339 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.08108/26.02, allocations: 36.89 MB / 7.883 GB, free: 42.89 MB / 1.339 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007836/26.03, allocations: 3.53 MB / 7.886 GB, free: 42.83 MB / 1.339 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004843/26.04, allocations: 2.219 MB / 7.888 GB, free: 42.79 MB / 1.339 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 evalFunc (simulation): time 0.03231/26.07, allocations: 9.216 MB / 7.897 GB, free: 39.98 MB / 1.339 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006069/26.08, allocations: 2.061 MB / 7.899 GB, free: 39.86 MB / 1.339 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008041/26.08, allocations: 333.8 kB / 7.9 GB, free: 39.7 MB / 1.339 GB Notification: Performance of pre-optimization done (n=355): time 4.016e-05/26.08, allocations: 0 / 7.9 GB, free: 39.7 MB / 1.339 GB Notification: Performance of matching and sorting (n=360): time 0.04796/26.13, allocations: 9.979 MB / 7.91 GB, free: 37.38 MB / 1.339 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.983e-05/26.13, allocations: 116.9 kB / 7.91 GB, free: 37.28 MB / 1.339 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02089/26.15, allocations: 6.22 MB / 7.916 GB, free: 36.77 MB / 1.339 GB Notification: Performance of collectPreVariables (initialization): time 0.001785/26.15, allocations: 40.36 kB / 7.916 GB, free: 36.74 MB / 1.339 GB Notification: Performance of collectInitialEqns (initialization): time 0.008435/26.16, allocations: 4.605 MB / 7.92 GB, free: 35.4 MB / 1.339 GB Notification: Performance of collectInitialBindings (initialization): time 0.002935/26.17, allocations: 1.214 MB / 7.921 GB, free: 34.6 MB / 1.339 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001212/26.17, allocations: 0 / 7.921 GB, free: 34.6 MB / 1.339 GB Notification: Performance of setup shared object (initialization): time 0.0006365/26.17, allocations: 0.4945 MB / 7.922 GB, free: 34.29 MB / 1.339 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004711/26.17, allocations: 1.681 MB / 7.924 GB, free: 34.27 MB / 1.339 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006493/26.18, allocations: 3.378 MB / 7.927 GB, free: 32.25 MB / 1.339 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007838/26.19, allocations: 2.428 MB / 7.929 GB, free: 32.19 MB / 1.339 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.538e-05/26.19, allocations: 17.11 kB / 7.929 GB, free: 32.18 MB / 1.339 GB Notification: Performance of matching and sorting (n=635) (initialization): time 0.02098/26.21, allocations: 6.231 MB / 7.935 GB, free: 31.58 MB / 1.339 GB Notification: Performance of prepare postOptimizeDAE: time 0.007433/26.22, allocations: 21.35 MB / 7.956 GB, free: 25.29 MB / 1.354 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000138/26.22, allocations: 41.34 kB / 7.956 GB, free: 25.29 MB / 1.354 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003231/26.22, allocations: 0.762 MB / 7.957 GB, free: 25.24 MB / 1.354 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005846/26.22, allocations: 1.077 MB / 7.958 GB, free: 25.24 MB / 1.354 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007582/26.23, allocations: 5.825 MB / 7.964 GB, free: 21.05 MB / 1.354 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01255/26.25, allocations: 0.5956 MB / 7.964 GB, free: 20.98 MB / 1.354 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001769/26.25, allocations: 249.6 kB / 7.965 GB, free: 20.98 MB / 1.354 GB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/26.25, allocations: 4.5 kB / 7.965 GB, free: 20.98 MB / 1.354 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01692/26.26, allocations: 5.042 MB / 7.969 GB, free: 20.84 MB / 1.354 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001656/26.26, allocations: 39.88 kB / 7.97 GB, free: 20.84 MB / 1.354 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003046/26.27, allocations: 0.7251 MB / 7.97 GB, free: 20.8 MB / 1.354 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005408/26.27, allocations: 1.044 MB / 7.971 GB, free: 20.8 MB / 1.354 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01297/26.29, allocations: 7.422 MB / 7.978 GB, free: 16.29 MB / 1.354 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0115/26.3, allocations: 0.5613 MB / 7.979 GB, free: 16.18 MB / 1.354 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001717/26.3, allocations: 227.6 kB / 7.979 GB, free: 16.18 MB / 1.354 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 175 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$PRE.timTab.tab.nextTimeEvent,timTab.tab.nextTimeEvent,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEventScaled,$PRE.hysTOut.y,hysTOut.y,$PRE.hysTBoi.y,hysTBoi.y,and1.y,and2.y,$PRE.hysPum.y,hysPum.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (580): * Single equations (assignments): 573 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 4} * Non-linear torn systems: 2 {5 6,13 22} Notification: Performance of prepare postOptimizeDAE: time 0.003314/26.3, allocations: 262.3 kB / 7.979 GB, free: 16.05 MB / 1.354 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01506/26.32, allocations: 4.317 MB / 7.984 GB, free: 15.39 MB / 1.354 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003935/26.32, allocations: 0.8204 MB / 7.985 GB, free: 14.95 MB / 1.354 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01519/26.34, allocations: 4.975 MB / 7.989 GB, free: 14.56 MB / 1.354 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.474e-05/26.34, allocations: 42.66 kB / 7.989 GB, free: 14.56 MB / 1.354 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.332e-05/26.34, allocations: 0 / 7.989 GB, free: 14.56 MB / 1.354 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008865/26.35, allocations: 3.693 MB / 7.993 GB, free: 14.3 MB / 1.354 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03781/26.38, allocations: 11.43 MB / 8.004 GB, free: 13.47 MB / 1.354 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.708e-05/26.38, allocations: 0 / 8.004 GB, free: 13.47 MB / 1.354 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004185/26.39, allocations: 0.6837 MB / 8.005 GB, free: 13.46 MB / 1.354 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001673/26.39, allocations: 0.5773 MB / 8.005 GB, free: 13.39 MB / 1.354 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007577/26.39, allocations: 61.91 kB / 8.005 GB, free: 13.38 MB / 1.354 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0109/26.4, allocations: 11.4 MB / 8.017 GB, free: 19.74 MB / 1.37 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.075e-05/26.4, allocations: 7.578 kB / 8.017 GB, free: 19.73 MB / 1.37 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01957/26.42, allocations: 6.95 MB / 8.023 GB, free: 18.73 MB / 1.37 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008035/26.43, allocations: 1.522 MB / 8.025 GB, free: 18.18 MB / 1.37 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00425/26.43, allocations: 25.91 kB / 8.025 GB, free: 18.18 MB / 1.37 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01104/26.44, allocations: 0.5336 MB / 8.025 GB, free: 18.09 MB / 1.37 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001395/26.45, allocations: 260.3 kB / 8.026 GB, free: 18.09 MB / 1.37 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001236/26.45, allocations: 169.3 kB / 8.026 GB, free: 18.09 MB / 1.37 GB Notification: Performance of sorting global known variables: time 0.0152/26.46, allocations: 4.584 MB / 8.03 GB, free: 17.84 MB / 1.37 GB Notification: Performance of sort global known variables: time 7.11e-07/26.46, allocations: 0 / 8.03 GB, free: 17.84 MB / 1.37 GB Notification: Performance of remove unused functions: time 0.03449/26.5, allocations: 4.483 MB / 8.035 GB, free: 17.63 MB / 1.37 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 29 (vol.hOut_internal,vol.dynBal.medium.Xi[1],vol.dynBal.m,rad.vol[1].dynBal.U,rad.vol[2].dynBal.U,rad.vol[3].dynBal.U,rad.vol[4].dynBal.U,rad.vol[5].dynBal.U,temSup.T,pumRad.vol.dynBal.U,pumRad.filter.s[1],pumRad.filter.s[2],mix.vol.dynBal.U,spl.vol.dynBal.U,spl2.vol.dynBal.U,mix2.vol.dynBal.U,spl4.vol.dynBal.U,pumBoi.vol.dynBal.U,pumBoi.filter.s[1],pumBoi.filter.s[2],boi.heaCapDry.T,valRad.vol.dynBal.U,valRad.filter.s[1],valRad.filter.s[2],valBoi.vol.dynBal.U,valBoi.filter.s[1],valBoi.filter.s[2],temRet.T,spl1.vol.dynBal.U) * Number of discrete variables: 8 ($whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled,hysTOut.y,hysTBoi.y,and1.y,and2.y,hysPum.y) * Number of discrete states: 5 (timTab.tab.nextTimeEvent,hysTOut.y,hysTBoi.y,hysPum.y,timTab.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (345): * Single equations (assignments): 325 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 1 {13 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.03508/26.53, allocations: 12.93 MB / 8.047 GB, free: 13.48 MB / 1.37 GB Notification: Performance of simCode: created initialization part: time 0.02838/26.56, allocations: 8.04 MB / 8.055 GB, free: 12.68 MB / 1.37 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-05/26.56, allocations: 4.594 kB / 8.055 GB, free: 12.68 MB / 1.37 GB Notification: Performance of simCode: created simulation system equations: time 0.008379/26.57, allocations: 2.757 MB / 8.058 GB, free: 11.88 MB / 1.37 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03816/26.61, allocations: 4.106 MB / 8.062 GB, free: 11.66 MB / 1.37 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06877/26.68, allocations: 15.41 MB / 8.077 GB, free: 7.348 MB / 1.37 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01171/26.69, allocations: 5.018 MB / 8.082 GB, free: 6.34 MB / 1.37 GB Notification: Performance of simCode: alias equations: time 0.02922/26.72, allocations: 3.286 MB / 8.085 GB, free: 5.941 MB / 1.37 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01041/26.73, allocations: 4.169 MB / 8.089 GB, free: 5.926 MB / 1.37 GB Notification: Performance of SimCode: time 9.32e-07/26.73, allocations: 0.8438 kB / 8.089 GB, free: 5.926 MB / 1.37 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.578/28.31, allocations: 253.2 MB / 8.336 GB, free: 141.3 MB / 1.417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001645/28.31, allocations: 164.2 kB / 8.337 GB, free: 141.1 MB / 1.417 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.16/44.47, allocations: 2.844 kB / 8.337 GB, free: 141.1 MB / 1.417 GB (rm -f Buildings_9_Buildings.Examples.Tutorial.Boiler.System4.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.Boiler.System4.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.Boiler.System4.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.Boiler.System4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Examples.Tutorial.Boiler.System4_res.mat --tempDir=temp_Buildings_9_Buildings_Examples_Tutorial_Boiler_System4_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Examples_Tutorial_Boiler_System4.fmu > Buildings_9_Buildings.Examples.Tutorial.Boiler.System4.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Examples.Tutorial.Boiler.System4_res.mat does not exist to compare? outputFormat=mat