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.421/2.421, allocations: 387.4 MB / 394.9 MB, free: 13.35 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.001425/0.001425, allocations: 184.6 kB / 487.4 MB, free: 5.051 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.777/1.777, allocations: 221.5 MB / 0.7824 GB, free: 0.9375 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.001055/0.001055, allocations: 98.34 kB / 0.9219 GB, free: 2.168 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.032e-05/2.036e-05, allocations: 0 / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3325/0.3326, allocations: 142.4 MB / 1.206 GB, free: 43.85 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.613/6.946, allocations: 2.224 GB / 3.43 GB, free: 73.63 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003591/6.946, allocations: 85.52 kB / 3.43 GB, free: 73.59 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 18.13/25.07, allocations: 4.388 GB / 7.818 GB, free: 67.52 MB / 1.339 GB Notification: Performance of FrontEnd: time 2.885e-06/25.07, allocations: 0 / 7.818 GB, free: 67.52 MB / 1.339 GB Notification: Performance of Transformations before backend: time 0.002192/25.07, allocations: 306.5 kB / 7.819 GB, free: 67.47 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.03983/25.11, allocations: 9.408 MB / 7.828 GB, free: 63.66 MB / 1.339 GB Notification: Performance of prepare preOptimizeDAE: time 7.312e-05/25.11, allocations: 13.28 kB / 7.828 GB, free: 63.66 MB / 1.339 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01747/25.13, allocations: 2.251 MB / 7.83 GB, free: 63.03 MB / 1.339 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04405/25.18, allocations: 12.92 MB / 7.843 GB, free: 61.42 MB / 1.339 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006561/25.18, allocations: 213.7 kB / 7.843 GB, free: 61.42 MB / 1.339 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003805/25.18, allocations: 450.1 kB / 7.843 GB, free: 61.41 MB / 1.339 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01844/25.2, allocations: 5.424 MB / 7.849 GB, free: 61.38 MB / 1.339 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02701/25.23, allocations: 6.621 MB / 7.855 GB, free: 60.54 MB / 1.339 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005588/25.23, allocations: 15.81 kB / 7.855 GB, free: 60.54 MB / 1.339 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003135/25.23, allocations: 14.62 kB / 7.855 GB, free: 60.54 MB / 1.339 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003826/25.23, allocations: 278.9 kB / 7.855 GB, free: 60.52 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.08366/25.31, allocations: 37.82 MB / 7.892 GB, free: 40.96 MB / 1.339 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009264/25.32, allocations: 3.845 MB / 7.896 GB, free: 40.81 MB / 1.339 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005727/25.33, allocations: 2.339 MB / 7.898 GB, free: 40.77 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.03311/25.36, allocations: 9.369 MB / 7.908 GB, free: 37.95 MB / 1.339 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006167/25.37, allocations: 2.174 MB / 7.91 GB, free: 37.8 MB / 1.339 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007866/25.38, allocations: 356.1 kB / 7.91 GB, free: 37.63 MB / 1.339 GB Notification: Performance of pre-optimization done (n=383): time 4.004e-05/25.38, allocations: 0 / 7.91 GB, free: 37.63 MB / 1.339 GB Notification: Performance of matching and sorting (n=388): time 0.04923/25.43, allocations: 10.39 MB / 7.92 GB, free: 35.23 MB / 1.339 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001081/25.43, allocations: 199.8 kB / 7.92 GB, free: 35.04 MB / 1.339 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02337/25.45, allocations: 6.364 MB / 7.927 GB, free: 34.53 MB / 1.339 GB Notification: Performance of collectPreVariables (initialization): time 0.001961/25.45, allocations: 41.89 kB / 7.927 GB, free: 34.5 MB / 1.339 GB Notification: Performance of collectInitialEqns (initialization): time 0.008959/25.46, allocations: 4.758 MB / 7.931 GB, free: 33.09 MB / 1.339 GB Notification: Performance of collectInitialBindings (initialization): time 0.003178/25.46, allocations: 1.298 MB / 7.933 GB, free: 32.23 MB / 1.339 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001461/25.47, allocations: 6.672 kB / 7.933 GB, free: 32.23 MB / 1.339 GB Notification: Performance of setup shared object (initialization): time 0.0006957/25.47, allocations: 0.5041 MB / 7.933 GB, free: 31.91 MB / 1.339 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005026/25.47, allocations: 1.751 MB / 7.935 GB, free: 31.89 MB / 1.339 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006771/25.48, allocations: 3.51 MB / 7.938 GB, free: 29.78 MB / 1.339 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008524/25.49, allocations: 2.509 MB / 7.941 GB, free: 29.66 MB / 1.339 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001186/25.49, allocations: 11.34 kB / 7.941 GB, free: 29.66 MB / 1.339 GB Notification: Performance of matching and sorting (n=669) (initialization): time 0.0263/25.51, allocations: 6.417 MB / 7.947 GB, free: 29.01 MB / 1.339 GB Notification: Performance of prepare postOptimizeDAE: time 0.01082/25.52, allocations: 21.91 MB / 7.968 GB, free: 22.18 MB / 1.354 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002839/25.52, allocations: 39.19 kB / 7.968 GB, free: 22.18 MB / 1.354 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003572/25.53, allocations: 0.762 MB / 7.969 GB, free: 22.13 MB / 1.354 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00647/25.53, allocations: 1.141 MB / 7.97 GB, free: 22.12 MB / 1.354 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007817/25.54, allocations: 5.803 MB / 7.976 GB, free: 17.91 MB / 1.354 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01303/25.56, allocations: 0.6262 MB / 7.977 GB, free: 17.78 MB / 1.354 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002157/25.56, allocations: 255 kB / 7.977 GB, free: 17.78 MB / 1.354 GB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/25.56, allocations: 6.844 kB / 7.977 GB, free: 17.78 MB / 1.354 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01972/25.58, allocations: 5.175 MB / 7.982 GB, free: 17.6 MB / 1.354 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002282/25.58, allocations: 43.28 kB / 7.982 GB, free: 17.6 MB / 1.354 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003121/25.58, allocations: 0.7283 MB / 7.983 GB, free: 17.55 MB / 1.354 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005827/25.59, allocations: 1.097 MB / 7.984 GB, free: 17.54 MB / 1.354 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01369/25.6, allocations: 7.382 MB / 7.991 GB, free: 29.03 MB / 1.37 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01201/25.61, allocations: 0.5703 MB / 7.991 GB, free: 28.93 MB / 1.37 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00201/25.61, allocations: 237.7 kB / 7.992 GB, free: 28.93 MB / 1.37 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 (614): * Single equations (assignments): 607 * 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 {5 6,13 22} Notification: Performance of prepare postOptimizeDAE: time 0.003611/25.62, allocations: 273.5 kB / 7.992 GB, free: 28.79 MB / 1.37 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.017/25.64, allocations: 4.501 MB / 7.996 GB, free: 28.09 MB / 1.37 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004645/25.64, allocations: 0.8509 MB / 7.997 GB, free: 27.64 MB / 1.37 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02033/25.66, allocations: 5.158 MB / 8.002 GB, free: 27.21 MB / 1.37 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.85e-05/25.66, allocations: 48.06 kB / 8.002 GB, free: 27.21 MB / 1.37 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.851e-05/25.66, allocations: 3.844 kB / 8.002 GB, free: 27.21 MB / 1.37 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01164/25.67, allocations: 3.833 MB / 8.006 GB, free: 26.93 MB / 1.37 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04728/25.72, allocations: 11.81 MB / 8.017 GB, free: 26.07 MB / 1.37 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.339e-05/25.72, allocations: 4.062 kB / 8.017 GB, free: 26.07 MB / 1.37 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004687/25.72, allocations: 0.7436 MB / 8.018 GB, free: 26.02 MB / 1.37 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002091/25.73, allocations: 0.5746 MB / 8.019 GB, free: 25.95 MB / 1.37 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001341/25.73, allocations: 67.84 kB / 8.019 GB, free: 25.95 MB / 1.37 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01166/25.74, allocations: 11.43 MB / 8.03 GB, free: 16.23 MB / 1.37 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-06/25.74, allocations: 3.375 kB / 8.03 GB, free: 16.23 MB / 1.37 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02102/25.76, allocations: 7.234 MB / 8.037 GB, free: 15.18 MB / 1.37 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009258/25.77, allocations: 1.561 MB / 8.039 GB, free: 14.62 MB / 1.37 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004944/25.77, allocations: 23.58 kB / 8.039 GB, free: 14.62 MB / 1.37 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01071/25.79, allocations: 0.5585 MB / 8.039 GB, free: 14.54 MB / 1.37 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001532/25.79, allocations: 266.4 kB / 8.039 GB, free: 14.53 MB / 1.37 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001363/25.79, allocations: 180.6 kB / 8.04 GB, free: 14.53 MB / 1.37 GB Notification: Performance of sorting global known variables: time 0.01558/25.8, allocations: 4.695 MB / 8.044 GB, free: 14.28 MB / 1.37 GB Notification: Performance of sort global known variables: time 9.31e-07/25.8, allocations: 4 kB / 8.044 GB, free: 14.27 MB / 1.37 GB Notification: Performance of remove unused functions: time 0.035/25.84, allocations: 4.557 MB / 8.049 GB, free: 14.07 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 (374): * Single equations (assignments): 354 * 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.03459/25.87, allocations: 13.22 MB / 8.062 GB, free: 9.844 MB / 1.37 GB Notification: Performance of simCode: created initialization part: time 0.02232/25.9, allocations: 8.31 MB / 8.07 GB, free: 8.859 MB / 1.37 GB Notification: Performance of simCode: created event and clocks part: time 1.772e-05/25.9, allocations: 5.75 kB / 8.07 GB, free: 8.852 MB / 1.37 GB Notification: Performance of simCode: created simulation system equations: time 0.006348/25.9, allocations: 2.853 MB / 8.072 GB, free: 8.043 MB / 1.37 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02632/25.93, allocations: 4.14 MB / 8.076 GB, free: 7.82 MB / 1.37 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05574/25.98, allocations: 15.99 MB / 8.092 GB, free: 3.379 MB / 1.37 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01171/26, allocations: 5.168 MB / 8.097 GB, free: 2.359 MB / 1.37 GB Notification: Performance of simCode: alias equations: time 0.02256/26.02, allocations: 3.364 MB / 8.1 GB, free: 1.895 MB / 1.37 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01032/26.03, allocations: 4.319 MB / 8.105 GB, free: 1.883 MB / 1.37 GB Notification: Performance of SimCode: time 1.553e-06/26.03, allocations: 0 / 8.105 GB, free: 1.883 MB / 1.37 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.637/27.67, allocations: 258.7 MB / 8.357 GB, free: 138.9 MB / 1.417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002201/27.67, allocations: 164.3 kB / 8.357 GB, free: 138.7 MB / 1.417 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.51/44.18, allocations: 0 / 8.357 GB, free: 138.7 MB / 1.417 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