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.478/2.478, allocations: 387.1 MB / 399.7 MB, free: 9.441 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.001448/0.001448, allocations: 180 kB / 492.3 MB, free: 0.5938 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.985/1.985, allocations: 221.3 MB / 0.7871 GB, free: 12.91 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.000963/0.000963, allocations: 97.73 kB / 0.9267 GB, free: 13.97 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.523e-05/3.532e-05, allocations: 0 / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3201/0.3202, allocations: 142.4 MB / 1.212 GB, free: 38.4 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.396/6.716, allocations: 2.242 GB / 3.454 GB, free: 57.38 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002344/6.716, allocations: 91.28 kB / 3.455 GB, free: 57.3 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 20.38/27.1, allocations: 4.451 GB / 7.905 GB, free: 68.16 MB / 1.354 GB Notification: Performance of FrontEnd: time 2.345e-06/27.1, allocations: 2.594 kB / 7.905 GB, free: 68.16 MB / 1.354 GB Notification: Performance of Transformations before backend: time 0.00361/27.1, allocations: 316.6 kB / 7.905 GB, free: 68.11 MB / 1.354 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.04884/27.15, allocations: 9.822 MB / 7.915 GB, free: 63.71 MB / 1.354 GB Notification: Performance of prepare preOptimizeDAE: time 7.077e-05/27.15, allocations: 10.62 kB / 7.915 GB, free: 63.71 MB / 1.354 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006239/27.16, allocations: 0.9164 MB / 7.916 GB, free: 63.64 MB / 1.354 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01941/27.18, allocations: 2.379 MB / 7.918 GB, free: 62.92 MB / 1.354 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05201/27.23, allocations: 13.21 MB / 7.931 GB, free: 61.21 MB / 1.354 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001194/27.23, allocations: 0.557 MB / 7.932 GB, free: 61.2 MB / 1.354 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004815/27.24, allocations: 0.7476 MB / 7.932 GB, free: 61.19 MB / 1.354 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04147/27.28, allocations: 8.004 MB / 7.94 GB, free: 60.22 MB / 1.354 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001074/27.28, allocations: 30.88 kB / 7.94 GB, free: 60.21 MB / 1.354 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00436/27.28, allocations: 302.9 kB / 7.941 GB, free: 60.21 MB / 1.354 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005548/27.28, allocations: 290.6 kB / 7.941 GB, free: 60.2 MB / 1.354 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0277/27.31, allocations: 6.53 MB / 7.947 GB, free: 60.13 MB / 1.354 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.09511/27.41, allocations: 40.48 MB / 7.987 GB, free: 39.84 MB / 1.354 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008967/27.42, allocations: 4.584 MB / 7.991 GB, free: 39.08 MB / 1.354 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004694/27.42, allocations: 2.321 MB / 7.994 GB, free: 39.04 MB / 1.354 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.03304/27.45, allocations: 10.25 MB / 8.004 GB, free: 36.19 MB / 1.354 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004957/27.46, allocations: 2.443 MB / 8.006 GB, free: 36.03 MB / 1.354 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007776/27.47, allocations: 0.4976 MB / 8.006 GB, free: 35.81 MB / 1.354 GB Notification: Performance of pre-optimization done (n=408): time 3.691e-05/27.47, allocations: 0 / 8.006 GB, free: 35.81 MB / 1.354 GB Notification: Performance of matching and sorting (n=416): time 0.04005/27.51, allocations: 10.91 MB / 8.017 GB, free: 33.29 MB / 1.354 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000146/27.51, allocations: 306.2 kB / 8.017 GB, free: 32.97 MB / 1.354 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02087/27.53, allocations: 7.256 MB / 8.024 GB, free: 32.36 MB / 1.354 GB Notification: Performance of collectPreVariables (initialization): time 0.002154/27.53, allocations: 131.4 kB / 8.025 GB, free: 32.32 MB / 1.354 GB Notification: Performance of collectInitialEqns (initialization): time 0.007984/27.54, allocations: 4.968 MB / 8.029 GB, free: 30.89 MB / 1.354 GB Notification: Performance of collectInitialBindings (initialization): time 0.002983/27.54, allocations: 1.442 MB / 8.031 GB, free: 29.96 MB / 1.354 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007172/27.54, allocations: 109.2 kB / 8.031 GB, free: 29.96 MB / 1.354 GB Notification: Performance of setup shared object (initialization): time 0.0004612/27.54, allocations: 0.5101 MB / 8.031 GB, free: 29.65 MB / 1.354 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003921/27.55, allocations: 1.848 MB / 8.033 GB, free: 29.63 MB / 1.354 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005171/27.55, allocations: 3.662 MB / 8.037 GB, free: 27.48 MB / 1.354 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005545/27.56, allocations: 2.493 MB / 8.039 GB, free: 27.29 MB / 1.354 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.11e-05/27.56, allocations: 10.06 kB / 8.039 GB, free: 27.29 MB / 1.354 GB Notification: Performance of matching and sorting (n=699) (initialization): time 0.02024/27.58, allocations: 6.871 MB / 8.046 GB, free: 26.28 MB / 1.354 GB Notification: Performance of prepare postOptimizeDAE: time 0.008329/27.59, allocations: 22.2 MB / 8.068 GB, free: 18.86 MB / 1.37 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001895/27.59, allocations: 37.56 kB / 8.068 GB, free: 18.86 MB / 1.37 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004298/27.59, allocations: 0.9688 MB / 8.069 GB, free: 18.79 MB / 1.37 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00636/27.6, allocations: 1.209 MB / 8.07 GB, free: 18.7 MB / 1.37 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009012/27.61, allocations: 7.31 MB / 8.077 GB, free: 13.04 MB / 1.37 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01312/27.62, allocations: 0.724 MB / 8.078 GB, free: 12.91 MB / 1.37 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001978/27.62, allocations: 269.9 kB / 8.078 GB, free: 12.91 MB / 1.37 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/27.62, allocations: 3.719 kB / 8.078 GB, free: 12.91 MB / 1.37 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0143/27.64, allocations: 5.939 MB / 8.084 GB, free: 12.37 MB / 1.37 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001398/27.64, allocations: 44.97 kB / 8.084 GB, free: 12.36 MB / 1.37 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003394/27.64, allocations: 0.8982 MB / 8.085 GB, free: 12.29 MB / 1.37 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00584/27.65, allocations: 1.167 MB / 8.086 GB, free: 12.21 MB / 1.37 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01259/27.66, allocations: 9.085 MB / 8.095 GB, free: 6.195 MB / 1.37 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01245/27.67, allocations: 0.6837 MB / 8.095 GB, free: 6.09 MB / 1.37 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001897/27.67, allocations: 263.4 kB / 8.096 GB, free: 6.086 MB / 1.37 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (642): * Single equations (assignments): 634 * 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 {(1,100.0%) 5,(1,100.0%) 4} * Non-linear torn systems: 3 {4 7,13 22,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.002685/27.68, allocations: 450 kB / 8.096 GB, free: 5.879 MB / 1.37 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003999/27.68, allocations: 0.91 MB / 8.097 GB, free: 5.391 MB / 1.37 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01603/27.7, allocations: 5.972 MB / 8.103 GB, free: 4.898 MB / 1.37 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.38e-05/27.7, allocations: 48.98 kB / 8.103 GB, free: 4.898 MB / 1.37 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-05/27.7, allocations: 3.125 kB / 8.103 GB, free: 4.898 MB / 1.37 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008839/27.7, allocations: 4.352 MB / 8.107 GB, free: 4.59 MB / 1.37 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04289/27.75, allocations: 13.82 MB / 8.121 GB, free: 19.59 MB / 1.385 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-05/27.75, allocations: 3.938 kB / 8.121 GB, free: 19.59 MB / 1.385 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004119/27.75, allocations: 0.8004 MB / 8.121 GB, free: 19.55 MB / 1.385 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002306/27.75, allocations: 0.7209 MB / 8.122 GB, free: 19.45 MB / 1.385 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008677/27.75, allocations: 130 kB / 8.122 GB, free: 19.45 MB / 1.385 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01198/27.77, allocations: 13.21 MB / 8.135 GB, free: 8.016 MB / 1.385 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/27.77, allocations: 0 / 8.135 GB, free: 8.016 MB / 1.385 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01766/27.78, allocations: 8.03 MB / 8.143 GB, free: 6.895 MB / 1.385 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008778/27.79, allocations: 1.699 MB / 8.145 GB, free: 6.305 MB / 1.385 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004321/27.8, allocations: 99.38 kB / 8.145 GB, free: 6.305 MB / 1.385 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0108/27.81, allocations: 0.6486 MB / 8.145 GB, free: 6.215 MB / 1.385 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001433/27.81, allocations: 292.4 kB / 8.146 GB, free: 6.203 MB / 1.385 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007802/27.81, allocations: 199.5 kB / 8.146 GB, free: 6.199 MB / 1.385 GB Notification: Performance of sorting global known variables: time 0.01496/27.83, allocations: 5.486 MB / 8.151 GB, free: 5.867 MB / 1.385 GB Notification: Performance of sort global known variables: time 8.31e-07/27.83, allocations: 2.734 kB / 8.151 GB, free: 5.867 MB / 1.385 GB Notification: Performance of remove unused functions: time 0.0354/27.86, allocations: 5.097 MB / 8.156 GB, free: 5.637 MB / 1.385 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: 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (412): * Single equations (assignments): 389 * 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%) 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: 2 {13 22,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0318/27.89, allocations: 14.75 MB / 8.17 GB, free: 1.117 MB / 1.385 GB Notification: Performance of simCode: created initialization part: time 0.02344/27.92, allocations: 9.379 MB / 8.18 GB, free: 15.79 MB / 1.401 GB Notification: Performance of simCode: created event and clocks part: time 1.608e-05/27.92, allocations: 11.69 kB / 8.18 GB, free: 15.79 MB / 1.401 GB Notification: Performance of simCode: created simulation system equations: time 0.006566/27.92, allocations: 3.228 MB / 8.183 GB, free: 14.79 MB / 1.401 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02715/27.95, allocations: 4.459 MB / 8.187 GB, free: 14.52 MB / 1.401 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05822/28.01, allocations: 17.29 MB / 8.204 GB, free: 9.875 MB / 1.401 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01109/28.02, allocations: 5.355 MB / 8.209 GB, free: 8.836 MB / 1.401 GB Notification: Performance of simCode: alias equations: time 0.02438/28.04, allocations: 3.722 MB / 8.213 GB, free: 8.293 MB / 1.401 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009541/28.05, allocations: 4.563 MB / 8.217 GB, free: 8.258 MB / 1.401 GB Notification: Performance of SimCode: time 1.173e-06/28.05, allocations: 0 / 8.217 GB, free: 8.258 MB / 1.401 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.766/29.82, allocations: 314.7 MB / 8.525 GB, free: 112.6 MB / 1.417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002175/29.82, allocations: 221.4 kB / 8.525 GB, free: 112.4 MB / 1.417 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.27/50.09, allocations: 3.875 kB / 8.525 GB, free: 112.4 MB / 1.417 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