Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.Boiler.System3.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.System3,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_Boiler_System3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System3,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_Boiler_System3",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.414/2.414, allocations: 387.1 MB / 399.7 MB, free: 9.48 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.001079/0.001079, allocations: 176.9 kB / 492.3 MB, free: 0.625 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.438/1.438, allocations: 221.3 MB / 0.7871 GB, free: 13 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.001128/0.001128, allocations: 91.89 kB / 0.9267 GB, free: 14.05 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.402e-05/4.417e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2798/0.2799, allocations: 142.3 MB / 1.212 GB, free: 38.47 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.433/5.713, allocations: 2.222 GB / 3.435 GB, free: 54.84 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002974/5.713, allocations: 89.69 kB / 3.435 GB, free: 54.79 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 19.37/25.08, allocations: 4.402 GB / 7.837 GB, free: 65.34 MB / 1.339 GB Notification: Performance of FrontEnd: time 2.895e-06/25.08, allocations: 0 / 7.837 GB, free: 65.34 MB / 1.339 GB Notification: Performance of Transformations before backend: time 0.002286/25.08, allocations: 287.8 kB / 7.837 GB, free: 65.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: 1601 * Number of variables: 1601 Notification: Performance of Generate backend data structure: time 0.03478/25.12, allocations: 9.033 MB / 7.846 GB, free: 61.24 MB / 1.339 GB Notification: Performance of prepare preOptimizeDAE: time 6.491e-05/25.12, allocations: 7.156 kB / 7.846 GB, free: 61.24 MB / 1.339 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004688/25.12, allocations: 0.8226 MB / 7.847 GB, free: 61.16 MB / 1.339 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01585/25.14, allocations: 2.192 MB / 7.849 GB, free: 60.51 MB / 1.339 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04593/25.19, allocations: 12.74 MB / 7.862 GB, free: 58.87 MB / 1.339 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001025/25.19, allocations: 0.4989 MB / 7.862 GB, free: 58.85 MB / 1.339 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003754/25.19, allocations: 0.6739 MB / 7.863 GB, free: 58.84 MB / 1.339 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02758/25.22, allocations: 7.19 MB / 7.87 GB, free: 57.97 MB / 1.339 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005423/25.22, allocations: 20.28 kB / 7.87 GB, free: 57.97 MB / 1.339 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002922/25.22, allocations: 264.7 kB / 7.87 GB, free: 57.97 MB / 1.339 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005199/25.22, allocations: 268.3 kB / 7.87 GB, free: 57.95 MB / 1.339 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01932/25.24, allocations: 5.497 MB / 7.876 GB, free: 57.91 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.07759/25.32, allocations: 37.86 MB / 7.913 GB, free: 38.27 MB / 1.339 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005938/25.33, allocations: 3.89 MB / 7.916 GB, free: 37.54 MB / 1.339 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003156/25.33, allocations: 2.072 MB / 7.918 GB, free: 37.51 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.02527/25.35, allocations: 9.376 MB / 7.928 GB, free: 34.67 MB / 1.339 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003832/25.36, allocations: 2.095 MB / 7.93 GB, free: 34.54 MB / 1.339 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006839/25.37, allocations: 473.5 kB / 7.93 GB, free: 34.35 MB / 1.339 GB Notification: Performance of pre-optimization done (n=341): time 2.599e-05/25.37, allocations: 0 / 7.93 GB, free: 34.35 MB / 1.339 GB Notification: Performance of matching and sorting (n=349): time 0.03032/25.4, allocations: 9.632 MB / 7.94 GB, free: 32 MB / 1.339 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.114e-05/25.4, allocations: 117.8 kB / 7.94 GB, free: 31.91 MB / 1.339 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0159/25.41, allocations: 6.729 MB / 7.946 GB, free: 31.36 MB / 1.339 GB Notification: Performance of collectPreVariables (initialization): time 0.001474/25.41, allocations: 123.3 kB / 7.946 GB, free: 31.32 MB / 1.339 GB Notification: Performance of collectInitialEqns (initialization): time 0.005437/25.42, allocations: 4.603 MB / 7.951 GB, free: 29.99 MB / 1.339 GB Notification: Performance of collectInitialBindings (initialization): time 0.002706/25.42, allocations: 1.229 MB / 7.952 GB, free: 29.21 MB / 1.339 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006646/25.42, allocations: 97.62 kB / 7.952 GB, free: 29.21 MB / 1.339 GB Notification: Performance of setup shared object (initialization): time 0.0004818/25.42, allocations: 0.4942 MB / 7.953 GB, free: 28.89 MB / 1.339 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003343/25.43, allocations: 1.661 MB / 7.954 GB, free: 28.88 MB / 1.339 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004242/25.43, allocations: 3.391 MB / 7.958 GB, free: 26.78 MB / 1.339 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003754/25.43, allocations: 2.262 MB / 7.96 GB, free: 26.59 MB / 1.339 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.363e-05/25.43, allocations: 11.31 kB / 7.96 GB, free: 26.59 MB / 1.339 GB Notification: Performance of matching and sorting (n=626) (initialization): time 0.01519/25.45, allocations: 6.264 MB / 7.966 GB, free: 25.71 MB / 1.339 GB Notification: Performance of prepare postOptimizeDAE: time 0.007627/25.46, allocations: 21.44 MB / 7.987 GB, free: 19.25 MB / 1.354 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001382/25.46, allocations: 38.72 kB / 7.987 GB, free: 19.25 MB / 1.354 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003831/25.46, allocations: 0.8769 MB / 7.988 GB, free: 19.19 MB / 1.354 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005473/25.47, allocations: 1.074 MB / 7.989 GB, free: 19.12 MB / 1.354 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00681/25.47, allocations: 5.775 MB / 7.994 GB, free: 14.76 MB / 1.354 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01132/25.48, allocations: 0.6973 MB / 7.995 GB, free: 14.63 MB / 1.354 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001636/25.49, allocations: 241.9 kB / 7.995 GB, free: 14.63 MB / 1.354 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/25.49, allocations: 3.469 kB / 7.995 GB, free: 14.63 MB / 1.354 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01551/25.5, allocations: 5.401 MB / 8.001 GB, free: 14.18 MB / 1.354 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001573/25.5, allocations: 36.97 kB / 8.001 GB, free: 14.18 MB / 1.354 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003179/25.5, allocations: 0.8034 MB / 8.001 GB, free: 14.12 MB / 1.354 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004873/25.51, allocations: 1.046 MB / 8.002 GB, free: 14.05 MB / 1.354 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01008/25.52, allocations: 7.582 MB / 8.01 GB, free: 9.266 MB / 1.354 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01051/25.53, allocations: 0.6491 MB / 8.01 GB, free: 9.164 MB / 1.354 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001602/25.53, allocations: 230.5 kB / 8.011 GB, free: 9.164 MB / 1.354 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 175 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.timTab.tab.nextTimeEvent,timTab.tab.nextTimeEvent,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEventScaled,$PRE.hysPum.y,hysPum.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (571): * Single equations (assignments): 564 * 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.003043/25.54, allocations: 416.7 kB / 8.011 GB, free: 8.961 MB / 1.354 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00392/25.54, allocations: 0.8309 MB / 8.012 GB, free: 8.52 MB / 1.354 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01137/25.55, allocations: 5.096 MB / 8.017 GB, free: 8.094 MB / 1.354 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.192e-05/25.55, allocations: 41.38 kB / 8.017 GB, free: 8.094 MB / 1.354 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-05/25.55, allocations: 10.36 kB / 8.017 GB, free: 8.09 MB / 1.354 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006055/25.56, allocations: 3.742 MB / 8.021 GB, free: 7.797 MB / 1.354 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03049/25.59, allocations: 12.23 MB / 8.032 GB, free: 6.848 MB / 1.354 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.254e-05/25.59, allocations: 0 / 8.032 GB, free: 6.848 MB / 1.354 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003044/25.59, allocations: 0.673 MB / 8.033 GB, free: 6.816 MB / 1.354 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001726/25.59, allocations: 0.6407 MB / 8.034 GB, free: 6.73 MB / 1.354 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004793/25.59, allocations: 112.9 kB / 8.034 GB, free: 6.727 MB / 1.354 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008925/25.6, allocations: 11.67 MB / 8.045 GB, free: 12.6 MB / 1.37 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/25.6, allocations: 0 / 8.045 GB, free: 12.6 MB / 1.37 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01294/25.61, allocations: 6.986 MB / 8.052 GB, free: 11.57 MB / 1.37 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007107/25.62, allocations: 1.516 MB / 8.054 GB, free: 11.02 MB / 1.37 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003377/25.63, allocations: 90.59 kB / 8.054 GB, free: 11.01 MB / 1.37 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009127/25.63, allocations: 0.5845 MB / 8.054 GB, free: 10.93 MB / 1.37 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007365/25.64, allocations: 234.9 kB / 8.054 GB, free: 10.92 MB / 1.37 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005575/25.64, allocations: 169.7 kB / 8.055 GB, free: 10.92 MB / 1.37 GB Notification: Performance of sorting global known variables: time 0.01102/25.65, allocations: 5.078 MB / 8.06 GB, free: 10.63 MB / 1.37 GB Notification: Performance of sort global known variables: time 6.72e-07/25.65, allocations: 0 / 8.06 GB, free: 10.63 MB / 1.37 GB Notification: Performance of remove unused functions: time 0.02728/25.67, allocations: 4.712 MB / 8.064 GB, free: 10.43 MB / 1.37 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: 4 ($whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled,hysPum.y) * Number of discrete states: 3 (timTab.tab.nextTimeEvent,hysPum.y,timTab.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (334): * Single equations (assignments): 314 * 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.02211/25.7, allocations: 13.15 MB / 8.077 GB, free: 5.996 MB / 1.37 GB Notification: Performance of simCode: created initialization part: time 0.01691/25.71, allocations: 8.393 MB / 8.085 GB, free: 4.914 MB / 1.37 GB Notification: Performance of simCode: created event and clocks part: time 1.326e-05/25.71, allocations: 5.281 kB / 8.085 GB, free: 4.914 MB / 1.37 GB Notification: Performance of simCode: created simulation system equations: time 0.004137/25.72, allocations: 2.828 MB / 8.088 GB, free: 4.035 MB / 1.37 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02209/25.74, allocations: 4.232 MB / 8.092 GB, free: 3.789 MB / 1.37 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04403/25.78, allocations: 15.69 MB / 8.107 GB, free: 15.5 MB / 1.385 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00768/25.79, allocations: 4.988 MB / 8.112 GB, free: 14.49 MB / 1.385 GB Notification: Performance of simCode: alias equations: time 0.01878/25.81, allocations: 3.319 MB / 8.116 GB, free: 14.04 MB / 1.385 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007523/25.82, allocations: 4.135 MB / 8.12 GB, free: 14.03 MB / 1.385 GB Notification: Performance of SimCode: time 2.565e-06/25.82, allocations: 0 / 8.12 GB, free: 14.03 MB / 1.385 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.701/27.52, allocations: 293.2 MB / 8.406 GB, free: 135.6 MB / 1.417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001733/27.52, allocations: 217.7 kB / 8.406 GB, free: 135.4 MB / 1.417 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.07/43.59, allocations: 0 / 8.406 GB, free: 135.4 MB / 1.417 GB (rm -f Buildings_9_Buildings.Examples.Tutorial.Boiler.System3.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.Boiler.System3.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.Boiler.System3.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.Boiler.System3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Examples.Tutorial.Boiler.System3_res.mat --tempDir=temp_Buildings_9_Buildings_Examples_Tutorial_Boiler_System3_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Examples_Tutorial_Boiler_System3.fmu > Buildings_9_Buildings.Examples.Tutorial.Boiler.System3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Examples.Tutorial.Boiler.System3_res.mat does not exist to compare? outputFormat=mat