Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.Boiler.System6.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.System6,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_Boiler_System6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System6,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_Boiler_System6",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.332/2.332, 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.001338/0.001338, allocations: 188.5 kB / 487.4 MB, free: 5.055 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.665/1.665, allocations: 221.5 MB / 0.7824 GB, free: 1.027 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.001024/0.001024, allocations: 99.88 kB / 0.9219 GB, free: 2.266 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.838e-05/1.832e-05, allocations: 0 / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.32/0.32, allocations: 142.4 MB / 1.206 GB, free: 43.91 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.616/6.936, allocations: 2.242 GB / 3.448 GB, free: 56.82 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003024/6.937, allocations: 83.98 kB / 3.448 GB, free: 56.78 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 18.67/25.61, allocations: 4.436 GB / 7.884 GB, free: 64.93 MB / 1.339 GB Notification: Performance of FrontEnd: time 2.224e-06/25.61, allocations: 0 / 7.884 GB, free: 64.93 MB / 1.339 GB Notification: Performance of Transformations before backend: time 0.002856/25.61, allocations: 328.1 kB / 7.884 GB, free: 64.87 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: 1912 * Number of variables: 1912 Notification: Performance of Generate backend data structure: time 0.04261/25.65, allocations: 10.17 MB / 7.894 GB, free: 60.36 MB / 1.339 GB Notification: Performance of prepare preOptimizeDAE: time 5.954e-05/25.65, allocations: 16.22 kB / 7.894 GB, free: 60.36 MB / 1.339 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01832/25.67, allocations: 2.424 MB / 7.897 GB, free: 59.61 MB / 1.339 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04839/25.72, allocations: 13.4 MB / 7.91 GB, free: 57.86 MB / 1.339 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007434/25.72, allocations: 236.8 kB / 7.91 GB, free: 57.86 MB / 1.339 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004292/25.73, allocations: 482.2 kB / 7.91 GB, free: 57.86 MB / 1.339 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0223/25.75, allocations: 6.378 MB / 7.917 GB, free: 57.83 MB / 1.339 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03389/25.78, allocations: 7.288 MB / 7.924 GB, free: 56.88 MB / 1.339 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007747/25.78, allocations: 20.97 kB / 7.924 GB, free: 56.87 MB / 1.339 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003949/25.79, allocations: 15.3 kB / 7.924 GB, free: 56.87 MB / 1.339 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000536/25.79, allocations: 309.5 kB / 7.924 GB, free: 56.85 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.09525/25.88, allocations: 40.1 MB / 7.963 GB, free: 36.23 MB / 1.339 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01193/25.9, allocations: 4.408 MB / 7.968 GB, free: 36.03 MB / 1.339 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006406/25.9, allocations: 2.544 MB / 7.97 GB, free: 35.98 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.03568/25.94, allocations: 10.17 MB / 7.98 GB, free: 33.1 MB / 1.339 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007866/25.95, allocations: 2.495 MB / 7.982 GB, free: 32.95 MB / 1.339 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008121/25.95, allocations: 386 kB / 7.983 GB, free: 32.73 MB / 1.339 GB Notification: Performance of pre-optimization done (n=452): time 5.173e-05/25.95, allocations: 0 / 7.983 GB, free: 32.73 MB / 1.339 GB Notification: Performance of matching and sorting (n=457): time 0.05361/26.01, allocations: 11.56 MB / 7.994 GB, free: 30.12 MB / 1.339 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001741/26.01, allocations: 385.7 kB / 7.995 GB, free: 29.71 MB / 1.339 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02379/26.03, allocations: 6.777 MB / 8.001 GB, free: 29.13 MB / 1.339 GB Notification: Performance of collectPreVariables (initialization): time 0.002138/26.03, allocations: 37.28 kB / 8.001 GB, free: 29.1 MB / 1.339 GB Notification: Performance of collectInitialEqns (initialization): time 0.009813/26.04, allocations: 5.095 MB / 8.006 GB, free: 27.57 MB / 1.339 GB Notification: Performance of collectInitialBindings (initialization): time 0.004017/26.05, allocations: 1.51 MB / 8.008 GB, free: 26.56 MB / 1.339 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001729/26.05, allocations: 0 / 8.008 GB, free: 26.56 MB / 1.339 GB Notification: Performance of setup shared object (initialization): time 0.0008369/26.05, allocations: 0.5238 MB / 8.008 GB, free: 26.24 MB / 1.339 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005774/26.06, allocations: 1.925 MB / 8.01 GB, free: 26.23 MB / 1.339 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007536/26.06, allocations: 3.783 MB / 8.014 GB, free: 23.97 MB / 1.339 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009207/26.07, allocations: 2.727 MB / 8.016 GB, free: 23.75 MB / 1.339 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001415/26.07, allocations: 11.84 kB / 8.016 GB, free: 23.75 MB / 1.339 GB Notification: Performance of matching and sorting (n=742) (initialization): time 0.02782/26.1, allocations: 7.042 MB / 8.023 GB, free: 22.75 MB / 1.339 GB Notification: Performance of prepare postOptimizeDAE: time 0.008878/26.11, allocations: 22.59 MB / 8.045 GB, free: 14.94 MB / 1.354 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002219/26.11, allocations: 37.81 kB / 8.045 GB, free: 14.94 MB / 1.354 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004043/26.11, allocations: 0.8382 MB / 8.046 GB, free: 14.87 MB / 1.354 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006926/26.12, allocations: 1.273 MB / 8.047 GB, free: 14.79 MB / 1.354 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009845/26.13, allocations: 7.296 MB / 8.055 GB, free: 25.29 MB / 1.37 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0133/26.14, allocations: 0.6537 MB / 8.055 GB, free: 25.16 MB / 1.37 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002299/26.15, allocations: 280.6 kB / 8.055 GB, free: 25.16 MB / 1.37 GB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/26.15, allocations: 10.48 kB / 8.055 GB, free: 25.16 MB / 1.37 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02206/26.17, allocations: 5.725 MB / 8.061 GB, free: 24.65 MB / 1.37 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002155/26.17, allocations: 38.5 kB / 8.061 GB, free: 24.65 MB / 1.37 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003542/26.17, allocations: 0.8117 MB / 8.062 GB, free: 24.59 MB / 1.37 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006404/26.18, allocations: 1.221 MB / 8.063 GB, free: 24.5 MB / 1.37 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01502/26.19, allocations: 8.856 MB / 8.072 GB, free: 18.72 MB / 1.37 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01471/26.21, allocations: 0.6115 MB / 8.072 GB, free: 18.61 MB / 1.37 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002239/26.21, allocations: 264.1 kB / 8.073 GB, free: 18.61 MB / 1.37 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 180 * Number of states: 0 () * Number of discrete variables: 21 ($whenCondition5,$whenCondition4,$whenCondition1,$PRE.timTab.tab.nextTimeEvent,$whenCondition3,$whenCondition2,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,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (685): * Single equations (assignments): 677 * 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: 5 * 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: 3 {5 6,13 22,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.004424/26.22, allocations: 279.7 kB / 8.073 GB, free: 18.39 MB / 1.37 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02179/26.24, allocations: 5.092 MB / 8.078 GB, free: 17.63 MB / 1.37 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006339/26.24, allocations: 0.9223 MB / 8.079 GB, free: 17.14 MB / 1.37 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02429/26.27, allocations: 5.985 MB / 8.085 GB, free: 16.57 MB / 1.37 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.644e-05/26.27, allocations: 57.22 kB / 8.085 GB, free: 16.56 MB / 1.37 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.85e-05/26.27, allocations: 3.125 kB / 8.085 GB, free: 16.56 MB / 1.37 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01499/26.28, allocations: 4.408 MB / 8.089 GB, free: 16.17 MB / 1.37 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04876/26.33, allocations: 13.21 MB / 8.102 GB, free: 15.17 MB / 1.37 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.42e-05/26.33, allocations: 6.516 kB / 8.102 GB, free: 15.16 MB / 1.37 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005096/26.34, allocations: 0.8768 MB / 8.103 GB, free: 15.11 MB / 1.37 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002561/26.34, allocations: 0.6571 MB / 8.103 GB, free: 15.02 MB / 1.37 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001375/26.34, allocations: 77.89 kB / 8.103 GB, free: 15.02 MB / 1.37 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01225/26.35, allocations: 12.88 MB / 8.116 GB, free: 4.059 MB / 1.37 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.154e-06/26.35, allocations: 3.953 kB / 8.116 GB, free: 4.055 MB / 1.37 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02351/26.38, allocations: 8.217 MB / 8.124 GB, free: 2.824 MB / 1.37 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008622/26.39, allocations: 1.737 MB / 8.126 GB, free: 2.227 MB / 1.37 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004838/26.39, allocations: 22.38 kB / 8.126 GB, free: 2.227 MB / 1.37 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0125/26.4, allocations: 0.6202 MB / 8.126 GB, free: 2.125 MB / 1.37 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001829/26.41, allocations: 320.3 kB / 8.127 GB, free: 2.121 MB / 1.37 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001617/26.41, allocations: 206.5 kB / 8.127 GB, free: 2.121 MB / 1.37 GB Notification: Performance of sorting global known variables: time 0.01581/26.42, allocations: 5.003 MB / 8.132 GB, free: 1.836 MB / 1.37 GB Notification: Performance of sort global known variables: time 6.603e-06/26.42, allocations: 2.844 kB / 8.132 GB, free: 1.836 MB / 1.37 GB Notification: Performance of remove unused functions: time 0.03592/26.46, allocations: 4.893 MB / 8.136 GB, free: 1.605 MB / 1.37 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 31 (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,conPIDBoi.I.y,conPIDRad.I.y) * Number of discrete variables: 14 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled,hysTOut.y,hysTBoi.y,and1.y,and2.y,hysPum.y,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 7 (timTab.tab.nextTimeEvent,hysTBoi.y,hysPum.y,weaDat.conTim.tNext,weaDat.conTimMin.tNext,hysTOut.y,timTab.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (454): * Single equations (assignments): 431 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 9 * 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: 2 {13 22,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.03984/26.5, allocations: 14.76 MB / 8.151 GB, free: 12.05 MB / 1.385 GB Notification: Performance of simCode: created initialization part: time 0.02542/26.52, allocations: 9.362 MB / 8.16 GB, free: 5.789 MB / 1.385 GB Notification: Performance of simCode: created event and clocks part: time 2.407e-05/26.52, allocations: 10.56 kB / 8.16 GB, free: 5.777 MB / 1.385 GB Notification: Performance of simCode: created simulation system equations: time 0.007566/26.53, allocations: 3.28 MB / 8.163 GB, free: 2.633 MB / 1.385 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02879/26.56, allocations: 4.425 MB / 8.168 GB, free: 15.62 MB / 1.401 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06906/26.63, allocations: 17.49 MB / 8.185 GB, free: 200 kB / 1.401 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01448/26.64, allocations: 5.517 MB / 8.19 GB, free: 12.31 MB / 1.417 GB Notification: Performance of simCode: alias equations: time 0.02651/26.67, allocations: 3.739 MB / 8.194 GB, free: 9.809 MB / 1.417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01282/26.68, allocations: 4.711 MB / 8.198 GB, free: 5.457 MB / 1.417 GB Notification: Performance of SimCode: time 1.373e-06/26.68, allocations: 4 kB / 8.198 GB, free: 5.453 MB / 1.417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.006/28.69, allocations: 278.1 MB / 8.47 GB, free: 119.8 MB / 1.417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001642/28.69, allocations: 167.6 kB / 8.47 GB, free: 119.6 MB / 1.417 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.53/47.22, allocations: 0 / 8.47 GB, free: 119.6 MB / 1.417 GB (rm -f Buildings_9_Buildings.Examples.Tutorial.Boiler.System6.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.Boiler.System6.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.Boiler.System6.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.Boiler.System6.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Examples.Tutorial.Boiler.System6_res.mat --tempDir=temp_Buildings_9_Buildings_Examples_Tutorial_Boiler_System6_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Examples_Tutorial_Boiler_System6.fmu > Buildings_9_Buildings.Examples.Tutorial.Boiler.System6.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Examples.Tutorial.Boiler.System6_res.mat does not exist to compare? outputFormat=mat