Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.CDL.System6.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.System6,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_CDL_System6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.System6,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_CDL_System6",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.247/2.247, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.001055/0.001055, allocations: 180.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.684/1.684, allocations: 221.5 MB / 0.7824 GB, free: 0.8672 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.0009963/0.0009963, allocations: 109.3 kB / 0.9219 GB, free: 2.098 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.517e-05/2.515e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2973/0.2973, allocations: 142.4 MB / 1.206 GB, free: 43.81 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.571/6.869, allocations: 2.244 GB / 3.45 GB, free: 76.39 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002359/6.869, allocations: 91.89 kB / 3.45 GB, free: 76.31 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 20.84/27.71, allocations: 4.437 GB / 7.887 GB, free: 64.23 MB / 1.339 GB Notification: Performance of FrontEnd: time 1.854e-06/27.71, allocations: 0 / 7.887 GB, free: 64.23 MB / 1.339 GB Notification: Performance of Transformations before backend: time 0.003451/27.71, allocations: 326.5 kB / 7.887 GB, free: 64.16 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: 1924 * Number of variables: 1924 Notification: Performance of Generate backend data structure: time 0.04868/27.76, allocations: 10.24 MB / 7.897 GB, free: 59.62 MB / 1.339 GB Notification: Performance of prepare preOptimizeDAE: time 7.288e-05/27.76, allocations: 8.531 kB / 7.897 GB, free: 59.62 MB / 1.339 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02068/27.78, allocations: 2.437 MB / 7.9 GB, free: 58.88 MB / 1.339 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04531/27.83, allocations: 13.43 MB / 7.913 GB, free: 57.13 MB / 1.339 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006236/27.83, allocations: 242.5 kB / 7.913 GB, free: 57.13 MB / 1.339 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004041/27.83, allocations: 487 kB / 7.914 GB, free: 57.12 MB / 1.339 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02122/27.85, allocations: 6.436 MB / 7.92 GB, free: 57.09 MB / 1.339 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03803/27.89, allocations: 7.343 MB / 7.927 GB, free: 56.14 MB / 1.339 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001145/27.89, allocations: 16.09 kB / 7.927 GB, free: 56.14 MB / 1.339 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005505/27.9, allocations: 15.59 kB / 7.927 GB, free: 56.14 MB / 1.339 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006546/27.9, allocations: 311.8 kB / 7.927 GB, free: 56.12 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.09186/27.99, allocations: 40.44 MB / 7.967 GB, free: 35.74 MB / 1.339 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01159/28, allocations: 4.399 MB / 7.971 GB, free: 35.56 MB / 1.339 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00674/28.01, allocations: 2.574 MB / 7.974 GB, free: 35.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.03743/28.05, allocations: 10.25 MB / 7.984 GB, free: 32.62 MB / 1.339 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007402/28.05, allocations: 2.515 MB / 7.986 GB, free: 32.47 MB / 1.339 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008155/28.06, allocations: 375.1 kB / 7.986 GB, free: 32.27 MB / 1.339 GB Notification: Performance of pre-optimization done (n=452): time 2.801e-05/28.06, allocations: 0 / 7.986 GB, free: 32.27 MB / 1.339 GB Notification: Performance of matching and sorting (n=457): time 0.05161/28.11, allocations: 11.62 MB / 7.998 GB, free: 29.64 MB / 1.339 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002012/28.11, allocations: 381.5 kB / 7.998 GB, free: 29.23 MB / 1.339 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02791/28.14, allocations: 6.812 MB / 8.005 GB, free: 28.65 MB / 1.339 GB Notification: Performance of collectPreVariables (initialization): time 0.002377/28.14, allocations: 42.86 kB / 8.005 GB, free: 28.62 MB / 1.339 GB Notification: Performance of collectInitialEqns (initialization): time 0.01004/28.15, allocations: 5.14 MB / 8.01 GB, free: 27.07 MB / 1.339 GB Notification: Performance of collectInitialBindings (initialization): time 0.003537/28.16, allocations: 1.504 MB / 8.011 GB, free: 26.07 MB / 1.339 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001615/28.16, allocations: 0.8438 kB / 8.011 GB, free: 26.07 MB / 1.339 GB Notification: Performance of setup shared object (initialization): time 0.0007958/28.16, allocations: 0.5277 MB / 8.012 GB, free: 25.75 MB / 1.339 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005654/28.16, allocations: 1.943 MB / 8.014 GB, free: 25.73 MB / 1.339 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007444/28.17, allocations: 3.78 MB / 8.017 GB, free: 23.5 MB / 1.339 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009108/28.18, allocations: 2.741 MB / 8.02 GB, free: 23.29 MB / 1.339 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001267/28.18, allocations: 12.22 kB / 8.02 GB, free: 23.29 MB / 1.339 GB Notification: Performance of matching and sorting (n=741) (initialization): time 0.02735/28.21, allocations: 7.063 MB / 8.027 GB, free: 22.29 MB / 1.339 GB Notification: Performance of prepare postOptimizeDAE: time 0.008245/28.22, allocations: 22.51 MB / 8.049 GB, free: 14.61 MB / 1.354 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002143/28.22, allocations: 38.53 kB / 8.049 GB, free: 14.61 MB / 1.354 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003986/28.22, allocations: 0.8429 MB / 8.05 GB, free: 14.54 MB / 1.354 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007027/28.23, allocations: 1.268 MB / 8.051 GB, free: 14.45 MB / 1.354 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009805/28.24, allocations: 7.284 MB / 8.058 GB, free: 8.973 MB / 1.354 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01395/28.25, allocations: 0.6576 MB / 8.059 GB, free: 8.848 MB / 1.354 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002435/28.26, allocations: 285.5 kB / 8.059 GB, free: 8.844 MB / 1.354 GB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/28.26, allocations: 9.328 kB / 8.059 GB, free: 8.84 MB / 1.354 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0224/28.28, allocations: 5.747 MB / 8.065 GB, free: 8.336 MB / 1.354 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002198/28.28, allocations: 40.62 kB / 8.065 GB, free: 8.336 MB / 1.354 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003394/28.28, allocations: 0.8042 MB / 8.066 GB, free: 8.273 MB / 1.354 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006304/28.29, allocations: 1.228 MB / 8.067 GB, free: 8.188 MB / 1.354 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01427/28.3, allocations: 8.861 MB / 8.075 GB, free: 18.4 MB / 1.37 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01272/28.31, allocations: 0.6171 MB / 8.076 GB, free: 18.29 MB / 1.37 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002245/28.32, allocations: 261.4 kB / 8.076 GB, free: 18.29 MB / 1.37 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 179 * Number of states: 0 () * Number of discrete variables: 21 ($whenCondition5,$whenCondition4,$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,$PRE.conSysSta.onTOut.y,conSysSta.onTOut.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTRoo.y,$PRE.conEquSta.hys.y,conEquSta.hys.y,boiPumCon.u,boiSigCon.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (684): * Single equations (assignments): 676 * 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 {5 6,13 22,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.004367/28.32, allocations: 280.2 kB / 8.077 GB, free: 18.07 MB / 1.37 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02018/28.34, allocations: 5.109 MB / 8.082 GB, free: 17.32 MB / 1.37 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005197/28.35, allocations: 0.9255 MB / 8.082 GB, free: 16.82 MB / 1.37 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02422/28.37, allocations: 6.019 MB / 8.088 GB, free: 16.27 MB / 1.37 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.252e-05/28.37, allocations: 49.86 kB / 8.088 GB, free: 16.27 MB / 1.37 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.003e-05/28.37, allocations: 3.156 kB / 8.088 GB, free: 16.27 MB / 1.37 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01351/28.38, allocations: 4.436 MB / 8.093 GB, free: 15.88 MB / 1.37 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05964/28.44, allocations: 13.33 MB / 8.106 GB, free: 14.89 MB / 1.37 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.991e-05/28.44, allocations: 1.203 kB / 8.106 GB, free: 14.89 MB / 1.37 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005129/28.45, allocations: 0.8747 MB / 8.107 GB, free: 14.84 MB / 1.37 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002348/28.45, allocations: 0.6616 MB / 8.107 GB, free: 14.74 MB / 1.37 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001331/28.45, allocations: 80.09 kB / 8.107 GB, free: 14.74 MB / 1.37 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01248/28.47, allocations: 12.92 MB / 8.12 GB, free: 3.781 MB / 1.37 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.275e-05/28.47, allocations: 4.375 kB / 8.12 GB, free: 3.781 MB / 1.37 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02671/28.49, allocations: 8.292 MB / 8.128 GB, free: 2.531 MB / 1.37 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0106/28.5, allocations: 1.748 MB / 8.13 GB, free: 1.934 MB / 1.37 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005772/28.51, allocations: 22.58 kB / 8.13 GB, free: 1.934 MB / 1.37 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0125/28.52, allocations: 0.6196 MB / 8.13 GB, free: 1.844 MB / 1.37 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002039/28.52, allocations: 331.9 kB / 8.131 GB, free: 1.828 MB / 1.37 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00186/28.53, allocations: 214 kB / 8.131 GB, free: 1.828 MB / 1.37 GB Notification: Performance of sorting global known variables: time 0.01813/28.54, allocations: 5.032 MB / 8.136 GB, free: 1.543 MB / 1.37 GB Notification: Performance of sort global known variables: time 1.022e-06/28.54, allocations: 0 / 8.136 GB, free: 1.543 MB / 1.37 GB Notification: Performance of remove unused functions: time 0.04299/28.59, allocations: 4.892 MB / 8.141 GB, free: 1.312 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,conBoiRet.conPID.I.y,conRadSup.conPIDRad.I.y) * Number of discrete variables: 14 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled,weaDat.conTimMin.tNext,weaDat.conTim.tNext,conSysSta.onTOut.y,conSysSta.onTRoo.y,conEquSta.hys.y,boiPumCon.u,boiSigCon.u) * Number of discrete states: 7 (timTab.tab.nextTimeEvent,weaDat.conTim.tNext,weaDat.conTimMin.tNext,conSysSta.onTRoo.y,conEquSta.hys.y,conSysSta.onTOut.y,timTab.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (454): * Single equations (assignments): 431 * 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.044/28.63, allocations: 14.82 MB / 8.155 GB, free: 12.66 MB / 1.385 GB Notification: Performance of simCode: created initialization part: time 0.02694/28.66, allocations: 9.399 MB / 8.164 GB, free: 11.41 MB / 1.385 GB Notification: Performance of simCode: created event and clocks part: time 2.457e-05/28.66, allocations: 6.469 kB / 8.164 GB, free: 11.41 MB / 1.385 GB Notification: Performance of simCode: created simulation system equations: time 0.008347/28.67, allocations: 3.328 MB / 8.168 GB, free: 10.46 MB / 1.385 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03002/28.7, allocations: 4.369 MB / 8.172 GB, free: 9.953 MB / 1.385 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0767/28.77, allocations: 17.56 MB / 8.189 GB, free: 12.43 MB / 1.401 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01119/28.78, allocations: 5.529 MB / 8.194 GB, free: 8.91 MB / 1.401 GB Notification: Performance of simCode: alias equations: time 0.02603/28.81, allocations: 3.752 MB / 8.198 GB, free: 6.398 MB / 1.401 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01492/28.83, allocations: 4.759 MB / 8.203 GB, free: 2.34 MB / 1.401 GB Notification: Performance of SimCode: time 1.884e-06/28.83, allocations: 0 / 8.203 GB, free: 2.34 MB / 1.401 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.887/30.71, allocations: 279.5 MB / 8.476 GB, free: 124.3 MB / 1.417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001813/30.71, allocations: 165 kB / 8.476 GB, free: 124.1 MB / 1.417 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.94/49.65, allocations: 0 / 8.476 GB, free: 124.1 MB / 1.417 GB (rm -f Buildings_9_Buildings.Examples.Tutorial.CDL.System6.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.CDL.System6.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.CDL.System6.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.CDL.System6.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Examples.Tutorial.CDL.System6_res.mat --tempDir=temp_Buildings_9_Buildings_Examples_Tutorial_CDL_System6_fmu --startTime=1.296e+06 --stopTime=1.3824e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Examples_Tutorial_CDL_System6.fmu > Buildings_9_Buildings.Examples.Tutorial.CDL.System6.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Examples.Tutorial.CDL.System6_res.mat does not exist to compare? outputFormat=mat