Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.Boiler.System3.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.System3,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_Boiler_System3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System3,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_Boiler_System3",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.493/2.493, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.001133/0.001133, allocations: 184.5 kB / 487.4 MB, free: 5.059 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.801/1.801, allocations: 221.5 MB / 0.7824 GB, free: 0.9258 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.001115/0.001115, allocations: 103.6 kB / 0.9219 GB, free: 2.156 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.103e-05/2.106e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3647/0.3647, allocations: 142.4 MB / 1.206 GB, free: 43.84 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.246/6.611, allocations: 2.222 GB / 3.428 GB, free: 101.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002149/6.611, allocations: 87.95 kB / 3.428 GB, free: 101.1 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 17.83/24.45, allocations: 4.382 GB / 7.81 GB, free: 69.13 MB / 1.339 GB Notification: Performance of FrontEnd: time 2.084e-06/24.45, allocations: 0 / 7.81 GB, free: 69.13 MB / 1.339 GB Notification: Performance of Transformations before backend: time 0.002633/24.45, allocations: 282.6 kB / 7.81 GB, free: 69.08 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: 1601 * Number of variables: 1601 Notification: Performance of Generate backend data structure: time 0.03523/24.48, allocations: 9.036 MB / 7.819 GB, free: 65.54 MB / 1.339 GB Notification: Performance of prepare preOptimizeDAE: time 6.226e-05/24.48, allocations: 11.31 kB / 7.819 GB, free: 65.54 MB / 1.339 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01856/24.5, allocations: 2.192 MB / 7.821 GB, free: 64.94 MB / 1.339 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04178/24.54, allocations: 12.75 MB / 7.833 GB, free: 63.35 MB / 1.339 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004671/24.54, allocations: 199.6 kB / 7.834 GB, free: 63.35 MB / 1.339 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002745/24.55, allocations: 407.1 kB / 7.834 GB, free: 63.34 MB / 1.339 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01385/24.56, allocations: 5.163 MB / 7.839 GB, free: 63.31 MB / 1.339 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01898/24.58, allocations: 6.292 MB / 7.845 GB, free: 62.5 MB / 1.339 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003051/24.58, allocations: 26.3 kB / 7.845 GB, free: 62.5 MB / 1.339 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001506/24.58, allocations: 9.406 kB / 7.845 GB, free: 62.5 MB / 1.339 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002455/24.58, allocations: 261.9 kB / 7.845 GB, free: 62.48 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.05176/24.63, allocations: 36.78 MB / 7.881 GB, free: 43.2 MB / 1.339 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005051/24.64, allocations: 3.458 MB / 7.885 GB, free: 43.14 MB / 1.339 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002884/24.64, allocations: 2.193 MB / 7.887 GB, free: 43.11 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.02119/24.66, allocations: 9.204 MB / 7.896 GB, free: 40.3 MB / 1.339 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002757/24.67, allocations: 2.026 MB / 7.898 GB, free: 40.17 MB / 1.339 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004559/24.67, allocations: 338 kB / 7.898 GB, free: 40.01 MB / 1.339 GB Notification: Performance of pre-optimization done (n=345): time 6.783e-06/24.67, allocations: 2.875 kB / 7.898 GB, free: 40.01 MB / 1.339 GB Notification: Performance of matching and sorting (n=350): time 0.02448/24.7, allocations: 9.884 MB / 7.908 GB, free: 37.7 MB / 1.339 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.518e-05/24.7, allocations: 112.9 kB / 7.908 GB, free: 37.6 MB / 1.339 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009683/24.7, allocations: 6.214 MB / 7.914 GB, free: 37.09 MB / 1.339 GB Notification: Performance of collectPreVariables (initialization): time 0.0009871/24.71, allocations: 38.86 kB / 7.914 GB, free: 37.06 MB / 1.339 GB Notification: Performance of collectInitialEqns (initialization): time 0.003797/24.71, allocations: 4.539 MB / 7.918 GB, free: 35.71 MB / 1.339 GB Notification: Performance of collectInitialBindings (initialization): time 0.001432/24.71, allocations: 1.183 MB / 7.92 GB, free: 34.93 MB / 1.339 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000263/24.71, allocations: 1.688 kB / 7.92 GB, free: 34.93 MB / 1.339 GB Notification: Performance of setup shared object (initialization): time 0.0002037/24.71, allocations: 0.4889 MB / 7.92 GB, free: 34.62 MB / 1.339 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002408/24.71, allocations: 1.669 MB / 7.922 GB, free: 34.61 MB / 1.339 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003031/24.72, allocations: 3.352 MB / 7.925 GB, free: 32.6 MB / 1.339 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00482/24.72, allocations: 2.41 MB / 7.927 GB, free: 32.54 MB / 1.339 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-05/24.72, allocations: 13.41 kB / 7.927 GB, free: 32.54 MB / 1.339 GB Notification: Performance of matching and sorting (n=627) (initialization): time 0.01341/24.74, allocations: 6.197 MB / 7.933 GB, free: 31.94 MB / 1.339 GB Notification: Performance of prepare postOptimizeDAE: time 0.004862/24.74, allocations: 21.33 MB / 7.954 GB, free: 25.65 MB / 1.354 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001021/24.74, allocations: 38.62 kB / 7.954 GB, free: 25.65 MB / 1.354 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002805/24.74, allocations: 0.7612 MB / 7.955 GB, free: 25.61 MB / 1.354 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004932/24.75, allocations: 1.074 MB / 7.956 GB, free: 25.61 MB / 1.354 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005979/24.75, allocations: 5.843 MB / 7.962 GB, free: 21.4 MB / 1.354 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008962/24.76, allocations: 0.5775 MB / 7.962 GB, free: 21.33 MB / 1.354 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009621/24.76, allocations: 243.3 kB / 7.963 GB, free: 21.33 MB / 1.354 GB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/24.76, allocations: 5.375 kB / 7.963 GB, free: 21.33 MB / 1.354 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01192/24.78, allocations: 5.017 MB / 7.967 GB, free: 21.18 MB / 1.354 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001103/24.78, allocations: 36.09 kB / 7.967 GB, free: 21.18 MB / 1.354 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003725/24.78, allocations: 0.7225 MB / 7.968 GB, free: 21.14 MB / 1.354 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007489/24.79, allocations: 1.05 MB / 7.969 GB, free: 21.14 MB / 1.354 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01564/24.8, allocations: 7.456 MB / 7.976 GB, free: 16.6 MB / 1.354 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0134/24.82, allocations: 0.548 MB / 7.977 GB, free: 16.49 MB / 1.354 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001157/24.82, allocations: 228.7 kB / 7.977 GB, free: 16.49 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: 7 ($whenCondition1,$PRE.timTab.tab.nextTimeEvent,timTab.tab.nextTimeEvent,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEventScaled,$PRE.hysPum.y,hysPum.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (572): * Single equations (assignments): 565 * 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.001459/24.82, allocations: 257.2 kB / 7.977 GB, free: 16.35 MB / 1.354 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009003/24.83, allocations: 4.265 MB / 7.982 GB, free: 15.7 MB / 1.354 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001951/24.83, allocations: 0.821 MB / 7.982 GB, free: 15.27 MB / 1.354 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0101/24.84, allocations: 4.938 MB / 7.987 GB, free: 14.86 MB / 1.354 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.721e-05/24.84, allocations: 37.62 kB / 7.987 GB, free: 14.86 MB / 1.354 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.237e-05/24.84, allocations: 3.531 kB / 7.987 GB, free: 14.86 MB / 1.354 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006387/24.85, allocations: 3.638 MB / 7.991 GB, free: 14.61 MB / 1.354 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02427/24.87, allocations: 11.35 MB / 8.002 GB, free: 13.79 MB / 1.354 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.086e-05/24.87, allocations: 2.875 kB / 8.002 GB, free: 13.79 MB / 1.354 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003013/24.87, allocations: 0.6661 MB / 8.003 GB, free: 13.79 MB / 1.354 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001409/24.88, allocations: 0.5857 MB / 8.003 GB, free: 13.7 MB / 1.354 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002379/24.88, allocations: 59.11 kB / 8.003 GB, free: 13.7 MB / 1.354 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008353/24.88, allocations: 11.45 MB / 8.014 GB, free: 20.05 MB / 1.37 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/24.88, allocations: 2.906 kB / 8.014 GB, free: 20.05 MB / 1.37 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01102/24.9, allocations: 6.858 MB / 8.021 GB, free: 19.05 MB / 1.37 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00438/24.9, allocations: 1.505 MB / 8.023 GB, free: 18.51 MB / 1.37 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001444/24.9, allocations: 23.94 kB / 8.023 GB, free: 18.51 MB / 1.37 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005216/24.91, allocations: 0.5286 MB / 8.023 GB, free: 18.42 MB / 1.37 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003661/24.91, allocations: 234.8 kB / 8.023 GB, free: 18.41 MB / 1.37 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003321/24.91, allocations: 174.6 kB / 8.024 GB, free: 18.41 MB / 1.37 GB Notification: Performance of sorting global known variables: time 0.00734/24.91, allocations: 4.585 MB / 8.028 GB, free: 18.16 MB / 1.37 GB Notification: Performance of sort global known variables: time 3.51e-07/24.91, allocations: 0 / 8.028 GB, free: 18.16 MB / 1.37 GB Notification: Performance of remove unused functions: time 0.01938/24.93, allocations: 4.468 MB / 8.032 GB, free: 17.96 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: 4 ($whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled,hysPum.y) * Number of discrete states: 3 (timTab.tab.nextTimeEvent,hysPum.y,timTab.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (335): * Single equations (assignments): 315 * 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.01946/24.95, allocations: 12.83 MB / 8.045 GB, free: 13.8 MB / 1.37 GB Notification: Performance of simCode: created initialization part: time 0.01499/24.97, allocations: 7.97 MB / 8.053 GB, free: 13.04 MB / 1.37 GB Notification: Performance of simCode: created event and clocks part: time 1.308e-05/24.97, allocations: 4.688 kB / 8.053 GB, free: 13.03 MB / 1.37 GB Notification: Performance of simCode: created simulation system equations: time 0.004117/24.97, allocations: 2.728 MB / 8.055 GB, free: 12.23 MB / 1.37 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02138/24.99, allocations: 4.094 MB / 8.059 GB, free: 12.01 MB / 1.37 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04015/25.03, allocations: 15.32 MB / 8.074 GB, free: 7.719 MB / 1.37 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008781/25.04, allocations: 4.994 MB / 8.079 GB, free: 6.707 MB / 1.37 GB Notification: Performance of simCode: alias equations: time 0.01879/25.06, allocations: 3.306 MB / 8.082 GB, free: 6.309 MB / 1.37 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007154/25.07, allocations: 4.118 MB / 8.086 GB, free: 6.293 MB / 1.37 GB Notification: Performance of SimCode: time 8.71e-07/25.07, allocations: 0 / 8.086 GB, free: 6.293 MB / 1.37 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.323/26.39, allocations: 252.1 MB / 8.333 GB, free: 140.9 MB / 1.417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001358/26.39, allocations: 158.6 kB / 8.333 GB, free: 140.7 MB / 1.417 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.69/42.08, allocations: 3.219 kB / 8.333 GB, free: 140.7 MB / 1.417 GB (rm -f Buildings_9_Buildings.Examples.Tutorial.Boiler.System3.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.Boiler.System3.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.Boiler.System3.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.Boiler.System3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Examples.Tutorial.Boiler.System3_res.mat --tempDir=temp_Buildings_9_Buildings_Examples_Tutorial_Boiler_System3_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Examples_Tutorial_Boiler_System3.fmu > Buildings_9_Buildings.Examples.Tutorial.Boiler.System3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Examples.Tutorial.Boiler.System3_res.mat does not exist to compare? outputFormat=mat