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.39/2.39, allocations: 387.1 MB / 399.7 MB, free: 9.473 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.001429/0.001429, allocations: 176.9 kB / 492.3 MB, free: 0.6289 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.792/1.792, allocations: 221.3 MB / 0.7871 GB, free: 12.94 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.001132/0.001132, allocations: 91.47 kB / 0.9267 GB, free: 14.01 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.24e-05/3.242e-05, allocations: 6.328 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3342/0.3342, allocations: 142.3 MB / 1.212 GB, free: 38.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.813/7.147, allocations: 2.244 GB / 3.456 GB, free: 36.52 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002988/7.147, allocations: 92.31 kB / 3.456 GB, free: 36.47 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 20.93/28.08, allocations: 4.454 GB / 7.91 GB, free: 66.55 MB / 1.354 GB Notification: Performance of FrontEnd: time 1.874e-06/28.08, allocations: 0 / 7.91 GB, free: 66.55 MB / 1.354 GB Notification: Performance of Transformations before backend: time 0.003038/28.08, allocations: 320.2 kB / 7.911 GB, free: 66.49 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: 1860 * Number of variables: 1860 Notification: Performance of Generate backend data structure: time 0.04532/28.13, allocations: 9.984 MB / 7.92 GB, free: 62.04 MB / 1.354 GB Notification: Performance of prepare preOptimizeDAE: time 6.188e-05/28.13, allocations: 12.19 kB / 7.92 GB, free: 62.04 MB / 1.354 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006185/28.13, allocations: 0.9466 MB / 7.921 GB, free: 61.95 MB / 1.354 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01924/28.15, allocations: 2.404 MB / 7.924 GB, free: 61.22 MB / 1.354 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05013/28.2, allocations: 13.3 MB / 7.937 GB, free: 59.5 MB / 1.354 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001149/28.2, allocations: 0.5705 MB / 7.937 GB, free: 59.48 MB / 1.354 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004654/28.21, allocations: 0.7661 MB / 7.938 GB, free: 59.47 MB / 1.354 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03383/28.24, allocations: 8.181 MB / 7.946 GB, free: 58.5 MB / 1.354 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006943/28.24, allocations: 22.97 kB / 7.946 GB, free: 58.5 MB / 1.354 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003714/28.25, allocations: 308.2 kB / 7.946 GB, free: 58.5 MB / 1.354 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004586/28.25, allocations: 300.6 kB / 7.946 GB, free: 58.48 MB / 1.354 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02208/28.27, allocations: 6.661 MB / 7.953 GB, free: 58.42 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.09724/28.37, allocations: 41.01 MB / 7.993 GB, free: 38 MB / 1.354 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01188/28.38, allocations: 4.585 MB / 7.997 GB, free: 37.24 MB / 1.354 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006525/28.38, allocations: 2.388 MB / 8 GB, free: 37.2 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.03697/28.42, allocations: 10.43 MB / 8.01 GB, free: 34.32 MB / 1.354 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007242/28.43, allocations: 2.513 MB / 8.012 GB, free: 34.16 MB / 1.354 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008008/28.44, allocations: 0.5114 MB / 8.013 GB, free: 33.94 MB / 1.354 GB Notification: Performance of pre-optimization done (n=428): time 3.729e-05/28.44, allocations: 0 / 8.013 GB, free: 33.94 MB / 1.354 GB Notification: Performance of matching and sorting (n=436): time 0.04514/28.48, allocations: 11.21 MB / 8.024 GB, free: 31.35 MB / 1.354 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001936/28.48, allocations: 339.2 kB / 8.024 GB, free: 31 MB / 1.354 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0252/28.51, allocations: 7.334 MB / 8.031 GB, free: 30.38 MB / 1.354 GB Notification: Performance of collectPreVariables (initialization): time 0.002006/28.51, allocations: 138.4 kB / 8.032 GB, free: 30.35 MB / 1.354 GB Notification: Performance of collectInitialEqns (initialization): time 0.009228/28.52, allocations: 5.057 MB / 8.036 GB, free: 28.89 MB / 1.354 GB Notification: Performance of collectInitialBindings (initialization): time 0.003271/28.52, allocations: 1.503 MB / 8.038 GB, free: 27.93 MB / 1.354 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001605/28.52, allocations: 114 kB / 8.038 GB, free: 27.93 MB / 1.354 GB Notification: Performance of setup shared object (initialization): time 0.0007544/28.52, allocations: 0.5171 MB / 8.039 GB, free: 27.61 MB / 1.354 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005428/28.53, allocations: 1.89 MB / 8.04 GB, free: 27.6 MB / 1.354 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007389/28.54, allocations: 3.748 MB / 8.044 GB, free: 25.39 MB / 1.354 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006931/28.54, allocations: 2.539 MB / 8.047 GB, free: 25.15 MB / 1.354 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001181/28.54, allocations: 11.84 kB / 8.047 GB, free: 25.15 MB / 1.354 GB Notification: Performance of matching and sorting (n=717) (initialization): time 0.02537/28.57, allocations: 7.059 MB / 8.053 GB, free: 24.1 MB / 1.354 GB Notification: Performance of prepare postOptimizeDAE: time 0.008089/28.58, allocations: 22.46 MB / 8.075 GB, free: 16.54 MB / 1.37 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001949/28.58, allocations: 41.47 kB / 8.075 GB, free: 16.54 MB / 1.37 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004553/28.58, allocations: 0.9639 MB / 8.076 GB, free: 16.47 MB / 1.37 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0065/28.59, allocations: 1.228 MB / 8.078 GB, free: 16.39 MB / 1.37 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008836/28.6, allocations: 7.32 MB / 8.085 GB, free: 10.73 MB / 1.37 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01508/28.61, allocations: 0.7473 MB / 8.085 GB, free: 10.6 MB / 1.37 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002366/28.62, allocations: 272.3 kB / 8.086 GB, free: 10.6 MB / 1.37 GB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/28.62, allocations: 8.625 kB / 8.086 GB, free: 10.6 MB / 1.37 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01776/28.63, allocations: 6.105 MB / 8.092 GB, free: 10.04 MB / 1.37 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001143/28.63, allocations: 38.34 kB / 8.092 GB, free: 10.04 MB / 1.37 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003316/28.64, allocations: 0.8932 MB / 8.093 GB, free: 9.977 MB / 1.37 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005521/28.64, allocations: 1.196 MB / 8.094 GB, free: 9.895 MB / 1.37 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01156/28.65, allocations: 9.088 MB / 8.103 GB, free: 19.88 MB / 1.385 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01171/28.67, allocations: 0.7094 MB / 8.103 GB, free: 19.77 MB / 1.385 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001793/28.67, allocations: 260.6 kB / 8.104 GB, free: 19.77 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: 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 (660): * Single equations (assignments): 652 * 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.002346/28.67, allocations: 469.1 kB / 8.104 GB, free: 19.55 MB / 1.385 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003751/28.67, allocations: 0.916 MB / 8.105 GB, free: 19.06 MB / 1.385 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01507/28.69, allocations: 6.125 MB / 8.111 GB, free: 18.57 MB / 1.385 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.995e-05/28.69, allocations: 49.64 kB / 8.111 GB, free: 18.57 MB / 1.385 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.68e-05/28.69, allocations: 3.531 kB / 8.111 GB, free: 18.57 MB / 1.385 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008042/28.7, allocations: 4.465 MB / 8.115 GB, free: 18.27 MB / 1.385 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04155/28.74, allocations: 14.14 MB / 8.129 GB, free: 17.25 MB / 1.385 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.685e-05/28.74, allocations: 0 / 8.129 GB, free: 17.25 MB / 1.385 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004002/28.74, allocations: 0.8327 MB / 8.13 GB, free: 17.2 MB / 1.385 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002287/28.75, allocations: 0.7195 MB / 8.131 GB, free: 17.1 MB / 1.385 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007215/28.75, allocations: 134.1 kB / 8.131 GB, free: 17.1 MB / 1.385 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01057/28.76, allocations: 13.23 MB / 8.144 GB, free: 5.656 MB / 1.385 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.97e-06/28.76, allocations: 10.55 kB / 8.144 GB, free: 5.652 MB / 1.385 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01755/28.77, allocations: 8.233 MB / 8.152 GB, free: 4.504 MB / 1.385 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008183/28.78, allocations: 1.75 MB / 8.153 GB, free: 3.895 MB / 1.385 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004094/28.79, allocations: 99.08 kB / 8.153 GB, free: 3.895 MB / 1.385 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01045/28.8, allocations: 0.6626 MB / 8.154 GB, free: 3.805 MB / 1.385 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001004/28.8, allocations: 299.2 kB / 8.154 GB, free: 3.801 MB / 1.385 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007331/28.8, allocations: 212.3 kB / 8.155 GB, free: 3.797 MB / 1.385 GB Notification: Performance of sorting global known variables: time 0.01404/28.81, allocations: 5.55 MB / 8.16 GB, free: 3.461 MB / 1.385 GB Notification: Performance of sort global known variables: time 4.01e-07/28.81, allocations: 3.938 kB / 8.16 GB, free: 3.457 MB / 1.385 GB Notification: Performance of remove unused functions: time 0.03292/28.85, allocations: 5.139 MB / 8.165 GB, free: 3.227 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: 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 (432): * Single equations (assignments): 409 * 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.03307/28.88, allocations: 14.98 MB / 8.18 GB, free: 14.29 MB / 1.401 GB Notification: Performance of simCode: created initialization part: time 0.02203/28.9, allocations: 9.614 MB / 8.189 GB, free: 12.93 MB / 1.401 GB Notification: Performance of simCode: created event and clocks part: time 2.015e-05/28.9, allocations: 9.625 kB / 8.189 GB, free: 12.93 MB / 1.401 GB Notification: Performance of simCode: created simulation system equations: time 0.005936/28.91, allocations: 3.348 MB / 8.192 GB, free: 11.92 MB / 1.401 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02618/28.93, allocations: 4.49 MB / 8.197 GB, free: 11.65 MB / 1.401 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05433/28.99, allocations: 17.6 MB / 8.214 GB, free: 2.168 MB / 1.401 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0176/29.01, allocations: 6.057 MB / 8.22 GB, free: 15.96 MB / 1.417 GB Notification: Performance of simCode: alias equations: time 0.02312/29.03, allocations: 3.746 MB / 8.224 GB, free: 13.55 MB / 1.417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009738/29.04, allocations: 4.626 MB / 8.228 GB, free: 11.55 MB / 1.417 GB Notification: Performance of SimCode: time 9.61e-07/29.04, allocations: 0 / 8.228 GB, free: 11.55 MB / 1.417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.159/31.2, allocations: 317 MB / 8.538 GB, free: 125.3 MB / 1.432 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003141/31.2, allocations: 221.2 kB / 8.538 GB, free: 125.1 MB / 1.432 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.06/52.26, allocations: 0 / 8.538 GB, free: 125.1 MB / 1.432 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