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.1 MB / 399.7 MB, free: 9.434 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.001143/0.001143, allocations: 180.2 kB / 492.3 MB, free: 0.6172 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.553/1.553, allocations: 221.3 MB / 0.7871 GB, free: 12.93 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.0008939/0.000894, allocations: 111.4 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.998e-05/3.002e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2978/0.2978, allocations: 142.4 MB / 1.212 GB, free: 38.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.233/6.53, allocations: 2.243 GB / 3.455 GB, free: 34.26 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002638/6.531, allocations: 88.45 kB / 3.455 GB, free: 34.22 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 19.57/26.1, allocations: 4.457 GB / 7.912 GB, free: 65.79 MB / 1.354 GB Notification: Performance of FrontEnd: time 2.114e-06/26.1, allocations: 0 / 7.912 GB, free: 65.79 MB / 1.354 GB Notification: Performance of Transformations before backend: time 0.003023/26.11, allocations: 338.6 kB / 7.912 GB, free: 65.72 MB / 1.354 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.04158/26.15, allocations: 10.16 MB / 7.922 GB, free: 61.21 MB / 1.354 GB Notification: Performance of prepare preOptimizeDAE: time 5.944e-05/26.15, allocations: 10.47 kB / 7.922 GB, free: 61.21 MB / 1.354 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005704/26.15, allocations: 0.9731 MB / 7.923 GB, free: 61.12 MB / 1.354 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01949/26.17, allocations: 2.432 MB / 7.926 GB, free: 60.38 MB / 1.354 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05147/26.22, allocations: 13.38 MB / 7.939 GB, free: 58.64 MB / 1.354 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001039/26.23, allocations: 0.5929 MB / 7.939 GB, free: 58.62 MB / 1.354 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004277/26.23, allocations: 0.786 MB / 7.94 GB, free: 58.61 MB / 1.354 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03255/26.26, allocations: 8.355 MB / 7.948 GB, free: 57.63 MB / 1.354 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007487/26.26, allocations: 22.59 kB / 7.948 GB, free: 57.62 MB / 1.354 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003862/26.27, allocations: 322.8 kB / 7.949 GB, free: 57.62 MB / 1.354 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005063/26.27, allocations: 305.3 kB / 7.949 GB, free: 57.61 MB / 1.354 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02234/26.29, allocations: 6.785 MB / 7.955 GB, free: 57.54 MB / 1.354 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.08789/26.38, allocations: 41.41 MB / 7.996 GB, free: 36.98 MB / 1.354 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01019/26.39, allocations: 4.891 MB / 8.001 GB, free: 36.1 MB / 1.354 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006828/26.39, allocations: 2.469 MB / 8.003 GB, free: 36.07 MB / 1.354 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.03876/26.43, allocations: 10.39 MB / 8.013 GB, free: 33.19 MB / 1.354 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007612/26.44, allocations: 2.602 MB / 8.016 GB, free: 33.02 MB / 1.354 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008129/26.45, allocations: 0.5212 MB / 8.016 GB, free: 32.8 MB / 1.354 GB Notification: Performance of pre-optimization done (n=448): time 3.285e-05/26.45, allocations: 0 / 8.016 GB, free: 32.8 MB / 1.354 GB Notification: Performance of matching and sorting (n=456): time 0.04413/26.49, allocations: 11.46 MB / 8.027 GB, free: 30.17 MB / 1.354 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001655/26.49, allocations: 383.9 kB / 8.028 GB, free: 29.76 MB / 1.354 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02262/26.52, allocations: 7.418 MB / 8.035 GB, free: 29.14 MB / 1.354 GB Notification: Performance of collectPreVariables (initialization): time 0.001912/26.52, allocations: 146.2 kB / 8.035 GB, free: 29.11 MB / 1.354 GB Notification: Performance of collectInitialEqns (initialization): time 0.007641/26.53, allocations: 5.127 MB / 8.04 GB, free: 27.62 MB / 1.354 GB Notification: Performance of collectInitialBindings (initialization): time 0.002909/26.53, allocations: 1.573 MB / 8.042 GB, free: 26.62 MB / 1.354 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008431/26.53, allocations: 112 kB / 8.042 GB, free: 26.62 MB / 1.354 GB Notification: Performance of setup shared object (initialization): time 0.0003842/26.53, allocations: 0.5267 MB / 8.042 GB, free: 26.3 MB / 1.354 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003514/26.53, allocations: 1.939 MB / 8.044 GB, free: 26.29 MB / 1.354 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004663/26.54, allocations: 3.845 MB / 8.048 GB, free: 24.01 MB / 1.354 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004284/26.54, allocations: 2.586 MB / 8.051 GB, free: 23.77 MB / 1.354 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.502e-05/26.54, allocations: 10.16 kB / 8.051 GB, free: 23.77 MB / 1.354 GB Notification: Performance of matching and sorting (n=741) (initialization): time 0.01664/26.56, allocations: 7.188 MB / 8.058 GB, free: 22.71 MB / 1.354 GB Notification: Performance of prepare postOptimizeDAE: time 0.007687/26.57, allocations: 22.83 MB / 8.08 GB, free: 14.89 MB / 1.37 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001497/26.57, allocations: 38.72 kB / 8.08 GB, free: 14.89 MB / 1.37 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003934/26.57, allocations: 0.9541 MB / 8.081 GB, free: 14.83 MB / 1.37 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006145/26.58, allocations: 1.266 MB / 8.082 GB, free: 14.74 MB / 1.37 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008284/26.59, allocations: 7.301 MB / 8.089 GB, free: 25.08 MB / 1.385 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01218/26.6, allocations: 0.7857 MB / 8.09 GB, free: 24.95 MB / 1.385 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001822/26.6, allocations: 285.9 kB / 8.09 GB, free: 24.95 MB / 1.385 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/26.6, allocations: 3.344 kB / 8.09 GB, free: 24.95 MB / 1.385 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01483/26.61, allocations: 6.178 MB / 8.096 GB, free: 24.39 MB / 1.385 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001208/26.62, allocations: 38.34 kB / 8.096 GB, free: 24.39 MB / 1.385 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003417/26.62, allocations: 0.8983 MB / 8.097 GB, free: 24.33 MB / 1.385 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005886/26.62, allocations: 1.228 MB / 8.098 GB, free: 24.24 MB / 1.385 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01202/26.64, allocations: 9.099 MB / 8.107 GB, free: 18.21 MB / 1.385 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01228/26.65, allocations: 0.7352 MB / 8.108 GB, free: 18.11 MB / 1.385 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001811/26.65, allocations: 265.1 kB / 8.108 GB, free: 18.11 MB / 1.385 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 (684): * Single equations (assignments): 676 * 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 {3 8,13 22,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.002387/26.65, allocations: 484.8 kB / 8.109 GB, free: 17.88 MB / 1.385 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003565/26.66, allocations: 0.9343 MB / 8.11 GB, free: 17.39 MB / 1.385 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01375/26.67, allocations: 6.264 MB / 8.116 GB, free: 16.82 MB / 1.385 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.354e-05/26.67, allocations: 48.06 kB / 8.116 GB, free: 16.82 MB / 1.385 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.264e-05/26.67, allocations: 2.625 kB / 8.116 GB, free: 16.82 MB / 1.385 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007737/26.68, allocations: 4.585 MB / 8.12 GB, free: 16.45 MB / 1.385 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03798/26.72, allocations: 14.32 MB / 8.134 GB, free: 15.3 MB / 1.385 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.49e-05/26.72, allocations: 0 / 8.134 GB, free: 15.3 MB / 1.385 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004121/26.72, allocations: 0.8693 MB / 8.135 GB, free: 15.25 MB / 1.385 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002232/26.72, allocations: 0.7255 MB / 8.136 GB, free: 15.14 MB / 1.385 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007294/26.72, allocations: 138.2 kB / 8.136 GB, free: 15.14 MB / 1.385 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01114/26.73, allocations: 13.2 MB / 8.149 GB, free: 3.703 MB / 1.385 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/26.73, allocations: 0 / 8.149 GB, free: 3.703 MB / 1.385 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01742/26.75, allocations: 8.449 MB / 8.157 GB, free: 2.457 MB / 1.385 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008542/26.76, allocations: 1.761 MB / 8.159 GB, free: 1.848 MB / 1.385 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004311/26.77, allocations: 101.1 kB / 8.159 GB, free: 1.848 MB / 1.385 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01087/26.78, allocations: 0.6965 MB / 8.16 GB, free: 1.758 MB / 1.385 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001469/26.78, allocations: 324.7 kB / 8.16 GB, free: 1.75 MB / 1.385 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007697/26.78, allocations: 211.7 kB / 8.16 GB, free: 1.75 MB / 1.385 GB Notification: Performance of sorting global known variables: time 0.01399/26.79, allocations: 5.602 MB / 8.166 GB, free: 1.418 MB / 1.385 GB Notification: Performance of sort global known variables: time 4.01e-07/26.79, allocations: 0 / 8.166 GB, free: 1.418 MB / 1.385 GB Notification: Performance of remove unused functions: time 0.03192/26.82, allocations: 5.196 MB / 8.171 GB, free: 1.172 MB / 1.385 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 (453): * Single equations (assignments): 430 * 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.03058/26.85, allocations: 15.2 MB / 8.186 GB, free: 12.15 MB / 1.401 GB Notification: Performance of simCode: created initialization part: time 0.02326/26.88, allocations: 9.824 MB / 8.195 GB, free: 10.77 MB / 1.401 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-05/26.88, allocations: 11.22 kB / 8.195 GB, free: 10.77 MB / 1.401 GB Notification: Performance of simCode: created simulation system equations: time 0.00648/26.88, allocations: 3.414 MB / 8.198 GB, free: 9.758 MB / 1.401 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0278/26.91, allocations: 4.51 MB / 8.203 GB, free: 9.234 MB / 1.401 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06129/26.97, allocations: 17.95 MB / 8.22 GB, free: 11.54 MB / 1.417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01043/26.98, allocations: 5.513 MB / 8.226 GB, free: 7.648 MB / 1.417 GB Notification: Performance of simCode: alias equations: time 0.02593/27.01, allocations: 3.786 MB / 8.229 GB, free: 5.203 MB / 1.417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01141/27.02, allocations: 4.762 MB / 8.234 GB, free: 0.8047 MB / 1.417 GB Notification: Performance of SimCode: time 2.975e-06/27.02, allocations: 4 kB / 8.234 GB, free: 0.8008 MB / 1.417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.859/28.88, allocations: 320 MB / 8.547 GB, free: 124 MB / 1.432 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002105/28.88, allocations: 224.8 kB / 8.547 GB, free: 123.8 MB / 1.432 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.55/49.43, allocations: 3.938 kB / 8.547 GB, free: 123.8 MB / 1.432 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