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.293/2.293, allocations: 387.1 MB / 399.7 MB, free: 9.492 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.001275/0.001275, allocations: 180.9 kB / 492.3 MB, free: 0.6094 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.968/1.968, allocations: 221.3 MB / 0.7871 GB, free: 12.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.001262/0.001262, allocations: 96.81 kB / 0.9267 GB, free: 14.02 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.888e-05/3.908e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3313/0.3314, allocations: 142.4 MB / 1.212 GB, free: 38.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.044/6.375, allocations: 2.223 GB / 3.435 GB, free: 78.05 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000218/6.375, allocations: 87.7 kB / 3.435 GB, free: 77.97 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 19.1/25.48, allocations: 4.403 GB / 7.838 GB, free: 61.35 MB / 1.339 GB Notification: Performance of FrontEnd: time 2.906e-06/25.48, allocations: 0 / 7.838 GB, free: 61.35 MB / 1.339 GB Notification: Performance of Transformations before backend: time 0.002643/25.48, allocations: 294.2 kB / 7.839 GB, free: 61.29 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.03397/25.51, allocations: 9.092 MB / 7.848 GB, free: 57.4 MB / 1.339 GB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/25.51, allocations: 10.12 kB / 7.848 GB, free: 57.4 MB / 1.339 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004033/25.52, allocations: 0.8352 MB / 7.848 GB, free: 57.32 MB / 1.339 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01507/25.53, allocations: 2.2 MB / 7.851 GB, free: 56.66 MB / 1.339 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03791/25.57, allocations: 12.76 MB / 7.863 GB, free: 55.02 MB / 1.339 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007297/25.57, allocations: 0.4997 MB / 7.863 GB, free: 55 MB / 1.339 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003146/25.57, allocations: 0.6849 MB / 7.864 GB, free: 54.99 MB / 1.339 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02289/25.6, allocations: 7.259 MB / 7.871 GB, free: 54.11 MB / 1.339 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003285/25.6, allocations: 18.75 kB / 7.871 GB, free: 54.11 MB / 1.339 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002119/25.6, allocations: 267.7 kB / 7.871 GB, free: 54.11 MB / 1.339 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002841/25.6, allocations: 268.9 kB / 7.872 GB, free: 54.09 MB / 1.339 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01624/25.62, allocations: 5.548 MB / 7.877 GB, free: 54.03 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.07326/25.69, allocations: 37.97 MB / 7.914 GB, free: 34.34 MB / 1.339 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006683/25.7, allocations: 3.968 MB / 7.918 GB, free: 33.61 MB / 1.339 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003588/25.7, allocations: 2.099 MB / 7.92 GB, free: 33.57 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.02917/25.73, allocations: 9.383 MB / 7.929 GB, free: 30.75 MB / 1.339 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005297/25.74, allocations: 2.133 MB / 7.931 GB, free: 30.61 MB / 1.339 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007047/25.74, allocations: 466.2 kB / 7.932 GB, free: 30.43 MB / 1.339 GB Notification: Performance of pre-optimization done (n=351): time 2.8e-05/25.74, allocations: 0 / 7.932 GB, free: 30.43 MB / 1.339 GB Notification: Performance of matching and sorting (n=359): time 0.03725/25.78, allocations: 9.754 MB / 7.941 GB, free: 28.07 MB / 1.339 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.701e-05/25.78, allocations: 124.1 kB / 7.941 GB, free: 27.97 MB / 1.339 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01876/25.8, allocations: 6.738 MB / 7.948 GB, free: 27.42 MB / 1.339 GB Notification: Performance of collectPreVariables (initialization): time 0.001335/25.8, allocations: 127.6 kB / 7.948 GB, free: 27.39 MB / 1.339 GB Notification: Performance of collectInitialEqns (initialization): time 0.006024/25.81, allocations: 4.577 MB / 7.953 GB, free: 26.07 MB / 1.339 GB Notification: Performance of collectInitialBindings (initialization): time 0.001965/25.81, allocations: 1.256 MB / 7.954 GB, free: 25.27 MB / 1.339 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004589/25.81, allocations: 99.16 kB / 7.954 GB, free: 25.27 MB / 1.339 GB Notification: Performance of setup shared object (initialization): time 0.0002832/25.81, allocations: 499.7 kB / 7.954 GB, free: 24.95 MB / 1.339 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002905/25.81, allocations: 1.68 MB / 7.956 GB, free: 24.94 MB / 1.339 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003769/25.82, allocations: 3.427 MB / 7.959 GB, free: 22.85 MB / 1.339 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003782/25.82, allocations: 2.278 MB / 7.962 GB, free: 22.71 MB / 1.339 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.685e-05/25.82, allocations: 9.062 kB / 7.962 GB, free: 22.71 MB / 1.339 GB Notification: Performance of matching and sorting (n=634) (initialization): time 0.01506/25.83, allocations: 6.321 MB / 7.968 GB, free: 22.02 MB / 1.339 GB Notification: Performance of prepare postOptimizeDAE: time 0.008867/25.84, allocations: 21.46 MB / 7.989 GB, free: 31.57 MB / 1.37 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001397/25.84, allocations: 41.25 kB / 7.989 GB, free: 31.57 MB / 1.37 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003675/25.85, allocations: 0.8786 MB / 7.99 GB, free: 31.51 MB / 1.37 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005023/25.85, allocations: 1.073 MB / 7.991 GB, free: 31.44 MB / 1.37 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006049/25.86, allocations: 5.784 MB / 7.996 GB, free: 27.07 MB / 1.37 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009916/25.87, allocations: 0.7072 MB / 7.997 GB, free: 26.95 MB / 1.37 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00129/25.87, allocations: 243 kB / 7.997 GB, free: 26.95 MB / 1.37 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/25.87, allocations: 8.156 kB / 7.997 GB, free: 26.95 MB / 1.37 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01401/25.88, allocations: 5.436 MB / 8.003 GB, free: 26.5 MB / 1.37 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001372/25.88, allocations: 40.88 kB / 8.003 GB, free: 26.5 MB / 1.37 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00316/25.89, allocations: 0.8143 MB / 8.003 GB, free: 26.43 MB / 1.37 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004907/25.89, allocations: 1.046 MB / 8.005 GB, free: 26.36 MB / 1.37 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0105/25.9, allocations: 7.542 MB / 8.012 GB, free: 21.65 MB / 1.37 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01073/25.91, allocations: 0.6697 MB / 8.013 GB, free: 21.55 MB / 1.37 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001489/25.91, allocations: 228.6 kB / 8.013 GB, free: 21.55 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: 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 (579): * Single equations (assignments): 572 * 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 {3 8,13 22} Notification: Performance of prepare postOptimizeDAE: time 0.003449/25.92, allocations: 433.6 kB / 8.013 GB, free: 21.34 MB / 1.37 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004824/25.92, allocations: 0.8365 MB / 8.014 GB, free: 20.89 MB / 1.37 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02025/25.94, allocations: 5.159 MB / 8.019 GB, free: 20.47 MB / 1.37 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.855e-05/25.94, allocations: 37.47 kB / 8.019 GB, free: 20.47 MB / 1.37 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.427e-05/25.94, allocations: 5.984 kB / 8.019 GB, free: 20.47 MB / 1.37 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01084/25.95, allocations: 3.805 MB / 8.023 GB, free: 20.17 MB / 1.37 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03802/25.99, allocations: 12.32 MB / 8.035 GB, free: 19.22 MB / 1.37 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-05/25.99, allocations: 0 / 8.035 GB, free: 19.22 MB / 1.37 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003296/26, allocations: 0.6785 MB / 8.035 GB, free: 19.19 MB / 1.37 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00178/26, allocations: 0.6471 MB / 8.036 GB, free: 19.1 MB / 1.37 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005337/26, allocations: 111.8 kB / 8.036 GB, free: 19.1 MB / 1.37 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00944/26.01, allocations: 11.69 MB / 8.048 GB, free: 8.969 MB / 1.37 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/26.01, allocations: 3.969 kB / 8.048 GB, free: 8.969 MB / 1.37 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01441/26.02, allocations: 7.079 MB / 8.055 GB, free: 23.93 MB / 1.385 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007431/26.03, allocations: 1.523 MB / 8.056 GB, free: 23.39 MB / 1.385 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003351/26.03, allocations: 80.53 kB / 8.056 GB, free: 23.39 MB / 1.385 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008988/26.04, allocations: 0.6026 MB / 8.057 GB, free: 23.3 MB / 1.385 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000949/26.04, allocations: 258 kB / 8.057 GB, free: 23.29 MB / 1.385 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006022/26.04, allocations: 170.7 kB / 8.057 GB, free: 23.29 MB / 1.385 GB Notification: Performance of sorting global known variables: time 0.01214/26.06, allocations: 5.081 MB / 8.062 GB, free: 23 MB / 1.385 GB Notification: Performance of sort global known variables: time 5e-07/26.06, allocations: 0 / 8.062 GB, free: 23 MB / 1.385 GB Notification: Performance of remove unused functions: time 0.02744/26.08, allocations: 4.728 MB / 8.067 GB, free: 22.8 MB / 1.385 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 (344): * Single equations (assignments): 324 * 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.02344/26.11, allocations: 13.24 MB / 8.08 GB, free: 18.49 MB / 1.385 GB Notification: Performance of simCode: created initialization part: time 0.01829/26.12, allocations: 8.475 MB / 8.088 GB, free: 17.41 MB / 1.385 GB Notification: Performance of simCode: created event and clocks part: time 1.269e-05/26.12, allocations: 5.531 kB / 8.088 GB, free: 17.41 MB / 1.385 GB Notification: Performance of simCode: created simulation system equations: time 0.004883/26.13, allocations: 2.862 MB / 8.091 GB, free: 16.54 MB / 1.385 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02273/26.15, allocations: 4.241 MB / 8.095 GB, free: 16.31 MB / 1.385 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04404/26.2, allocations: 15.78 MB / 8.11 GB, free: 12 MB / 1.385 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007207/26.2, allocations: 5.031 MB / 8.115 GB, free: 10.98 MB / 1.385 GB Notification: Performance of simCode: alias equations: time 0.01912/26.22, allocations: 3.311 MB / 8.118 GB, free: 10.55 MB / 1.385 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00771/26.23, allocations: 4.166 MB / 8.122 GB, free: 10.54 MB / 1.385 GB Notification: Performance of SimCode: time 2.114e-06/26.23, allocations: 0 / 8.122 GB, free: 10.54 MB / 1.385 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.658/27.89, allocations: 294.7 MB / 8.41 GB, free: 132.2 MB / 1.417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001674/27.89, allocations: 225.5 kB / 8.41 GB, free: 131.9 MB / 1.417 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.3/45.19, allocations: 0 / 8.41 GB, free: 131.9 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