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.57/2.57, allocations: 387.1 MB / 399.7 MB, free: 9.52 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.001307/0.001307, allocations: 184.9 kB / 492.3 MB, free: 0.6016 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.675/1.675, allocations: 221.3 MB / 0.7871 GB, free: 12.95 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.0009224/0.0009225, allocations: 90.58 kB / 0.9267 GB, free: 14.02 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.71e-05/3.73e-05, allocations: 0 / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3248/0.3249, allocations: 142.3 MB / 1.212 GB, free: 38.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.508/6.833, allocations: 2.245 GB / 3.457 GB, free: 54.73 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002619/6.833, allocations: 98.19 kB / 3.457 GB, free: 54.64 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 20.58/27.41, allocations: 4.458 GB / 7.915 GB, free: 67.54 MB / 1.354 GB Notification: Performance of FrontEnd: time 5.751e-06/27.41, allocations: 0 / 7.915 GB, free: 67.54 MB / 1.354 GB Notification: Performance of Transformations before backend: time 0.003473/27.41, allocations: 330 kB / 7.915 GB, free: 67.48 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: 1924 * Number of variables: 1924 Notification: Performance of Generate backend data structure: time 0.05172/27.47, allocations: 10.25 MB / 7.925 GB, free: 62.93 MB / 1.354 GB Notification: Performance of prepare preOptimizeDAE: time 8.705e-05/27.47, allocations: 9.781 kB / 7.925 GB, free: 62.93 MB / 1.354 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008184/27.47, allocations: 0.9807 MB / 7.926 GB, free: 62.85 MB / 1.354 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01909/27.49, allocations: 2.429 MB / 7.929 GB, free: 62.1 MB / 1.354 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04652/27.54, allocations: 13.43 MB / 7.942 GB, free: 60.36 MB / 1.354 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001048/27.54, allocations: 0.5941 MB / 7.942 GB, free: 60.34 MB / 1.354 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004132/27.54, allocations: 0.7908 MB / 7.943 GB, free: 60.34 MB / 1.354 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03235/27.58, allocations: 8.422 MB / 7.951 GB, free: 59.36 MB / 1.354 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006619/27.58, allocations: 26.09 kB / 7.951 GB, free: 59.35 MB / 1.354 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003614/27.58, allocations: 322 kB / 7.952 GB, free: 59.35 MB / 1.354 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004873/27.58, allocations: 305.2 kB / 7.952 GB, free: 59.33 MB / 1.354 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02216/27.6, allocations: 6.841 MB / 7.959 GB, free: 59.27 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.0879/27.69, allocations: 41.75 MB / 7.999 GB, free: 38.7 MB / 1.354 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01011/27.7, allocations: 4.891 MB / 8.004 GB, free: 37.83 MB / 1.354 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00568/27.71, allocations: 2.485 MB / 8.007 GB, free: 37.79 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.03245/27.74, allocations: 10.5 MB / 8.017 GB, free: 34.92 MB / 1.354 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006469/27.75, allocations: 2.611 MB / 8.019 GB, free: 34.75 MB / 1.354 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007638/27.75, allocations: 0.5269 MB / 8.02 GB, free: 34.52 MB / 1.354 GB Notification: Performance of pre-optimization done (n=448): time 3.53e-05/27.75, allocations: 2.719 kB / 8.02 GB, free: 34.52 MB / 1.354 GB Notification: Performance of matching and sorting (n=456): time 0.03977/27.79, allocations: 11.52 MB / 8.031 GB, free: 31.88 MB / 1.354 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001757/27.79, allocations: 383.7 kB / 8.032 GB, free: 31.46 MB / 1.354 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0235/27.82, allocations: 7.487 MB / 8.039 GB, free: 30.84 MB / 1.354 GB Notification: Performance of collectPreVariables (initialization): time 0.00194/27.82, allocations: 149.9 kB / 8.039 GB, free: 30.81 MB / 1.354 GB Notification: Performance of collectInitialEqns (initialization): time 0.008881/27.83, allocations: 5.172 MB / 8.044 GB, free: 29.32 MB / 1.354 GB Notification: Performance of collectInitialBindings (initialization): time 0.0033/27.83, allocations: 1.558 MB / 8.046 GB, free: 28.33 MB / 1.354 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001643/27.83, allocations: 118.5 kB / 8.046 GB, free: 28.33 MB / 1.354 GB Notification: Performance of setup shared object (initialization): time 0.0006449/27.83, allocations: 0.5243 MB / 8.046 GB, free: 28.01 MB / 1.354 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00516/27.84, allocations: 1.954 MB / 8.048 GB, free: 27.99 MB / 1.354 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006427/27.85, allocations: 3.838 MB / 8.052 GB, free: 25.75 MB / 1.354 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006089/27.85, allocations: 2.604 MB / 8.054 GB, free: 25.51 MB / 1.354 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.436e-05/27.85, allocations: 11.66 kB / 8.054 GB, free: 25.51 MB / 1.354 GB Notification: Performance of matching and sorting (n=740) (initialization): time 0.02119/27.87, allocations: 7.21 MB / 8.062 GB, free: 24.45 MB / 1.354 GB Notification: Performance of prepare postOptimizeDAE: time 0.00665/27.88, allocations: 22.76 MB / 8.084 GB, free: 16.76 MB / 1.37 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001077/27.88, allocations: 39.53 kB / 8.084 GB, free: 16.76 MB / 1.37 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003937/27.88, allocations: 0.9558 MB / 8.085 GB, free: 16.69 MB / 1.37 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006279/27.89, allocations: 1.266 MB / 8.086 GB, free: 16.61 MB / 1.37 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007826/27.9, allocations: 7.304 MB / 8.093 GB, free: 10.95 MB / 1.37 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01334/27.91, allocations: 0.7872 MB / 8.094 GB, free: 10.81 MB / 1.37 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002052/27.91, allocations: 281.1 kB / 8.094 GB, free: 10.81 MB / 1.37 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/27.91, allocations: 3.125 kB / 8.094 GB, free: 10.81 MB / 1.37 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01845/27.93, allocations: 6.191 MB / 8.1 GB, free: 10.26 MB / 1.37 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001613/27.93, allocations: 40.03 kB / 8.1 GB, free: 10.26 MB / 1.37 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003776/27.94, allocations: 0.9091 MB / 8.101 GB, free: 10.18 MB / 1.37 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005911/27.94, allocations: 1.224 MB / 8.102 GB, free: 10.1 MB / 1.37 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01286/27.96, allocations: 9.106 MB / 8.111 GB, free: 20.07 MB / 1.385 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01202/27.97, allocations: 0.7392 MB / 8.112 GB, free: 19.96 MB / 1.385 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001756/27.97, allocations: 264 kB / 8.112 GB, free: 19.96 MB / 1.385 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 (683): * Single equations (assignments): 675 * 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 {3 8,13 22,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.003418/27.97, allocations: 478.8 kB / 8.113 GB, free: 19.75 MB / 1.385 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004475/27.98, allocations: 0.9468 MB / 8.114 GB, free: 19.24 MB / 1.385 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01948/28, allocations: 6.288 MB / 8.12 GB, free: 18.68 MB / 1.385 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.795e-05/28, allocations: 47.89 kB / 8.12 GB, free: 18.68 MB / 1.385 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.201e-05/28, allocations: 3.594 kB / 8.12 GB, free: 18.68 MB / 1.385 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01009/28.01, allocations: 4.587 MB / 8.124 GB, free: 18.32 MB / 1.385 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04627/28.05, allocations: 14.46 MB / 8.138 GB, free: 17.24 MB / 1.385 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.485e-05/28.05, allocations: 0 / 8.138 GB, free: 17.24 MB / 1.385 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004281/28.06, allocations: 0.8713 MB / 8.139 GB, free: 17.2 MB / 1.385 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002256/28.06, allocations: 0.7177 MB / 8.14 GB, free: 17.09 MB / 1.385 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008186/28.06, allocations: 138.1 kB / 8.14 GB, free: 17.09 MB / 1.385 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01129/28.07, allocations: 13.21 MB / 8.153 GB, free: 5.648 MB / 1.385 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/28.07, allocations: 7.688 kB / 8.153 GB, free: 5.645 MB / 1.385 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02022/28.09, allocations: 8.501 MB / 8.161 GB, free: 4.391 MB / 1.385 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008287/28.1, allocations: 1.778 MB / 8.163 GB, free: 3.777 MB / 1.385 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004093/28.1, allocations: 102.2 kB / 8.163 GB, free: 3.777 MB / 1.385 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01052/28.12, allocations: 0.7035 MB / 8.164 GB, free: 3.688 MB / 1.385 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001265/28.12, allocations: 326.5 kB / 8.164 GB, free: 3.676 MB / 1.385 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001167/28.12, allocations: 211.8 kB / 8.164 GB, free: 3.676 MB / 1.385 GB Notification: Performance of sorting global known variables: time 0.01693/28.13, allocations: 5.66 MB / 8.17 GB, free: 3.344 MB / 1.385 GB Notification: Performance of sort global known variables: time 5.71e-07/28.13, allocations: 2.625 kB / 8.17 GB, free: 3.344 MB / 1.385 GB Notification: Performance of remove unused functions: time 0.0359/28.17, allocations: 5.212 MB / 8.175 GB, free: 3.098 MB / 1.385 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 (453): * Single equations (assignments): 430 * 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.03819/28.21, allocations: 15.24 MB / 8.19 GB, free: 14.07 MB / 1.401 GB Notification: Performance of simCode: created initialization part: time 0.02676/28.24, allocations: 9.867 MB / 8.199 GB, free: 12.68 MB / 1.401 GB Notification: Performance of simCode: created event and clocks part: time 2.26e-05/28.24, allocations: 10.41 kB / 8.199 GB, free: 12.68 MB / 1.401 GB Notification: Performance of simCode: created simulation system equations: time 0.007493/28.24, allocations: 3.424 MB / 8.203 GB, free: 11.68 MB / 1.401 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02811/28.27, allocations: 4.52 MB / 8.207 GB, free: 11.41 MB / 1.401 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07771/28.35, allocations: 18.03 MB / 8.225 GB, free: 15.88 MB / 1.417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01836/28.37, allocations: 5.531 MB / 8.23 GB, free: 12.36 MB / 1.417 GB Notification: Performance of simCode: alias equations: time 0.02649/28.39, allocations: 3.783 MB / 8.234 GB, free: 9.91 MB / 1.417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01175/28.41, allocations: 4.8 MB / 8.239 GB, free: 5.723 MB / 1.417 GB Notification: Performance of SimCode: time 1.844e-06/28.41, allocations: 0 / 8.239 GB, free: 5.723 MB / 1.417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.987/30.39, allocations: 321.4 MB / 8.552 GB, free: 123.5 MB / 1.432 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001933/30.39, allocations: 226.3 kB / 8.553 GB, free: 123.2 MB / 1.432 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.83/51.22, allocations: 3.938 kB / 8.553 GB, free: 123.2 MB / 1.432 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