Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.CDL.System4.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.System4,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_CDL_System4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.System4,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_CDL_System4",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.345/2.345, allocations: 387.4 MB / 394.9 MB, free: 13.4 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.001328/0.001328, allocations: 176.9 kB / 487.4 MB, free: 5.059 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.839/1.839, allocations: 221.5 MB / 0.7824 GB, free: 1 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.001008/0.001008, allocations: 91.84 kB / 0.9219 GB, free: 2.23 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.37e-05/2.365e-05, allocations: 5.562 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.328/0.328, allocations: 142.4 MB / 1.206 GB, free: 43.87 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.615/6.943, allocations: 2.243 GB / 3.449 GB, free: 53.93 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002493/6.943, allocations: 91.33 kB / 3.449 GB, free: 53.88 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 20.58/27.52, allocations: 4.433 GB / 7.882 GB, free: 65.11 MB / 1.339 GB Notification: Performance of FrontEnd: time 3.587e-06/27.52, allocations: 0 / 7.882 GB, free: 65.11 MB / 1.339 GB Notification: Performance of Transformations before backend: time 0.002366/27.53, allocations: 322.3 kB / 7.883 GB, free: 65.05 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: 1860 * Number of variables: 1860 Notification: Performance of Generate backend data structure: time 0.03987/27.57, allocations: 9.986 MB / 7.892 GB, free: 60.59 MB / 1.339 GB Notification: Performance of prepare preOptimizeDAE: time 5.695e-05/27.57, allocations: 10.69 kB / 7.892 GB, free: 60.59 MB / 1.339 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01764/27.58, allocations: 2.403 MB / 7.895 GB, free: 59.86 MB / 1.339 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04493/27.63, allocations: 13.31 MB / 7.908 GB, free: 58.14 MB / 1.339 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006148/27.63, allocations: 236.3 kB / 7.908 GB, free: 58.14 MB / 1.339 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003794/27.63, allocations: 470.3 kB / 7.908 GB, free: 58.13 MB / 1.339 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01981/27.65, allocations: 6.254 MB / 7.914 GB, free: 58.1 MB / 1.339 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02957/27.68, allocations: 7.145 MB / 7.921 GB, free: 57.16 MB / 1.339 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004083/27.68, allocations: 14.09 kB / 7.921 GB, free: 57.16 MB / 1.339 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002687/27.69, allocations: 17.84 kB / 7.921 GB, free: 57.16 MB / 1.339 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003311/27.69, allocations: 300.4 kB / 7.922 GB, free: 57.14 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.08758/27.77, allocations: 39.76 MB / 7.961 GB, free: 36.67 MB / 1.339 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00904/27.78, allocations: 4.102 MB / 7.965 GB, free: 36.59 MB / 1.339 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004943/27.79, allocations: 2.488 MB / 7.967 GB, free: 36.54 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.03246/27.82, allocations: 10.19 MB / 7.977 GB, free: 33.66 MB / 1.339 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004705/27.82, allocations: 2.423 MB / 7.979 GB, free: 33.51 MB / 1.339 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007554/27.83, allocations: 378.8 kB / 7.98 GB, free: 33.3 MB / 1.339 GB Notification: Performance of pre-optimization done (n=432): time 2.3e-05/27.83, allocations: 3 kB / 7.98 GB, free: 33.3 MB / 1.339 GB Notification: Performance of matching and sorting (n=437): time 0.04299/27.88, allocations: 11.33 MB / 7.991 GB, free: 30.72 MB / 1.339 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001549/27.88, allocations: 335 kB / 7.991 GB, free: 30.37 MB / 1.339 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01947/27.9, allocations: 6.697 MB / 7.998 GB, free: 29.8 MB / 1.339 GB Notification: Performance of collectPreVariables (initialization): time 0.002137/27.9, allocations: 38.98 kB / 7.998 GB, free: 29.77 MB / 1.339 GB Notification: Performance of collectInitialEqns (initialization): time 0.00767/27.9, allocations: 5.02 MB / 8.003 GB, free: 28.26 MB / 1.339 GB Notification: Performance of collectInitialBindings (initialization): time 0.003081/27.91, allocations: 1.457 MB / 8.004 GB, free: 27.3 MB / 1.339 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000612/27.91, allocations: 0 / 8.004 GB, free: 27.3 MB / 1.339 GB Notification: Performance of setup shared object (initialization): time 0.0004781/27.91, allocations: 0.5166 MB / 8.004 GB, free: 26.98 MB / 1.339 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003404/27.91, allocations: 1.885 MB / 8.006 GB, free: 26.96 MB / 1.339 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004804/27.92, allocations: 3.685 MB / 8.01 GB, free: 24.77 MB / 1.339 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007803/27.93, allocations: 2.677 MB / 8.013 GB, free: 24.56 MB / 1.339 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.839e-05/27.93, allocations: 10.34 kB / 8.013 GB, free: 24.56 MB / 1.339 GB Notification: Performance of matching and sorting (n=718) (initialization): time 0.02175/27.95, allocations: 6.933 MB / 8.019 GB, free: 23.57 MB / 1.339 GB Notification: Performance of prepare postOptimizeDAE: time 0.007912/27.96, allocations: 22.24 MB / 8.041 GB, free: 16.02 MB / 1.354 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001732/27.96, allocations: 38.28 kB / 8.041 GB, free: 16.02 MB / 1.354 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003618/27.96, allocations: 0.8509 MB / 8.042 GB, free: 15.95 MB / 1.354 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00651/27.97, allocations: 1.229 MB / 8.043 GB, free: 15.86 MB / 1.354 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009033/27.97, allocations: 7.28 MB / 8.05 GB, free: 26.38 MB / 1.37 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01298/27.99, allocations: 0.6331 MB / 8.051 GB, free: 26.25 MB / 1.37 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00222/27.99, allocations: 268.9 kB / 8.051 GB, free: 26.25 MB / 1.37 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/27.99, allocations: 10.64 kB / 8.051 GB, free: 26.25 MB / 1.37 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02403/28.01, allocations: 5.654 MB / 8.057 GB, free: 25.74 MB / 1.37 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002566/28.01, allocations: 37.31 kB / 8.057 GB, free: 25.74 MB / 1.37 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0036/28.02, allocations: 0.8064 MB / 8.057 GB, free: 25.67 MB / 1.37 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005976/28.02, allocations: 1.199 MB / 8.059 GB, free: 25.59 MB / 1.37 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01254/28.04, allocations: 8.858 MB / 8.067 GB, free: 19.81 MB / 1.37 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01171/28.05, allocations: 0.5814 MB / 8.068 GB, free: 19.7 MB / 1.37 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001913/28.05, allocations: 261.3 kB / 8.068 GB, free: 19.7 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: 15 ($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.conEquSta.hys.y,conEquSta.hys.y,boiSigCon.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (661): * Single equations (assignments): 653 * 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.002401/28.05, allocations: 275.7 kB / 8.068 GB, free: 19.48 MB / 1.37 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01423/28.07, allocations: 4.986 MB / 8.073 GB, free: 18.73 MB / 1.37 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00426/28.07, allocations: 0.9026 MB / 8.074 GB, free: 18.25 MB / 1.37 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01771/28.09, allocations: 5.87 MB / 8.08 GB, free: 17.74 MB / 1.37 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.667e-05/28.09, allocations: 48 kB / 8.08 GB, free: 17.74 MB / 1.37 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.697e-05/28.09, allocations: 7.578 kB / 8.08 GB, free: 17.73 MB / 1.37 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009099/28.1, allocations: 4.311 MB / 8.084 GB, free: 17.41 MB / 1.37 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05358/28.15, allocations: 13.05 MB / 8.097 GB, free: 16.48 MB / 1.37 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.639e-05/28.15, allocations: 4 kB / 8.097 GB, free: 16.48 MB / 1.37 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003998/28.16, allocations: 0.8337 MB / 8.098 GB, free: 16.44 MB / 1.37 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00198/28.16, allocations: 0.6753 MB / 8.098 GB, free: 16.34 MB / 1.37 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007297/28.16, allocations: 83.95 kB / 8.098 GB, free: 16.33 MB / 1.37 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009713/28.17, allocations: 12.9 MB / 8.111 GB, free: 5.383 MB / 1.37 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/28.17, allocations: 0 / 8.111 GB, free: 5.383 MB / 1.37 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01768/28.19, allocations: 8.049 MB / 8.119 GB, free: 4.227 MB / 1.37 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008252/28.19, allocations: 1.717 MB / 8.121 GB, free: 3.633 MB / 1.37 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003974/28.2, allocations: 23.56 kB / 8.121 GB, free: 3.633 MB / 1.37 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01074/28.21, allocations: 0.5871 MB / 8.121 GB, free: 3.543 MB / 1.37 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001599/28.21, allocations: 304.9 kB / 8.121 GB, free: 3.535 MB / 1.37 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008709/28.21, allocations: 201 kB / 8.122 GB, free: 3.535 MB / 1.37 GB Notification: Performance of sorting global known variables: time 0.01366/28.23, allocations: 4.961 MB / 8.126 GB, free: 3.246 MB / 1.37 GB Notification: Performance of sort global known variables: time 1.223e-06/28.23, allocations: 0 / 8.126 GB, free: 3.246 MB / 1.37 GB Notification: Performance of remove unused functions: time 0.03526/28.26, allocations: 4.84 MB / 8.131 GB, free: 3.016 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: 10 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled,weaDat.conTimMin.tNext,weaDat.conTim.tNext,conEquSta.hys.y,boiSigCon.u) * Number of discrete states: 5 (timTab.tab.nextTimeEvent,weaDat.conTim.tNext,weaDat.conTimMin.tNext,conEquSta.hys.y,timTab.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (433): * Single equations (assignments): 410 * 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.03202/28.29, allocations: 14.56 MB / 8.145 GB, free: 14.46 MB / 1.385 GB Notification: Performance of simCode: created initialization part: time 0.02307/28.32, allocations: 9.176 MB / 8.154 GB, free: 10.36 MB / 1.385 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-05/28.32, allocations: 6.562 kB / 8.154 GB, free: 10.36 MB / 1.385 GB Notification: Performance of simCode: created simulation system equations: time 0.007033/28.32, allocations: 3.225 MB / 8.157 GB, free: 8.02 MB / 1.385 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02961/28.35, allocations: 4.327 MB / 8.162 GB, free: 5.402 MB / 1.385 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06062/28.41, allocations: 17.15 MB / 8.178 GB, free: 6.297 MB / 1.401 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01187/28.43, allocations: 5.43 MB / 8.184 GB, free: 2.477 MB / 1.401 GB Notification: Performance of simCode: alias equations: time 0.02478/28.45, allocations: 3.695 MB / 8.187 GB, free: 0 / 1.401 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009779/28.46, allocations: 4.638 MB / 8.192 GB, free: 11.71 MB / 1.417 GB Notification: Performance of SimCode: time 1.102e-06/28.46, allocations: 3.391 kB / 8.192 GB, free: 11.71 MB / 1.417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.85/30.31, allocations: 274.7 MB / 8.46 GB, free: 122.8 MB / 1.417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002563/30.31, allocations: 159 kB / 8.46 GB, free: 122.6 MB / 1.417 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.18/48.49, allocations: 0 / 8.46 GB, free: 122.6 MB / 1.417 GB (rm -f Buildings_9_Buildings.Examples.Tutorial.CDL.System4.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.CDL.System4.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.CDL.System4.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.CDL.System4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Examples.Tutorial.CDL.System4_res.mat --tempDir=temp_Buildings_9_Buildings_Examples_Tutorial_CDL_System4_fmu --startTime=1.296e+06 --stopTime=1.3824e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Examples_Tutorial_CDL_System4.fmu > Buildings_9_Buildings.Examples.Tutorial.CDL.System4.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Examples.Tutorial.CDL.System4_res.mat does not exist to compare? outputFormat=mat