Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.CDL.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.CDL.System2,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_CDL_System2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.System2,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_CDL_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.378/2.378, allocations: 390.3 MB / 405.3 MB, free: 13.45 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.001238/0.001238, allocations: 181 kB / 498.1 MB, free: 5.703 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.831/1.831, allocations: 223.2 MB / 0.7948 GB, free: 17.89 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.001097/0.001097, allocations: 96.2 kB / 0.9346 GB, free: 6.195 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004304/0.0004301, allocations: 7 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3896/0.3901, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.438/6.829, allocations: 2.242 GB / 3.465 GB, free: 240.8 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002715/6.829, allocations: 96.5 kB / 3.465 GB, free: 240.7 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 18.57/25.4, allocations: 4.463 GB / 7.928 GB, free: 26.83 MB / 1.339 GB Notification: Performance of FrontEnd: time 1.603e-06/25.4, allocations: 3.938 kB / 7.928 GB, free: 26.83 MB / 1.339 GB Notification: Performance of Transformations before backend: time 0.002577/25.4, allocations: 315.3 kB / 7.928 GB, free: 26.52 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: 1811 * Number of variables: 1811 Notification: Performance of Generate backend data structure: time 0.04777/25.45, allocations: 12.29 MB / 7.94 GB, free: 14.12 MB / 1.339 GB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/25.45, allocations: 15.95 kB / 7.94 GB, free: 14.1 MB / 1.339 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005501/25.46, allocations: 0.9264 MB / 7.941 GB, free: 13.17 MB / 1.339 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01731/25.47, allocations: 2.386 MB / 7.944 GB, free: 10.77 MB / 1.339 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04386/25.52, allocations: 13.3 MB / 7.957 GB, free: 13.37 MB / 1.354 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008026/25.52, allocations: 0.5528 MB / 7.957 GB, free: 12.81 MB / 1.354 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003545/25.52, allocations: 0.7537 MB / 7.958 GB, free: 12.06 MB / 1.354 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02775/25.55, allocations: 8.187 MB / 7.966 GB, free: 3.578 MB / 1.354 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005219/25.55, allocations: 19.8 kB / 7.966 GB, free: 3.559 MB / 1.354 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003137/25.55, allocations: 308 kB / 7.966 GB, free: 3.258 MB / 1.354 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000366/25.55, allocations: 293.4 kB / 7.966 GB, free: 2.969 MB / 1.354 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02162/25.57, allocations: 6.806 MB / 7.973 GB, free: 12.14 MB / 1.37 GB Warning: The model contains alias variables with redundant start and/or conflicting 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 1.264/26.84, allocations: 40.48 MB / 8.013 GB, free: 64.45 MB / 1.37 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0105/26.85, allocations: 4.776 MB / 8.017 GB, free: 63.73 MB / 1.37 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.03459/26.88, allocations: 10.26 MB / 8.027 GB, free: 61.13 MB / 1.37 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005266/26.89, allocations: 2.528 MB / 8.03 GB, free: 60.99 MB / 1.37 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007577/26.9, allocations: 0.502 MB / 8.03 GB, free: 60.95 MB / 1.37 GB Notification: Performance of pre-optimization done (n=409): time 3.303e-05/26.9, allocations: 0 / 8.03 GB, free: 60.95 MB / 1.37 GB Notification: Performance of matching and sorting (n=417): time 0.05646/26.95, allocations: 14.33 MB / 8.044 GB, free: 57.9 MB / 1.37 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001271/26.95, allocations: 307.6 kB / 8.045 GB, free: 57.58 MB / 1.37 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02368/26.98, allocations: 7.344 MB / 8.052 GB, free: 57.05 MB / 1.37 GB Notification: Performance of collectPreVariables (initialization): time 0.001952/26.98, allocations: 137.8 kB / 8.052 GB, free: 57.02 MB / 1.37 GB Notification: Performance of collectInitialEqns (initialization): time 0.008528/26.99, allocations: 4.966 MB / 8.057 GB, free: 56 MB / 1.37 GB Notification: Performance of collectInitialBindings (initialization): time 0.003079/26.99, allocations: 1.441 MB / 8.058 GB, free: 55.27 MB / 1.37 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001472/26.99, allocations: 114.8 kB / 8.058 GB, free: 55.27 MB / 1.37 GB Notification: Performance of setup shared object (initialization): time 0.000677/26.99, allocations: 0.5095 MB / 8.059 GB, free: 54.96 MB / 1.37 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006042/27, allocations: 1.971 MB / 8.061 GB, free: 54.94 MB / 1.37 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007312/27.01, allocations: 3.798 MB / 8.064 GB, free: 52.83 MB / 1.37 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007576/27.01, allocations: 2.591 MB / 8.067 GB, free: 52.73 MB / 1.37 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001038/27.01, allocations: 14.81 kB / 8.067 GB, free: 52.73 MB / 1.37 GB Notification: Performance of matching and sorting (n=700) (initialization): time 0.02485/27.04, allocations: 7.203 MB / 8.074 GB, free: 51.99 MB / 1.37 GB Notification: Performance of prepare postOptimizeDAE: time 0.007406/27.05, allocations: 22.16 MB / 8.096 GB, free: 44.77 MB / 1.385 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001564/27.05, allocations: 39.28 kB / 8.096 GB, free: 44.77 MB / 1.385 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00457/27.05, allocations: 0.985 MB / 8.097 GB, free: 44.73 MB / 1.385 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006432/27.06, allocations: 1.199 MB / 8.098 GB, free: 44.73 MB / 1.385 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008573/27.07, allocations: 7.47 MB / 8.105 GB, free: 39.14 MB / 1.385 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01415/27.08, allocations: 0.7212 MB / 8.106 GB, free: 39.1 MB / 1.385 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002286/27.08, allocations: 270.2 kB / 8.106 GB, free: 39.1 MB / 1.385 GB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/27.08, allocations: 6.344 kB / 8.106 GB, free: 39.1 MB / 1.385 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02028/27.1, allocations: 6.242 MB / 8.112 GB, free: 38.86 MB / 1.385 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00017/27.1, allocations: 39.91 kB / 8.112 GB, free: 38.86 MB / 1.385 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004037/27.11, allocations: 0.9225 MB / 8.113 GB, free: 38.81 MB / 1.385 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005709/27.11, allocations: 1.166 MB / 8.114 GB, free: 38.81 MB / 1.385 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0144/27.13, allocations: 9.324 MB / 8.123 GB, free: 48.89 MB / 1.401 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01144/27.14, allocations: 0.6915 MB / 8.124 GB, free: 48.86 MB / 1.401 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001634/27.14, allocations: 258.1 kB / 8.124 GB, free: 48.86 MB / 1.401 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 177 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.timTab.tab.nextTimeEvent,$whenCondition3,$whenCondition2,timTab.tab.nextTimeEvent,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEventScaled,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (643): * Single equations (assignments): 635 * 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: 5 * 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 {(2,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 3 {4 7,13 22,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.008957/27.15, allocations: 2.252 MB / 8.126 GB, free: 48.67 MB / 1.401 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0039/27.15, allocations: 0.9102 MB / 8.127 GB, free: 48.18 MB / 1.401 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01614/27.17, allocations: 6.175 MB / 8.133 GB, free: 47.81 MB / 1.401 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.971e-05/27.17, allocations: 48.09 kB / 8.133 GB, free: 47.81 MB / 1.401 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.31e-05/27.17, allocations: 4.938 kB / 8.133 GB, free: 47.81 MB / 1.401 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008372/27.18, allocations: 4.555 MB / 8.138 GB, free: 47.54 MB / 1.401 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03343/27.21, allocations: 14.02 MB / 8.152 GB, free: 46.62 MB / 1.401 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.246e-05/27.21, allocations: 0.5 kB / 8.152 GB, free: 46.62 MB / 1.401 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003914/27.22, allocations: 0.8137 MB / 8.152 GB, free: 46.62 MB / 1.401 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002124/27.22, allocations: 0.692 MB / 8.153 GB, free: 46.54 MB / 1.401 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004346/27.22, allocations: 125.8 kB / 8.153 GB, free: 46.54 MB / 1.401 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009881/27.23, allocations: 13.19 MB / 8.166 GB, free: 35.3 MB / 1.401 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/27.23, allocations: 0 / 8.166 GB, free: 35.3 MB / 1.401 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01688/27.25, allocations: 8.336 MB / 8.174 GB, free: 34.22 MB / 1.401 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007608/27.25, allocations: 1.693 MB / 8.176 GB, free: 33.64 MB / 1.401 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003092/27.26, allocations: 97.12 kB / 8.176 GB, free: 33.64 MB / 1.401 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008751/27.26, allocations: 0.6492 MB / 8.177 GB, free: 33.62 MB / 1.401 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006852/27.27, allocations: 288.8 kB / 8.177 GB, free: 33.62 MB / 1.401 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005852/27.27, allocations: 199.2 kB / 8.177 GB, free: 33.62 MB / 1.401 GB Notification: Performance of sorting global known variables: time 0.0121/27.28, allocations: 5.579 MB / 8.182 GB, free: 33.33 MB / 1.401 GB Notification: Performance of sort global known variables: time 7.21e-07/27.28, allocations: 2.734 kB / 8.182 GB, free: 33.33 MB / 1.401 GB Notification: Performance of remove unused functions: time 0.03213/27.31, allocations: 5.104 MB / 8.187 GB, free: 33.33 MB / 1.401 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 29 (vol.dynBal.medium.Xi[1],vol.dynBal.m,heaCap.T,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: 7 ($whenCondition3,$whenCondition2,$whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 4 (timTab.tab.nextTimeEvent,weaDat.conTim.tNext,weaDat.conTimMin.tNext,timTab.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (414): * Single equations (assignments): 391 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 9 * 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%) 3,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {13 22,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.03/27.34, allocations: 15.08 MB / 8.202 GB, free: 29.71 MB / 1.401 GB Notification: Performance of simCode: created initialization part: time 0.02389/27.36, allocations: 9.498 MB / 8.211 GB, free: 28.73 MB / 1.401 GB Notification: Performance of simCode: created event and clocks part: time 2.233e-05/27.36, allocations: 5.312 kB / 8.211 GB, free: 28.73 MB / 1.401 GB Notification: Performance of simCode: created simulation system equations: time 0.006315/27.37, allocations: 3.334 MB / 8.215 GB, free: 27.81 MB / 1.401 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02332/27.39, allocations: 4.458 MB / 8.219 GB, free: 27.77 MB / 1.401 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07598/27.47, allocations: 56.3 MB / 8.274 GB, free: 17.36 MB / 1.432 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01108/27.48, allocations: 5.339 MB / 8.279 GB, free: 16.34 MB / 1.432 GB Notification: Performance of simCode: alias equations: time 0.01514/27.5, allocations: 2.624 MB / 8.282 GB, free: 16.01 MB / 1.432 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01129/27.51, allocations: 4.698 MB / 8.286 GB, free: 16 MB / 1.432 GB Notification: Performance of SimCode: time 1.183e-06/27.51, allocations: 5.422 kB / 8.286 GB, free: 16 MB / 1.432 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.579/29.09, allocations: 297.5 MB / 8.577 GB, free: 159.8 MB / 1.464 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000186/29.09, allocations: 240.5 kB / 8.577 GB, free: 159.6 MB / 1.464 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.28/45.37, allocations: 7.188 kB / 8.577 GB, free: 159.6 MB / 1.464 GB (rm -f Buildings_9_Buildings.Examples.Tutorial.CDL.System2.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.CDL.System2.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.CDL.System2.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.CDL.System2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Examples.Tutorial.CDL.System2_res.mat --tempDir=temp_Buildings_9_Buildings_Examples_Tutorial_CDL_System2_fmu --startTime=1.296e+06 --stopTime=1.3824e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Examples_Tutorial_CDL_System2.fmu > Buildings_9_Buildings.Examples.Tutorial.CDL.System2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Examples.Tutorial.CDL.System2_res.mat does not exist to compare? outputFormat=mat