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.523/2.523, allocations: 390.3 MB / 405.3 MB, free: 13.46 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.001424/0.001424, allocations: 176.2 kB / 498.1 MB, free: 5.742 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.91/1.91, 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.001059/0.001058, allocations: 96.31 kB / 0.9346 GB, free: 6.203 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004718/0.0004718, allocations: 8.375 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4235/0.424, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.256/6.68, allocations: 2.245 GB / 3.468 GB, free: 184.3 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003507/6.681, allocations: 95.52 kB / 3.468 GB, free: 184.2 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 19.27/25.95, allocations: 4.47 GB / 7.938 GB, free: 84.18 MB / 1.37 GB Notification: Performance of FrontEnd: time 3.036e-06/25.95, allocations: 0.6562 kB / 7.938 GB, free: 84.18 MB / 1.37 GB Notification: Performance of Transformations before backend: time 0.002456/25.95, allocations: 330 kB / 7.938 GB, free: 84.18 MB / 1.37 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.05272/26, allocations: 12.79 MB / 7.951 GB, free: 80.61 MB / 1.37 GB Notification: Performance of prepare preOptimizeDAE: time 5.52e-05/26, allocations: 9.281 kB / 7.951 GB, free: 80.61 MB / 1.37 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005563/26.01, allocations: 0.9866 MB / 7.952 GB, free: 80.53 MB / 1.37 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0201/26.03, allocations: 2.444 MB / 7.954 GB, free: 79.84 MB / 1.37 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04926/26.08, allocations: 13.54 MB / 7.967 GB, free: 78.15 MB / 1.37 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009386/26.08, allocations: 0.5861 MB / 7.968 GB, free: 78.14 MB / 1.37 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003703/26.08, allocations: 0.7938 MB / 7.969 GB, free: 78.13 MB / 1.37 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02735/26.11, allocations: 8.643 MB / 7.977 GB, free: 77.18 MB / 1.37 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003122/26.11, allocations: 18.38 kB / 7.977 GB, free: 77.18 MB / 1.37 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001777/26.11, allocations: 325 kB / 7.977 GB, free: 77.18 MB / 1.37 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002986/26.11, allocations: 306.4 kB / 7.978 GB, free: 77.16 MB / 1.37 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01823/26.13, allocations: 7.179 MB / 7.985 GB, free: 77.1 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 0.07601/26.21, allocations: 41.74 MB / 8.025 GB, free: 56.86 MB / 1.37 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008115/26.21, allocations: 5.128 MB / 8.031 GB, free: 56.04 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.03/26.24, allocations: 10.49 MB / 8.041 GB, free: 53.2 MB / 1.37 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005487/26.25, allocations: 2.75 MB / 8.043 GB, free: 53.04 MB / 1.37 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009252/26.26, allocations: 0.5261 MB / 8.044 GB, free: 52.83 MB / 1.37 GB Notification: Performance of pre-optimization done (n=449): time 5.508e-05/26.26, allocations: 1.219 kB / 8.044 GB, free: 52.83 MB / 1.37 GB Notification: Performance of matching and sorting (n=457): time 0.05081/26.31, allocations: 15.21 MB / 8.059 GB, free: 49.54 MB / 1.37 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001534/26.31, allocations: 390.1 kB / 8.059 GB, free: 49.13 MB / 1.37 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02057/26.33, allocations: 7.587 MB / 8.067 GB, free: 48.55 MB / 1.37 GB Notification: Performance of collectPreVariables (initialization): time 0.002024/26.33, allocations: 142.4 kB / 8.067 GB, free: 48.52 MB / 1.37 GB Notification: Performance of collectInitialEqns (initialization): time 0.008131/26.34, allocations: 5.177 MB / 8.072 GB, free: 47.05 MB / 1.37 GB Notification: Performance of collectInitialBindings (initialization): time 0.00371/26.34, allocations: 1.559 MB / 8.073 GB, free: 46.05 MB / 1.37 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00162/26.35, allocations: 116.9 kB / 8.073 GB, free: 46.05 MB / 1.37 GB Notification: Performance of setup shared object (initialization): time 0.0007369/26.35, allocations: 0.5255 MB / 8.074 GB, free: 45.74 MB / 1.37 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00817/26.35, allocations: 2.106 MB / 8.076 GB, free: 45.72 MB / 1.37 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01011/26.36, allocations: 4.004 MB / 8.08 GB, free: 43.55 MB / 1.37 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01041/26.38, allocations: 2.742 MB / 8.083 GB, free: 43.45 MB / 1.37 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001394/26.38, allocations: 12.06 kB / 8.083 GB, free: 43.45 MB / 1.37 GB Notification: Performance of matching and sorting (n=741) (initialization): time 0.03354/26.41, allocations: 7.503 MB / 8.09 GB, free: 42.69 MB / 1.37 GB Notification: Performance of prepare postOptimizeDAE: time 0.01039/26.42, allocations: 22.83 MB / 8.112 GB, free: 35.11 MB / 1.385 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000302/26.42, allocations: 41.75 kB / 8.112 GB, free: 35.11 MB / 1.385 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006191/26.43, allocations: 0.986 MB / 8.113 GB, free: 35.06 MB / 1.385 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009301/26.44, allocations: 1.261 MB / 8.114 GB, free: 35.06 MB / 1.385 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01062/26.45, allocations: 7.444 MB / 8.122 GB, free: 29.46 MB / 1.385 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0172/26.46, allocations: 0.796 MB / 8.122 GB, free: 29.38 MB / 1.385 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0028/26.47, allocations: 284.1 kB / 8.123 GB, free: 29.38 MB / 1.385 GB Notification: Performance of prepare postOptimizeDAE: time 3.074e-05/26.47, allocations: 7.062 kB / 8.123 GB, free: 29.38 MB / 1.385 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02597/26.49, allocations: 6.47 MB / 8.129 GB, free: 29.14 MB / 1.385 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002798/26.49, allocations: 42.58 kB / 8.129 GB, free: 29.14 MB / 1.385 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005061/26.5, allocations: 0.9166 MB / 8.13 GB, free: 29.1 MB / 1.385 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008149/26.51, allocations: 1.223 MB / 8.131 GB, free: 29.1 MB / 1.385 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01708/26.52, allocations: 9.31 MB / 8.14 GB, free: 23.16 MB / 1.385 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01499/26.54, allocations: 0.7474 MB / 8.141 GB, free: 23.1 MB / 1.385 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00207/26.54, allocations: 269.5 kB / 8.141 GB, free: 23.1 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 () * Number of clocked 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 {4 7,13 22,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.01068/26.55, allocations: 2.326 MB / 8.144 GB, free: 22.88 MB / 1.385 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003915/26.55, allocations: 0.9413 MB / 8.144 GB, free: 22.38 MB / 1.385 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01634/26.57, allocations: 6.552 MB / 8.151 GB, free: 21.91 MB / 1.385 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.57e-05/26.57, allocations: 52.39 kB / 8.151 GB, free: 21.91 MB / 1.385 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.477e-05/26.57, allocations: 4.906 kB / 8.151 GB, free: 21.91 MB / 1.385 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008727/26.58, allocations: 4.853 MB / 8.156 GB, free: 21.58 MB / 1.385 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0377/26.62, allocations: 14.7 MB / 8.17 GB, free: 36.56 MB / 1.401 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.652e-05/26.62, allocations: 0.8438 kB / 8.17 GB, free: 36.56 MB / 1.401 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004245/26.62, allocations: 0.883 MB / 8.171 GB, free: 36.56 MB / 1.401 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002114/26.62, allocations: 0.6944 MB / 8.172 GB, free: 36.48 MB / 1.401 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005072/26.62, allocations: 137.2 kB / 8.172 GB, free: 36.48 MB / 1.401 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01134/26.64, allocations: 13.21 MB / 8.185 GB, free: 25.22 MB / 1.401 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/26.64, allocations: 0 / 8.185 GB, free: 25.22 MB / 1.401 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01951/26.66, allocations: 8.875 MB / 8.193 GB, free: 24.03 MB / 1.401 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008258/26.66, allocations: 1.781 MB / 8.195 GB, free: 23.42 MB / 1.401 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004091/26.67, allocations: 105.5 kB / 8.195 GB, free: 23.42 MB / 1.401 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01049/26.68, allocations: 0.7012 MB / 8.196 GB, free: 23.38 MB / 1.401 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001273/26.68, allocations: 326.3 kB / 8.196 GB, free: 23.38 MB / 1.401 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001311/26.68, allocations: 215.7 kB / 8.196 GB, free: 23.38 MB / 1.401 GB Notification: Performance of sorting global known variables: time 0.0179/26.7, allocations: 5.755 MB / 8.202 GB, free: 23.09 MB / 1.401 GB Notification: Performance of sort global known variables: time 4.61e-07/26.7, allocations: 0 / 8.202 GB, free: 23.09 MB / 1.401 GB Notification: Performance of remove unused functions: time 0.03604/26.74, allocations: 5.212 MB / 8.207 GB, free: 22.86 MB / 1.401 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 31 (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,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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (455): * Single equations (assignments): 432 * 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.04036/26.78, allocations: 15.65 MB / 8.222 GB, free: 18.88 MB / 1.401 GB Notification: Performance of simCode: created initialization part: time 0.02778/26.8, allocations: 9.991 MB / 8.232 GB, free: 17.89 MB / 1.401 GB Notification: Performance of simCode: created event and clocks part: time 2e-05/26.8, allocations: 6.094 kB / 8.232 GB, free: 17.88 MB / 1.401 GB Notification: Performance of simCode: created simulation system equations: time 0.008043/26.81, allocations: 3.566 MB / 8.236 GB, free: 16.96 MB / 1.401 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02624/26.84, allocations: 4.539 MB / 8.24 GB, free: 16.91 MB / 1.401 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08798/26.93, allocations: 58.86 MB / 8.297 GB, free: 3.59 MB / 1.432 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01574/26.94, allocations: 5.514 MB / 8.303 GB, free: 2.551 MB / 1.432 GB Notification: Performance of simCode: alias equations: time 0.01951/26.96, allocations: 2.667 MB / 8.305 GB, free: 2.223 MB / 1.432 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01347/26.97, allocations: 4.948 MB / 8.31 GB, free: 2.211 MB / 1.432 GB Notification: Performance of SimCode: time 1.693e-06/26.97, allocations: 4.938 kB / 8.31 GB, free: 2.207 MB / 1.432 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.348/29.32, allocations: 306.4 MB / 8.61 GB, free: 144.2 MB / 1.464 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002226/29.32, allocations: 240.4 kB / 8.61 GB, free: 143.9 MB / 1.464 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.58/44.9, allocations: 5.406 kB / 8.61 GB, free: 143.9 MB / 1.464 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