Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.Boiler.System2.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.System2,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_Boiler_System2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System2,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_Boiler_System2",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.364/2.364, allocations: 387.4 MB / 394.9 MB, free: 13.34 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.00146/0.00146, allocations: 176.8 kB / 487.4 MB, free: 5.02 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.744/1.744, allocations: 221.5 MB / 0.7824 GB, free: 0.9766 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.001061/0.001061, allocations: 103.8 kB / 0.9219 GB, free: 2.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.425e-05/2.425e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3782/0.3783, allocations: 142.4 MB / 1.206 GB, free: 43.88 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.32/6.698, allocations: 2.203 GB / 3.409 GB, free: 95.57 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002866/6.699, allocations: 89.58 kB / 3.41 GB, free: 95.52 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 4.54/11.24, allocations: 1.337 GB / 4.746 GB, free: 89.9 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.473e-06/11.24, allocations: 0 / 4.746 GB, free: 89.9 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0004377/11.24, allocations: 103.9 kB / 4.746 GB, free: 89.8 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 585 * Number of variables: 585 Notification: Performance of Generate backend data structure: time 0.008376/11.25, allocations: 3.355 MB / 4.75 GB, free: 86.38 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/11.25, allocations: 12.03 kB / 4.75 GB, free: 86.37 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006929/11.25, allocations: 1.217 MB / 4.751 GB, free: 85.14 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0109/11.27, allocations: 4.862 MB / 4.756 GB, free: 80.21 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.372e-05/11.27, allocations: 72 kB / 4.756 GB, free: 80.14 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004809/11.27, allocations: 152 kB / 4.756 GB, free: 79.99 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003883/11.27, allocations: 2.399 MB / 4.758 GB, free: 77.59 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00403/11.27, allocations: 2.718 MB / 4.761 GB, free: 74.72 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.107e-05/11.27, allocations: 19.84 kB / 4.761 GB, free: 74.7 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002305/11.27, allocations: 11.98 kB / 4.761 GB, free: 74.69 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.357e-05/11.27, allocations: 100.4 kB / 4.761 GB, free: 74.59 MB / 1.151 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.01814/11.29, allocations: 12.89 MB / 4.774 GB, free: 61.09 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002873/11.3, allocations: 2.025 MB / 4.776 GB, free: 59.06 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001269/11.3, allocations: 1.063 MB / 4.777 GB, free: 58 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007943/11.3, allocations: 4.328 MB / 4.781 GB, free: 53.43 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001279/11.31, allocations: 0.9521 MB / 4.782 GB, free: 52.47 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001402/11.31, allocations: 134.6 kB / 4.782 GB, free: 52.34 MB / 1.151 GB Notification: Performance of pre-optimization done (n=144): time 4.448e-06/11.31, allocations: 0 / 4.782 GB, free: 52.34 MB / 1.151 GB Notification: Performance of matching and sorting (n=147): time 0.01147/11.32, allocations: 4.697 MB / 4.786 GB, free: 47.55 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.398e-05/11.32, allocations: 72.67 kB / 4.787 GB, free: 47.47 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004302/11.32, allocations: 2.407 MB / 4.789 GB, free: 45.05 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0003047/11.32, allocations: 29.7 kB / 4.789 GB, free: 45.02 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.00153/11.33, allocations: 1.512 MB / 4.79 GB, free: 43.49 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004814/11.33, allocations: 0.4928 MB / 4.791 GB, free: 42.99 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001913/11.33, allocations: 0 / 4.791 GB, free: 42.99 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001352/11.33, allocations: 394.1 kB / 4.791 GB, free: 42.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001239/11.33, allocations: 0.9022 MB / 4.792 GB, free: 41.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001491/11.33, allocations: 1.508 MB / 4.794 GB, free: 39.92 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002729/11.33, allocations: 1.257 MB / 4.795 GB, free: 38.66 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.491e-05/11.33, allocations: 11.94 kB / 4.795 GB, free: 38.65 MB / 1.151 GB Notification: Performance of matching and sorting (n=269) (initialization): time 0.006669/11.34, allocations: 2.998 MB / 4.798 GB, free: 35.63 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.001249/11.34, allocations: 7.087 MB / 4.805 GB, free: 27.99 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.833e-05/11.34, allocations: 20 kB / 4.805 GB, free: 27.97 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002038/11.34, allocations: 401.3 kB / 4.805 GB, free: 27.57 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002082/11.34, allocations: 0.4953 MB / 4.806 GB, free: 27.07 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002868/11.35, allocations: 2.627 MB / 4.808 GB, free: 24.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00366/11.35, allocations: 183.3 kB / 4.808 GB, free: 24.12 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004266/11.35, allocations: 119.9 kB / 4.808 GB, free: 24.01 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.045e-05/11.35, allocations: 4 kB / 4.808 GB, free: 24 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005731/11.36, allocations: 2.543 MB / 4.811 GB, free: 21.45 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.129e-05/11.36, allocations: 17 kB / 4.811 GB, free: 21.44 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001879/11.36, allocations: 425.3 kB / 4.811 GB, free: 21.02 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001805/11.36, allocations: 491.2 kB / 4.812 GB, free: 20.54 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002714/11.36, allocations: 2.627 MB / 4.814 GB, free: 17.77 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003194/11.37, allocations: 167.4 kB / 4.815 GB, free: 17.61 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003121/11.37, allocations: 104 kB / 4.815 GB, free: 17.5 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 75 * 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 (253): * Single equations (assignments): 250 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 1 {5 6} Notification: Performance of prepare postOptimizeDAE: time 0.0006508/11.37, allocations: 178 kB / 4.815 GB, free: 17.32 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004612/11.37, allocations: 2.013 MB / 4.817 GB, free: 15.28 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001156/11.37, allocations: 284.5 kB / 4.817 GB, free: 15 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004966/11.38, allocations: 2.37 MB / 4.819 GB, free: 12.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.189e-05/11.38, allocations: 16 kB / 4.819 GB, free: 12.59 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.476e-05/11.38, allocations: 11.94 kB / 4.819 GB, free: 12.57 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003027/11.38, allocations: 2.053 MB / 4.821 GB, free: 10.43 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01094/11.39, allocations: 5.026 MB / 4.826 GB, free: 5.316 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/11.39, allocations: 4 kB / 4.826 GB, free: 5.312 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001297/11.39, allocations: 275.6 kB / 4.827 GB, free: 5.043 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001019/11.39, allocations: 328.9 kB / 4.827 GB, free: 4.703 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001533/11.39, allocations: 31.97 kB / 4.827 GB, free: 4.672 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.7512/12.15, allocations: 8.688 MB / 4.835 GB, free: 188.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/12.15, allocations: 2.531 kB / 4.835 GB, free: 188.6 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007045/12.15, allocations: 3.427 MB / 4.839 GB, free: 188.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002051/12.15, allocations: 0.6485 MB / 4.839 GB, free: 188.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005113/12.16, allocations: 17.06 kB / 4.839 GB, free: 188.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001874/12.16, allocations: 121.2 kB / 4.84 GB, free: 188.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003145/12.16, allocations: 116.3 kB / 4.84 GB, free: 188.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001803/12.16, allocations: 74.16 kB / 4.84 GB, free: 188.2 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.00343/12.16, allocations: 1.789 MB / 4.841 GB, free: 188 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.9e-07/12.16, allocations: 0 / 4.841 GB, free: 188 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.007198/12.17, allocations: 1.641 MB / 4.843 GB, free: 188 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 12 (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]) * 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 (148): * Single equations (assignments): 134 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 4,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01075/12.18, allocations: 6.206 MB / 4.849 GB, free: 186.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.007815/12.19, allocations: 3.83 MB / 4.853 GB, free: 186.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 9.077e-06/12.19, allocations: 0 / 4.853 GB, free: 186.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.002305/12.19, allocations: 1.622 MB / 4.854 GB, free: 185.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008591/12.2, allocations: 1.443 MB / 4.856 GB, free: 185.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01402/12.21, allocations: 6.299 MB / 4.862 GB, free: 184.5 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002152/12.21, allocations: 2.449 MB / 4.864 GB, free: 183.7 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.006141/12.22, allocations: 1.703 MB / 4.866 GB, free: 183.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002151/12.22, allocations: 1.317 MB / 4.867 GB, free: 183.7 MB / 1.151 GB Notification: Performance of SimCode: time 1.102e-06/12.22, allocations: 0 / 4.867 GB, free: 183.7 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1696/12.39, allocations: 99.64 MB / 4.965 GB, free: 179.5 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001697/12.39, allocations: 162.4 kB / 4.965 GB, free: 179.3 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.991/18.38, allocations: 0 / 4.965 GB, free: 179.3 MB / 1.151 GB (rm -f Buildings_9_Buildings.Examples.Tutorial.Boiler.System2.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.Boiler.System2.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.Boiler.System2.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.Boiler.System2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Examples.Tutorial.Boiler.System2_res.mat --tempDir=temp_Buildings_9_Buildings_Examples_Tutorial_Boiler_System2_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Examples_Tutorial_Boiler_System2.fmu > Buildings_9_Buildings.Examples.Tutorial.Boiler.System2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Examples.Tutorial.Boiler.System2_res.mat does not exist to compare? outputFormat=mat