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.435/2.435, allocations: 387.1 MB / 399.7 MB, free: 9.453 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.001194/0.001194, allocations: 192.5 kB / 492.3 MB, free: 0.6211 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.603/1.603, 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.000952/0.0009519, allocations: 95.94 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.652e-05/3.655e-05, allocations: 0 / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3293/0.3294, allocations: 142.3 MB / 1.212 GB, free: 38.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.586/6.915, allocations: 2.244 GB / 3.457 GB, free: 32.93 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002705/6.916, allocations: 87.95 kB / 3.457 GB, free: 32.88 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 20.82/27.74, allocations: 4.455 GB / 7.911 GB, free: 65.99 MB / 1.354 GB Notification: Performance of FrontEnd: time 2.325e-06/27.74, allocations: 0 / 7.911 GB, free: 65.99 MB / 1.354 GB Notification: Performance of Transformations before backend: time 0.0024/27.74, allocations: 330.8 kB / 7.912 GB, free: 65.93 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: 1870 * Number of variables: 1870 Notification: Performance of Generate backend data structure: time 0.03832/27.78, allocations: 10.06 MB / 7.921 GB, free: 61.46 MB / 1.354 GB Notification: Performance of prepare preOptimizeDAE: time 5.896e-05/27.78, allocations: 6.625 kB / 7.921 GB, free: 61.46 MB / 1.354 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005035/27.78, allocations: 0.9543 MB / 7.922 GB, free: 61.38 MB / 1.354 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01718/27.8, allocations: 2.41 MB / 7.925 GB, free: 60.64 MB / 1.354 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04506/27.84, allocations: 13.32 MB / 7.938 GB, free: 58.91 MB / 1.354 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009783/27.85, allocations: 0.5681 MB / 7.938 GB, free: 58.9 MB / 1.354 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004146/27.85, allocations: 0.7765 MB / 7.939 GB, free: 58.89 MB / 1.354 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02903/27.88, allocations: 8.221 MB / 7.947 GB, free: 57.92 MB / 1.354 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004094/27.88, allocations: 22.53 kB / 7.947 GB, free: 57.92 MB / 1.354 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002658/27.88, allocations: 309.1 kB / 7.947 GB, free: 57.92 MB / 1.354 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003396/27.88, allocations: 301.2 kB / 7.948 GB, free: 57.9 MB / 1.354 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01964/27.9, allocations: 6.688 MB / 7.954 GB, free: 57.84 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.08419/27.99, allocations: 41.08 MB / 7.994 GB, free: 37.44 MB / 1.354 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007813/27.99, allocations: 4.64 MB / 7.999 GB, free: 36.66 MB / 1.354 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004287/28, allocations: 2.411 MB / 8.001 GB, free: 36.63 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.03082/28.03, allocations: 10.34 MB / 8.011 GB, free: 33.75 MB / 1.354 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004962/28.03, allocations: 2.542 MB / 8.014 GB, free: 33.6 MB / 1.354 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007233/28.04, allocations: 0.5119 MB / 8.014 GB, free: 33.38 MB / 1.354 GB Notification: Performance of pre-optimization done (n=433): time 2.816e-05/28.04, allocations: 0 / 8.014 GB, free: 33.38 MB / 1.354 GB Notification: Performance of matching and sorting (n=441): time 0.03679/28.08, allocations: 11.25 MB / 8.025 GB, free: 30.77 MB / 1.354 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000137/28.08, allocations: 338 kB / 8.026 GB, free: 30.42 MB / 1.354 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01953/28.1, allocations: 7.349 MB / 8.033 GB, free: 29.8 MB / 1.354 GB Notification: Performance of collectPreVariables (initialization): time 0.001802/28.1, allocations: 138.6 kB / 8.033 GB, free: 29.77 MB / 1.354 GB Notification: Performance of collectInitialEqns (initialization): time 0.006927/28.11, allocations: 5.024 MB / 8.038 GB, free: 28.31 MB / 1.354 GB Notification: Performance of collectInitialBindings (initialization): time 0.002642/28.11, allocations: 1.518 MB / 8.039 GB, free: 27.34 MB / 1.354 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006449/28.11, allocations: 116.3 kB / 8.039 GB, free: 27.34 MB / 1.354 GB Notification: Performance of setup shared object (initialization): time 0.0004283/28.11, allocations: 0.5171 MB / 8.04 GB, free: 27.03 MB / 1.354 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003608/28.11, allocations: 1.912 MB / 8.042 GB, free: 27.01 MB / 1.354 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004952/28.12, allocations: 3.767 MB / 8.045 GB, free: 24.8 MB / 1.354 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004778/28.12, allocations: 2.545 MB / 8.048 GB, free: 24.56 MB / 1.354 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.022e-05/28.12, allocations: 10.22 kB / 8.048 GB, free: 24.56 MB / 1.354 GB Notification: Performance of matching and sorting (n=722) (initialization): time 0.01798/28.14, allocations: 7.075 MB / 8.055 GB, free: 23.5 MB / 1.354 GB Notification: Performance of prepare postOptimizeDAE: time 0.007395/28.15, allocations: 22.48 MB / 8.077 GB, free: 15.95 MB / 1.37 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001706/28.15, allocations: 39.97 kB / 8.077 GB, free: 15.95 MB / 1.37 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004892/28.15, allocations: 0.9559 MB / 8.078 GB, free: 15.88 MB / 1.37 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00624/28.16, allocations: 1.236 MB / 8.079 GB, free: 15.79 MB / 1.37 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007696/28.17, allocations: 7.292 MB / 8.086 GB, free: 10.14 MB / 1.37 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01273/28.18, allocations: 0.7752 MB / 8.087 GB, free: 10.01 MB / 1.37 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001931/28.18, allocations: 275.4 kB / 8.087 GB, free: 10.01 MB / 1.37 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/28.18, allocations: 4.859 kB / 8.087 GB, free: 10.01 MB / 1.37 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01252/28.2, allocations: 6.106 MB / 8.093 GB, free: 9.457 MB / 1.37 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.359e-05/28.2, allocations: 37.38 kB / 8.093 GB, free: 9.457 MB / 1.37 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003418/28.2, allocations: 0.899 MB / 8.094 GB, free: 9.383 MB / 1.37 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006127/28.21, allocations: 1.196 MB / 8.095 GB, free: 9.301 MB / 1.37 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01295/28.22, allocations: 9.098 MB / 8.104 GB, free: 19.23 MB / 1.385 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01228/28.23, allocations: 0.7316 MB / 8.105 GB, free: 19.11 MB / 1.385 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001726/28.23, allocations: 261.2 kB / 8.105 GB, free: 19.11 MB / 1.385 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 (665): * Single equations (assignments): 657 * 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.00228/28.24, allocations: 472.1 kB / 8.105 GB, free: 18.89 MB / 1.385 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00363/28.24, allocations: 0.9191 MB / 8.106 GB, free: 18.4 MB / 1.385 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01441/28.25, allocations: 6.162 MB / 8.112 GB, free: 17.91 MB / 1.385 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-05/28.25, allocations: 49.22 kB / 8.112 GB, free: 17.91 MB / 1.385 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.279e-05/28.25, allocations: 3.625 kB / 8.112 GB, free: 17.91 MB / 1.385 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007974/28.26, allocations: 4.504 MB / 8.117 GB, free: 17.61 MB / 1.385 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04004/28.3, allocations: 14.15 MB / 8.131 GB, free: 16.54 MB / 1.385 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.367e-05/28.3, allocations: 0 / 8.131 GB, free: 16.54 MB / 1.385 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003986/28.31, allocations: 0.8357 MB / 8.131 GB, free: 16.5 MB / 1.385 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00229/28.31, allocations: 0.7277 MB / 8.132 GB, free: 16.38 MB / 1.385 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008805/28.31, allocations: 140.6 kB / 8.132 GB, free: 16.38 MB / 1.385 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01047/28.32, allocations: 13.26 MB / 8.145 GB, free: 4.934 MB / 1.385 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/28.32, allocations: 2.812 kB / 8.145 GB, free: 4.934 MB / 1.385 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01834/28.34, allocations: 8.298 MB / 8.153 GB, free: 3.777 MB / 1.385 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008952/28.35, allocations: 1.749 MB / 8.155 GB, free: 3.172 MB / 1.385 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004187/28.35, allocations: 95.47 kB / 8.155 GB, free: 3.172 MB / 1.385 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01081/28.36, allocations: 0.6919 MB / 8.156 GB, free: 3.078 MB / 1.385 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001506/28.36, allocations: 314.2 kB / 8.156 GB, free: 3.074 MB / 1.385 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008388/28.36, allocations: 205.6 kB / 8.156 GB, free: 3.074 MB / 1.385 GB Notification: Performance of sorting global known variables: time 0.01622/28.38, allocations: 5.552 MB / 8.162 GB, free: 2.742 MB / 1.385 GB Notification: Performance of sort global known variables: time 7.42e-07/28.38, allocations: 3.938 kB / 8.162 GB, free: 2.738 MB / 1.385 GB Notification: Performance of remove unused functions: time 0.03484/28.41, allocations: 5.158 MB / 8.167 GB, free: 2.5 MB / 1.385 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 (437): * Single equations (assignments): 414 * 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.03084/28.45, allocations: 15.03 MB / 8.181 GB, free: 13.56 MB / 1.401 GB Notification: Performance of simCode: created initialization part: time 0.02727/28.47, allocations: 9.741 MB / 8.191 GB, free: 12.2 MB / 1.401 GB Notification: Performance of simCode: created event and clocks part: time 2.68e-05/28.47, allocations: 10.34 kB / 8.191 GB, free: 12.2 MB / 1.401 GB Notification: Performance of simCode: created simulation system equations: time 0.00678/28.48, allocations: 3.379 MB / 8.194 GB, free: 11.18 MB / 1.401 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03071/28.51, allocations: 4.495 MB / 8.199 GB, free: 10.91 MB / 1.401 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05709/28.57, allocations: 17.78 MB / 8.216 GB, free: 15.87 MB / 1.417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009885/28.58, allocations: 5.459 MB / 8.221 GB, free: 12.4 MB / 1.417 GB Notification: Performance of simCode: alias equations: time 0.02567/28.6, allocations: 3.751 MB / 8.225 GB, free: 9.977 MB / 1.417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01276/28.62, allocations: 4.643 MB / 8.23 GB, free: 7.008 MB / 1.417 GB Notification: Performance of SimCode: time 1.983e-06/28.62, allocations: 2.625 kB / 8.23 GB, free: 7.008 MB / 1.417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.961/30.58, allocations: 317.9 MB / 8.54 GB, free: 122.6 MB / 1.432 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00017/30.58, allocations: 222.3 kB / 8.54 GB, free: 122.4 MB / 1.432 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.29/50.87, allocations: 0 / 8.54 GB, free: 122.4 MB / 1.432 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