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.625/2.625, 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.001268/0.001268, allocations: 177.1 kB / 498.1 MB, free: 5.742 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.524/1.524, allocations: 223.2 MB / 0.7948 GB, free: 17.95 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.001014/0.001014, allocations: 111.8 kB / 0.9346 GB, free: 6.293 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004513/0.0004514, allocations: 10.47 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3058/0.3063, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.195/6.502, allocations: 2.222 GB / 3.445 GB, free: 262 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003722/6.502, allocations: 87.95 kB / 3.445 GB, free: 261.9 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 18.19/24.7, allocations: 4.414 GB / 7.86 GB, free: 33.29 MB / 1.323 GB Notification: Performance of FrontEnd: time 3.848e-06/24.7, allocations: 0 / 7.86 GB, free: 33.29 MB / 1.323 GB Notification: Performance of Transformations before backend: time 0.002693/24.7, allocations: 291.9 kB / 7.86 GB, free: 33.01 MB / 1.323 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.04705/24.75, allocations: 11.39 MB / 7.871 GB, free: 21.5 MB / 1.323 GB Notification: Performance of prepare preOptimizeDAE: time 9.837e-05/24.75, allocations: 8.031 kB / 7.871 GB, free: 21.49 MB / 1.323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004919/24.75, allocations: 0.8273 MB / 7.872 GB, free: 20.65 MB / 1.323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01556/24.77, allocations: 2.207 MB / 7.874 GB, free: 18.43 MB / 1.323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04404/24.81, allocations: 12.84 MB / 7.887 GB, free: 5.484 MB / 1.323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007716/24.81, allocations: 0.4887 MB / 7.887 GB, free: 4.992 MB / 1.323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003707/24.82, allocations: 0.6755 MB / 7.888 GB, free: 4.316 MB / 1.323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0282/24.84, allocations: 7.352 MB / 7.895 GB, free: 12.69 MB / 1.339 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006292/24.84, allocations: 23.77 kB / 7.895 GB, free: 12.66 MB / 1.339 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003354/24.85, allocations: 268 kB / 7.895 GB, free: 12.4 MB / 1.339 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003904/24.85, allocations: 267.9 kB / 7.895 GB, free: 12.14 MB / 1.339 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01986/24.87, allocations: 5.726 MB / 7.901 GB, free: 6.41 MB / 1.339 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 1.359/26.23, allocations: 37.85 MB / 7.938 GB, free: 92.4 MB / 1.37 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009048/26.24, allocations: 4.031 MB / 7.942 GB, free: 91.7 MB / 1.37 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 evalFunc (simulation): time 0.03496/26.27, allocations: 9.354 MB / 7.951 GB, free: 89.12 MB / 1.37 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005661/26.28, allocations: 2.18 MB / 7.953 GB, free: 88.99 MB / 1.37 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009168/26.29, allocations: 466.9 kB / 7.954 GB, free: 88.99 MB / 1.37 GB Notification: Performance of pre-optimization done (n=342): time 5.481e-05/26.29, allocations: 1.344 kB / 7.954 GB, free: 88.99 MB / 1.37 GB Notification: Performance of matching and sorting (n=350): time 0.04965/26.34, allocations: 12.61 MB / 7.966 GB, free: 86.94 MB / 1.37 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.713e-05/26.34, allocations: 110.4 kB / 7.966 GB, free: 86.84 MB / 1.37 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01857/26.35, allocations: 6.817 MB / 7.973 GB, free: 86.37 MB / 1.37 GB Notification: Performance of collectPreVariables (initialization): time 0.00154/26.36, allocations: 130 kB / 7.973 GB, free: 86.34 MB / 1.37 GB Notification: Performance of collectInitialEqns (initialization): time 0.005987/26.36, allocations: 4.592 MB / 7.977 GB, free: 85.39 MB / 1.37 GB Notification: Performance of collectInitialBindings (initialization): time 0.002317/26.36, allocations: 1.226 MB / 7.979 GB, free: 84.78 MB / 1.37 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004531/26.37, allocations: 99.41 kB / 7.979 GB, free: 84.78 MB / 1.37 GB Notification: Performance of setup shared object (initialization): time 0.0003056/26.37, allocations: 0.4903 MB / 7.979 GB, free: 84.46 MB / 1.37 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003518/26.37, allocations: 1.765 MB / 7.981 GB, free: 84.45 MB / 1.37 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004913/26.37, allocations: 3.498 MB / 7.984 GB, free: 82.43 MB / 1.37 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004491/26.38, allocations: 2.34 MB / 7.987 GB, free: 82.38 MB / 1.37 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.034e-05/26.38, allocations: 11.94 kB / 7.987 GB, free: 82.38 MB / 1.37 GB Notification: Performance of matching and sorting (n=627) (initialization): time 0.01589/26.39, allocations: 6.511 MB / 7.993 GB, free: 81.77 MB / 1.37 GB Notification: Performance of prepare postOptimizeDAE: time 0.006001/26.4, allocations: 21.39 MB / 8.014 GB, free: 59.52 MB / 1.37 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001544/26.4, allocations: 37.56 kB / 8.014 GB, free: 59.52 MB / 1.37 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00429/26.41, allocations: 0.9016 MB / 8.015 GB, free: 59.48 MB / 1.37 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006489/26.41, allocations: 1.072 MB / 8.016 GB, free: 59.48 MB / 1.37 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006461/26.42, allocations: 5.928 MB / 8.022 GB, free: 55.16 MB / 1.37 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01107/26.43, allocations: 0.6918 MB / 8.022 GB, free: 55.12 MB / 1.37 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001735/26.43, allocations: 245.6 kB / 8.023 GB, free: 55.12 MB / 1.37 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/26.43, allocations: 2.719 kB / 8.023 GB, free: 55.12 MB / 1.37 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01488/26.45, allocations: 5.634 MB / 8.028 GB, free: 54.98 MB / 1.37 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001476/26.45, allocations: 39.38 kB / 8.028 GB, free: 54.98 MB / 1.37 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003579/26.45, allocations: 0.846 MB / 8.029 GB, free: 54.95 MB / 1.37 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006427/26.46, allocations: 1.037 MB / 8.03 GB, free: 54.95 MB / 1.37 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01117/26.47, allocations: 7.808 MB / 8.038 GB, free: 50.3 MB / 1.37 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0116/26.48, allocations: 0.6619 MB / 8.038 GB, free: 50.27 MB / 1.37 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002281/26.48, allocations: 226.5 kB / 8.038 GB, free: 50.27 MB / 1.37 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 () * Number of clocked 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 {(2,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 2 {3 8,13 22} Notification: Performance of prepare postOptimizeDAE: time 0.01272/26.49, allocations: 2.116 MB / 8.04 GB, free: 50.08 MB / 1.37 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005335/26.5, allocations: 0.8283 MB / 8.041 GB, free: 49.64 MB / 1.37 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01627/26.52, allocations: 5.271 MB / 8.046 GB, free: 49.31 MB / 1.37 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.956e-05/26.52, allocations: 41.95 kB / 8.046 GB, free: 49.31 MB / 1.37 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.532e-05/26.52, allocations: 6.766 kB / 8.046 GB, free: 49.3 MB / 1.37 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008179/26.52, allocations: 3.897 MB / 8.05 GB, free: 49.06 MB / 1.37 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03496/26.56, allocations: 12.38 MB / 8.062 GB, free: 48.18 MB / 1.37 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.258e-05/26.56, allocations: 0.5312 kB / 8.062 GB, free: 48.18 MB / 1.37 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003296/26.56, allocations: 0.6848 MB / 8.063 GB, free: 48.18 MB / 1.37 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001678/26.56, allocations: 0.6157 MB / 8.064 GB, free: 48.1 MB / 1.37 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003559/26.56, allocations: 107.7 kB / 8.064 GB, free: 48.1 MB / 1.37 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007257/26.57, allocations: 11.63 MB / 8.075 GB, free: 38.15 MB / 1.37 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/26.57, allocations: 0 / 8.075 GB, free: 38.15 MB / 1.37 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0148/26.59, allocations: 7.214 MB / 8.082 GB, free: 37.16 MB / 1.37 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007613/26.59, allocations: 1.52 MB / 8.084 GB, free: 36.62 MB / 1.37 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00352/26.6, allocations: 80.06 kB / 8.084 GB, free: 36.62 MB / 1.37 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009056/26.61, allocations: 0.5853 MB / 8.084 GB, free: 36.61 MB / 1.37 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009598/26.61, allocations: 239.9 kB / 8.084 GB, free: 36.6 MB / 1.37 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006135/26.61, allocations: 170.7 kB / 8.085 GB, free: 36.6 MB / 1.37 GB Notification: Performance of sorting global known variables: time 0.01445/26.62, allocations: 5.171 MB / 8.09 GB, free: 36.35 MB / 1.37 GB Notification: Performance of sort global known variables: time 6.81e-07/26.62, allocations: 0 / 8.09 GB, free: 36.35 MB / 1.37 GB Notification: Performance of remove unused functions: time 0.03162/26.65, allocations: 4.716 MB / 8.094 GB, free: 36.35 MB / 1.37 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 29 (vol.dynBal.medium.Xi[1],vol.dynBal.m,heaCap.T,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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (336): * Single equations (assignments): 316 * 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%) 3,(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.03311/26.69, allocations: 13.36 MB / 8.107 GB, free: 32.86 MB / 1.37 GB Notification: Performance of simCode: created initialization part: time 0.02609/26.71, allocations: 8.372 MB / 8.116 GB, free: 48.14 MB / 1.385 GB Notification: Performance of simCode: created event and clocks part: time 1.997e-05/26.71, allocations: 6.156 kB / 8.116 GB, free: 48.14 MB / 1.385 GB Notification: Performance of simCode: created simulation system equations: time 0.006728/26.72, allocations: 2.907 MB / 8.118 GB, free: 47.34 MB / 1.385 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02569/26.75, allocations: 4.238 MB / 8.122 GB, free: 47.3 MB / 1.385 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07904/26.83, allocations: 52.08 MB / 8.173 GB, free: 24.17 MB / 1.401 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01222/26.84, allocations: 4.983 MB / 8.178 GB, free: 23.17 MB / 1.401 GB Notification: Performance of simCode: alias equations: time 0.01665/26.85, allocations: 2.308 MB / 8.18 GB, free: 22.89 MB / 1.401 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01152/26.87, allocations: 4.258 MB / 8.185 GB, free: 22.88 MB / 1.401 GB Notification: Performance of SimCode: time 1.563e-06/26.87, allocations: 0 / 8.185 GB, free: 22.88 MB / 1.401 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5138/27.38, allocations: 278.3 MB / 8.456 GB, free: 13.99 MB / 1.464 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002685/27.38, allocations: 250.9 kB / 8.457 GB, free: 13.75 MB / 1.464 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.49/40.87, allocations: 1.312 kB / 8.457 GB, free: 13.75 MB / 1.464 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