Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.Boiler.System5.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.System5,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_Boiler_System5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System5,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_Boiler_System5",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.228/2.228, allocations: 387.1 MB / 399.7 MB, free: 9.457 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.001008/0.001008, allocations: 178.4 kB / 492.3 MB, free: 0.5977 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.63/1.63, allocations: 221.3 MB / 0.7872 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.0008709/0.0008709, allocations: 87.33 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.957e-05/3.978e-05, allocations: 8 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.349/0.349, allocations: 142.3 MB / 1.212 GB, free: 38.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.151/6.5, allocations: 2.225 GB / 3.437 GB, free: 52.23 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003414/6.501, allocations: 89.52 kB / 3.437 GB, free: 52.18 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 19.48/25.98, allocations: 4.409 GB / 7.846 GB, free: 67.93 MB / 1.339 GB Notification: Performance of FrontEnd: time 2.044e-06/25.98, allocations: 3.75 kB / 7.846 GB, free: 67.93 MB / 1.339 GB Notification: Performance of Transformations before backend: time 0.002796/25.98, allocations: 304 kB / 7.846 GB, free: 67.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: 1718 * Number of variables: 1718 Notification: Performance of Generate backend data structure: time 0.03909/26.02, allocations: 9.401 MB / 7.855 GB, free: 63.7 MB / 1.339 GB Notification: Performance of prepare preOptimizeDAE: time 5.993e-05/26.02, allocations: 9.406 kB / 7.855 GB, free: 63.7 MB / 1.339 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004959/26.02, allocations: 0.8788 MB / 7.856 GB, free: 63.62 MB / 1.339 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01702/26.04, allocations: 2.265 MB / 7.859 GB, free: 62.93 MB / 1.339 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04855/26.09, allocations: 12.93 MB / 7.871 GB, free: 61.25 MB / 1.339 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001006/26.09, allocations: 0.526 MB / 7.872 GB, free: 61.24 MB / 1.339 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00414/26.1, allocations: 0.7204 MB / 7.872 GB, free: 61.23 MB / 1.339 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03188/26.13, allocations: 7.592 MB / 7.88 GB, free: 60.32 MB / 1.339 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006599/26.13, allocations: 18.34 kB / 7.88 GB, free: 60.32 MB / 1.339 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003395/26.13, allocations: 291.1 kB / 7.88 GB, free: 60.31 MB / 1.339 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004667/26.13, allocations: 284.7 kB / 7.88 GB, free: 60.29 MB / 1.339 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01953/26.15, allocations: 5.782 MB / 7.886 GB, free: 60.22 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.08814/26.24, allocations: 38.97 MB / 7.924 GB, free: 39.68 MB / 1.339 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008565/26.25, allocations: 4.302 MB / 7.928 GB, free: 38.82 MB / 1.339 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005229/26.25, allocations: 2.225 MB / 7.93 GB, free: 38.79 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.03325/26.29, allocations: 9.576 MB / 7.94 GB, free: 35.84 MB / 1.339 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006633/26.29, allocations: 2.258 MB / 7.942 GB, free: 35.69 MB / 1.339 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008195/26.3, allocations: 495.6 kB / 7.942 GB, free: 35.48 MB / 1.339 GB Notification: Performance of pre-optimization done (n=379): time 3.36e-05/26.3, allocations: 0 / 7.942 GB, free: 35.48 MB / 1.339 GB Notification: Performance of matching and sorting (n=387): time 0.03949/26.34, allocations: 10.19 MB / 7.952 GB, free: 33.01 MB / 1.339 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/26.34, allocations: 200.1 kB / 7.953 GB, free: 32.82 MB / 1.339 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0211/26.36, allocations: 6.947 MB / 7.959 GB, free: 32.2 MB / 1.339 GB Notification: Performance of collectPreVariables (initialization): time 0.001676/26.36, allocations: 130.2 kB / 7.96 GB, free: 32.16 MB / 1.339 GB Notification: Performance of collectInitialEqns (initialization): time 0.006626/26.37, allocations: 4.758 MB / 7.964 GB, free: 30.76 MB / 1.339 GB Notification: Performance of collectInitialBindings (initialization): time 0.002378/26.37, allocations: 1.341 MB / 7.965 GB, free: 29.88 MB / 1.339 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005026/26.37, allocations: 108.2 kB / 7.966 GB, free: 29.88 MB / 1.339 GB Notification: Performance of setup shared object (initialization): time 0.0003422/26.37, allocations: 0.4992 MB / 7.966 GB, free: 29.56 MB / 1.339 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003064/26.38, allocations: 1.753 MB / 7.968 GB, free: 29.54 MB / 1.339 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004143/26.38, allocations: 3.563 MB / 7.971 GB, free: 27.35 MB / 1.339 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003831/26.39, allocations: 2.36 MB / 7.974 GB, free: 27.16 MB / 1.339 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.356e-05/26.39, allocations: 11.69 kB / 7.974 GB, free: 27.16 MB / 1.339 GB Notification: Performance of matching and sorting (n=668) (initialization): time 0.01462/26.4, allocations: 6.524 MB / 7.98 GB, free: 26.24 MB / 1.339 GB Notification: Performance of prepare postOptimizeDAE: time 0.007396/26.41, allocations: 22.09 MB / 8.002 GB, free: 18.71 MB / 1.354 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001687/26.41, allocations: 43.03 kB / 8.002 GB, free: 18.71 MB / 1.354 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003549/26.41, allocations: 0.8805 MB / 8.002 GB, free: 18.64 MB / 1.354 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005948/26.42, allocations: 1.141 MB / 8.004 GB, free: 18.57 MB / 1.354 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00666/26.42, allocations: 5.8 MB / 8.009 GB, free: 14.21 MB / 1.354 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01232/26.44, allocations: 0.7411 MB / 8.01 GB, free: 14.08 MB / 1.354 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001834/26.44, allocations: 259.6 kB / 8.01 GB, free: 14.07 MB / 1.354 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/26.44, allocations: 3.688 kB / 8.01 GB, free: 14.07 MB / 1.354 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01258/26.45, allocations: 5.632 MB / 8.016 GB, free: 13.62 MB / 1.354 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001175/26.45, allocations: 43.14 kB / 8.016 GB, free: 13.61 MB / 1.354 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002896/26.45, allocations: 0.8196 MB / 8.017 GB, free: 13.55 MB / 1.354 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004963/26.46, allocations: 1.092 MB / 8.018 GB, free: 13.48 MB / 1.354 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009954/26.47, allocations: 7.552 MB / 8.025 GB, free: 8.758 MB / 1.354 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01104/26.48, allocations: 0.6889 MB / 8.026 GB, free: 8.656 MB / 1.354 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001537/26.48, allocations: 238 kB / 8.026 GB, free: 8.656 MB / 1.354 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 178 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$whenCondition2,$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 (613): * Single equations (assignments): 606 * 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 {4 7,13 22} Notification: Performance of prepare postOptimizeDAE: time 0.00211/26.48, allocations: 449.3 kB / 8.026 GB, free: 8.438 MB / 1.354 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00339/26.49, allocations: 0.8643 MB / 8.027 GB, free: 7.977 MB / 1.354 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0125/26.5, allocations: 5.375 MB / 8.032 GB, free: 7.539 MB / 1.354 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.433e-05/26.5, allocations: 43.78 kB / 8.032 GB, free: 7.539 MB / 1.354 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.325e-05/26.5, allocations: 3.312 kB / 8.032 GB, free: 7.539 MB / 1.354 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006575/26.51, allocations: 3.976 MB / 8.036 GB, free: 7.227 MB / 1.354 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03452/26.54, allocations: 12.76 MB / 8.049 GB, free: 6.137 MB / 1.354 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.347e-05/26.54, allocations: 3.625 kB / 8.049 GB, free: 6.137 MB / 1.354 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003257/26.54, allocations: 0.7386 MB / 8.05 GB, free: 6.09 MB / 1.354 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001727/26.55, allocations: 0.64 MB / 8.05 GB, free: 6 MB / 1.354 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004031/26.55, allocations: 113.9 kB / 8.05 GB, free: 6 MB / 1.354 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009526/26.56, allocations: 11.66 MB / 8.062 GB, free: 11.86 MB / 1.37 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/26.56, allocations: 0 / 8.062 GB, free: 11.86 MB / 1.37 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01477/26.57, allocations: 7.4 MB / 8.069 GB, free: 10.75 MB / 1.37 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007265/26.58, allocations: 1.574 MB / 8.07 GB, free: 10.18 MB / 1.37 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003895/26.58, allocations: 94.09 kB / 8.07 GB, free: 10.18 MB / 1.37 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009372/26.59, allocations: 0.6237 MB / 8.071 GB, free: 10.09 MB / 1.37 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009987/26.59, allocations: 276 kB / 8.071 GB, free: 10.08 MB / 1.37 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001004/26.59, allocations: 180.1 kB / 8.072 GB, free: 10.08 MB / 1.37 GB Notification: Performance of sorting global known variables: time 0.01513/26.61, allocations: 5.239 MB / 8.077 GB, free: 9.75 MB / 1.37 GB Notification: Performance of sort global known variables: time 6.02e-07/26.61, allocations: 3.75 kB / 8.077 GB, free: 9.75 MB / 1.37 GB Notification: Performance of remove unused functions: time 0.03573/26.64, allocations: 4.809 MB / 8.081 GB, free: 9.551 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: 10 ($whenCondition3,$whenCondition2,$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 (373): * Single equations (assignments): 353 * 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.0333/26.68, allocations: 13.58 MB / 8.095 GB, free: 4.828 MB / 1.37 GB Notification: Performance of simCode: created initialization part: time 0.023/26.7, allocations: 8.742 MB / 8.103 GB, free: 3.746 MB / 1.37 GB Notification: Performance of simCode: created event and clocks part: time 1.77e-05/26.7, allocations: 10.03 kB / 8.103 GB, free: 3.742 MB / 1.37 GB Notification: Performance of simCode: created simulation system equations: time 0.006273/26.71, allocations: 2.967 MB / 8.106 GB, free: 2.863 MB / 1.37 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02611/26.73, allocations: 4.293 MB / 8.11 GB, free: 2.605 MB / 1.37 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05771/26.79, allocations: 16.37 MB / 8.126 GB, free: 13.77 MB / 1.385 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01024/26.8, allocations: 5.165 MB / 8.131 GB, free: 10.48 MB / 1.385 GB Notification: Performance of simCode: alias equations: time 0.02075/26.82, allocations: 3.382 MB / 8.135 GB, free: 8.293 MB / 1.385 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008375/26.83, allocations: 4.317 MB / 8.139 GB, free: 7.848 MB / 1.385 GB Notification: Performance of SimCode: time 1.453e-06/26.83, allocations: 0 / 8.139 GB, free: 7.848 MB / 1.385 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.798/28.63, allocations: 300.5 MB / 8.432 GB, free: 110.1 MB / 1.401 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001842/28.63, allocations: 213.7 kB / 8.432 GB, free: 109.9 MB / 1.401 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.61/47.24, allocations: 0.5469 kB / 8.432 GB, free: 109.9 MB / 1.401 GB (rm -f Buildings_9_Buildings.Examples.Tutorial.Boiler.System5.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.Boiler.System5.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.Boiler.System5.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.Boiler.System5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Examples.Tutorial.Boiler.System5_res.mat --tempDir=temp_Buildings_9_Buildings_Examples_Tutorial_Boiler_System5_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Examples_Tutorial_Boiler_System5.fmu > Buildings_9_Buildings.Examples.Tutorial.Boiler.System5.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Examples.Tutorial.Boiler.System5_res.mat does not exist to compare? outputFormat=mat