Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.CDL.System5.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.System5,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_CDL_System5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.System5,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_CDL_System5",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.315/2.315, allocations: 387.4 MB / 394.9 MB, free: 13.43 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.001054/0.001054, allocations: 192.8 kB / 487.4 MB, free: 5.055 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.545/1.545, allocations: 221.5 MB / 0.7824 GB, free: 0.957 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.001088/0.001088, allocations: 99.89 kB / 0.9219 GB, free: 2.184 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.995e-05/1.998e-05, allocations: 0 / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3104/0.3104, allocations: 142.4 MB / 1.206 GB, free: 43.9 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.499/6.81, allocations: 2.243 GB / 3.449 GB, free: 78.36 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003058/6.81, allocations: 95.83 kB / 3.45 GB, free: 78.27 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 19.56/26.37, allocations: 4.434 GB / 7.883 GB, free: 62.96 MB / 1.339 GB Notification: Performance of FrontEnd: time 3.166e-06/26.37, allocations: 3.641 kB / 7.883 GB, free: 62.96 MB / 1.339 GB Notification: Performance of Transformations before backend: time 0.002635/26.38, allocations: 319.1 kB / 7.884 GB, free: 62.91 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: 1870 * Number of variables: 1870 Notification: Performance of Generate backend data structure: time 0.04558/26.42, allocations: 10.06 MB / 7.893 GB, free: 58.44 MB / 1.339 GB Notification: Performance of prepare preOptimizeDAE: time 6.985e-05/26.42, allocations: 11.97 kB / 7.893 GB, free: 58.44 MB / 1.339 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01924/26.44, allocations: 2.41 MB / 7.896 GB, free: 57.71 MB / 1.339 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05213/26.49, allocations: 13.32 MB / 7.909 GB, free: 55.98 MB / 1.339 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007115/26.49, allocations: 233.9 kB / 7.909 GB, free: 55.98 MB / 1.339 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004194/26.5, allocations: 472 kB / 7.909 GB, free: 55.98 MB / 1.339 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02166/26.52, allocations: 6.29 MB / 7.916 GB, free: 55.95 MB / 1.339 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03486/26.55, allocations: 7.172 MB / 7.923 GB, free: 55.01 MB / 1.339 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007357/26.55, allocations: 24.86 kB / 7.923 GB, free: 55 MB / 1.339 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003983/26.56, allocations: 12.69 kB / 7.923 GB, free: 55 MB / 1.339 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004867/26.56, allocations: 303.1 kB / 7.923 GB, free: 54.99 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.09627/26.66, allocations: 39.83 MB / 7.962 GB, free: 34.69 MB / 1.339 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01353/26.67, allocations: 4.145 MB / 7.966 GB, free: 34.61 MB / 1.339 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007901/26.68, allocations: 2.501 MB / 7.968 GB, free: 34.56 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.03835/26.72, allocations: 10.11 MB / 7.978 GB, free: 31.68 MB / 1.339 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007694/26.72, allocations: 2.438 MB / 7.981 GB, free: 31.54 MB / 1.339 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008425/26.73, allocations: 376.2 kB / 7.981 GB, free: 31.34 MB / 1.339 GB Notification: Performance of pre-optimization done (n=437): time 5.88e-05/26.73, allocations: 0 / 7.981 GB, free: 31.34 MB / 1.339 GB Notification: Performance of matching and sorting (n=442): time 0.05536/26.79, allocations: 11.38 MB / 7.992 GB, free: 28.75 MB / 1.339 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001517/26.79, allocations: 343 kB / 7.992 GB, free: 28.39 MB / 1.339 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02557/26.81, allocations: 6.709 MB / 7.999 GB, free: 27.82 MB / 1.339 GB Notification: Performance of collectPreVariables (initialization): time 0.002278/26.82, allocations: 40.05 kB / 7.999 GB, free: 27.79 MB / 1.339 GB Notification: Performance of collectInitialEqns (initialization): time 0.01063/26.83, allocations: 5.026 MB / 8.004 GB, free: 26.28 MB / 1.339 GB Notification: Performance of collectInitialBindings (initialization): time 0.00373/26.83, allocations: 1.463 MB / 8.005 GB, free: 25.3 MB / 1.339 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001752/26.83, allocations: 0 / 8.005 GB, free: 25.3 MB / 1.339 GB Notification: Performance of setup shared object (initialization): time 0.0009069/26.83, allocations: 0.5192 MB / 8.006 GB, free: 24.99 MB / 1.339 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006262/26.84, allocations: 1.894 MB / 8.008 GB, free: 24.98 MB / 1.339 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008898/26.85, allocations: 3.705 MB / 8.011 GB, free: 22.78 MB / 1.339 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01039/26.86, allocations: 2.686 MB / 8.014 GB, free: 22.57 MB / 1.339 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001561/26.86, allocations: 11.97 kB / 8.014 GB, free: 22.57 MB / 1.339 GB Notification: Performance of matching and sorting (n=723) (initialization): time 0.03046/26.89, allocations: 6.908 MB / 8.021 GB, free: 21.58 MB / 1.339 GB Notification: Performance of prepare postOptimizeDAE: time 0.008839/26.9, allocations: 22.26 MB / 8.042 GB, free: 14.03 MB / 1.354 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001839/26.9, allocations: 38.97 kB / 8.042 GB, free: 14.03 MB / 1.354 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00404/26.9, allocations: 0.841 MB / 8.043 GB, free: 13.96 MB / 1.354 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007382/26.91, allocations: 1.234 MB / 8.044 GB, free: 13.88 MB / 1.354 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01061/26.92, allocations: 7.276 MB / 8.052 GB, free: 24.39 MB / 1.37 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01503/26.94, allocations: 0.6552 MB / 8.052 GB, free: 24.26 MB / 1.37 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00282/26.94, allocations: 273.6 kB / 8.052 GB, free: 24.26 MB / 1.37 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/26.94, allocations: 2.219 kB / 8.052 GB, free: 24.26 MB / 1.37 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02613/26.96, allocations: 5.628 MB / 8.058 GB, free: 23.75 MB / 1.37 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002197/26.96, allocations: 40.28 kB / 8.058 GB, free: 23.75 MB / 1.37 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003497/26.97, allocations: 0.7997 MB / 8.059 GB, free: 23.69 MB / 1.37 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00633/26.97, allocations: 1.195 MB / 8.06 GB, free: 23.61 MB / 1.37 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01463/26.99, allocations: 8.86 MB / 8.069 GB, free: 17.83 MB / 1.37 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01548/27, allocations: 0.6046 MB / 8.069 GB, free: 17.72 MB / 1.37 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002968/27.01, allocations: 264.1 kB / 8.069 GB, free: 17.72 MB / 1.37 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 178 * Number of states: 0 () * Number of discrete variables: 20 ($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 (666): * Single equations (assignments): 658 * 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.005611/27.01, allocations: 272.6 kB / 8.07 GB, free: 17.5 MB / 1.37 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02148/27.03, allocations: 5.005 MB / 8.075 GB, free: 16.76 MB / 1.37 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0062/27.04, allocations: 0.9041 MB / 8.075 GB, free: 16.28 MB / 1.37 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02791/27.07, allocations: 5.904 MB / 8.081 GB, free: 15.78 MB / 1.37 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.33e-05/27.07, allocations: 51.2 kB / 8.081 GB, free: 15.78 MB / 1.37 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.383e-05/27.07, allocations: 2.812 kB / 8.081 GB, free: 15.78 MB / 1.37 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01323/27.08, allocations: 4.34 MB / 8.086 GB, free: 15.48 MB / 1.37 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05611/27.14, allocations: 13.07 MB / 8.098 GB, free: 14.55 MB / 1.37 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.822e-05/27.14, allocations: 0 / 8.098 GB, free: 14.55 MB / 1.37 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005048/27.14, allocations: 0.8446 MB / 8.099 GB, free: 14.5 MB / 1.37 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002391/27.15, allocations: 0.6641 MB / 8.1 GB, free: 14.4 MB / 1.37 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001384/27.15, allocations: 73.64 kB / 8.1 GB, free: 14.4 MB / 1.37 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01183/27.16, allocations: 12.93 MB / 8.112 GB, free: 3.438 MB / 1.37 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.965e-06/27.16, allocations: 3.969 kB / 8.112 GB, free: 3.438 MB / 1.37 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02125/27.18, allocations: 8.107 MB / 8.12 GB, free: 2.277 MB / 1.37 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009705/27.19, allocations: 1.718 MB / 8.122 GB, free: 1.688 MB / 1.37 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004968/27.2, allocations: 24.8 kB / 8.122 GB, free: 1.688 MB / 1.37 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0123/27.21, allocations: 0.6038 MB / 8.123 GB, free: 1.598 MB / 1.37 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001767/27.21, allocations: 321.5 kB / 8.123 GB, free: 1.586 MB / 1.37 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008762/27.21, allocations: 208.1 kB / 8.123 GB, free: 1.586 MB / 1.37 GB Notification: Performance of sorting global known variables: time 0.01593/27.23, allocations: 4.957 MB / 8.128 GB, free: 1.301 MB / 1.37 GB Notification: Performance of sort global known variables: time 8.22e-07/27.23, allocations: 0 / 8.128 GB, free: 1.301 MB / 1.37 GB Notification: Performance of remove unused functions: time 0.03767/27.26, allocations: 4.859 MB / 8.133 GB, free: 1.07 MB / 1.37 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 30 (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) * Number of discrete variables: 13 ($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 (438): * Single equations (assignments): 415 * 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.03873/27.3, allocations: 14.62 MB / 8.147 GB, free: 12.52 MB / 1.385 GB Notification: Performance of simCode: created initialization part: time 0.02345/27.33, allocations: 9.224 MB / 8.156 GB, free: 11.3 MB / 1.385 GB Notification: Performance of simCode: created event and clocks part: time 2.25e-05/27.33, allocations: 6.531 kB / 8.156 GB, free: 11.3 MB / 1.385 GB Notification: Performance of simCode: created simulation system equations: time 0.008015/27.33, allocations: 3.258 MB / 8.159 GB, free: 10.36 MB / 1.385 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02908/27.36, allocations: 4.342 MB / 8.163 GB, free: 10.07 MB / 1.385 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05794/27.42, allocations: 17.34 MB / 8.18 GB, free: 13.75 MB / 1.401 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009992/27.43, allocations: 5.449 MB / 8.186 GB, free: 10.29 MB / 1.401 GB Notification: Performance of simCode: alias equations: time 0.02659/27.46, allocations: 3.713 MB / 8.189 GB, free: 7.809 MB / 1.401 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01626/27.48, allocations: 4.656 MB / 8.194 GB, free: 4.805 MB / 1.401 GB Notification: Performance of SimCode: time 2.004e-06/27.48, allocations: 0 / 8.194 GB, free: 4.805 MB / 1.401 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.94/29.41, allocations: 275.8 MB / 8.463 GB, free: 124.5 MB / 1.417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001865/29.42, allocations: 158.2 kB / 8.463 GB, free: 124.3 MB / 1.417 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.24/47.65, allocations: 3.938 kB / 8.463 GB, free: 124.3 MB / 1.417 GB (rm -f Buildings_9_Buildings.Examples.Tutorial.CDL.System5.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.CDL.System5.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.CDL.System5.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.CDL.System5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Examples.Tutorial.CDL.System5_res.mat --tempDir=temp_Buildings_9_Buildings_Examples_Tutorial_CDL_System5_fmu --startTime=1.296e+06 --stopTime=1.3824e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Examples_Tutorial_CDL_System5.fmu > Buildings_9_Buildings.Examples.Tutorial.CDL.System5.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Examples.Tutorial.CDL.System5_res.mat does not exist to compare? outputFormat=mat