Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.CDL.System3.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.System3,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_CDL_System3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.System3,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_CDL_System3",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.527/2.527, allocations: 387.1 MB / 399.7 MB, free: 9.508 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.001395/0.001395, allocations: 176.9 kB / 492.3 MB, free: 0.6367 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.701/1.701, 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.0009725/0.0009726, allocations: 98.09 kB / 0.9267 GB, free: 14.01 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.404e-05/3.406e-05, allocations: 3.984 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.31/0.31, allocations: 142.4 MB / 1.212 GB, free: 38.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.045/7.355, allocations: 2.244 GB / 3.456 GB, free: 32.09 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002492/7.356, allocations: 90.05 kB / 3.456 GB, free: 32.04 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 20.86/28.22, allocations: 4.454 GB / 7.91 GB, free: 66.21 MB / 1.354 GB Notification: Performance of FrontEnd: time 2.224e-06/28.22, allocations: 0 / 7.91 GB, free: 66.21 MB / 1.354 GB Notification: Performance of Transformations before backend: time 0.002933/28.22, allocations: 326.7 kB / 7.91 GB, free: 66.14 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: 1854 * Number of variables: 1854 Notification: Performance of Generate backend data structure: time 0.03881/28.26, allocations: 9.969 MB / 7.92 GB, free: 61.69 MB / 1.354 GB Notification: Performance of prepare preOptimizeDAE: time 5.625e-05/28.26, allocations: 9 kB / 7.92 GB, free: 61.69 MB / 1.354 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005229/28.26, allocations: 0.9453 MB / 7.921 GB, free: 61.6 MB / 1.354 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01763/28.28, allocations: 2.399 MB / 7.923 GB, free: 60.88 MB / 1.354 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04771/28.33, allocations: 13.3 MB / 7.936 GB, free: 59.15 MB / 1.354 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001117/28.33, allocations: 0.5694 MB / 7.937 GB, free: 59.13 MB / 1.354 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004764/28.34, allocations: 0.763 MB / 7.937 GB, free: 59.12 MB / 1.354 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03185/28.37, allocations: 8.163 MB / 7.945 GB, free: 58.15 MB / 1.354 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004072/28.37, allocations: 25.5 kB / 7.945 GB, free: 58.15 MB / 1.354 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002721/28.37, allocations: 308.3 kB / 7.946 GB, free: 58.15 MB / 1.354 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003338/28.37, allocations: 303.3 kB / 7.946 GB, free: 58.13 MB / 1.354 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01904/28.39, allocations: 6.641 MB / 7.952 GB, free: 58.07 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.08176/28.47, allocations: 41.02 MB / 7.992 GB, free: 37.57 MB / 1.354 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008066/28.48, allocations: 4.559 MB / 7.997 GB, free: 36.8 MB / 1.354 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004547/28.48, allocations: 2.377 MB / 7.999 GB, free: 36.77 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.03193/28.52, allocations: 10.38 MB / 8.009 GB, free: 33.89 MB / 1.354 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005752/28.52, allocations: 2.483 MB / 8.012 GB, free: 33.73 MB / 1.354 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00889/28.53, allocations: 0.5135 MB / 8.012 GB, free: 33.52 MB / 1.354 GB Notification: Performance of pre-optimization done (n=421): time 5.417e-05/28.53, allocations: 0 / 8.012 GB, free: 33.52 MB / 1.354 GB Notification: Performance of matching and sorting (n=429): time 0.03955/28.57, allocations: 11.14 MB / 8.023 GB, free: 30.92 MB / 1.354 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001454/28.57, allocations: 328 kB / 8.023 GB, free: 30.57 MB / 1.354 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0188/28.59, allocations: 7.366 MB / 8.031 GB, free: 29.95 MB / 1.354 GB Notification: Performance of collectPreVariables (initialization): time 0.001984/28.59, allocations: 138.5 kB / 8.031 GB, free: 29.91 MB / 1.354 GB Notification: Performance of collectInitialEqns (initialization): time 0.007603/28.6, allocations: 5.063 MB / 8.036 GB, free: 28.45 MB / 1.354 GB Notification: Performance of collectInitialBindings (initialization): time 0.002981/28.6, allocations: 1.484 MB / 8.037 GB, free: 27.5 MB / 1.354 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000722/28.6, allocations: 111.1 kB / 8.037 GB, free: 27.5 MB / 1.354 GB Notification: Performance of setup shared object (initialization): time 0.0004624/28.6, allocations: 0.5165 MB / 8.038 GB, free: 27.19 MB / 1.354 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003589/28.61, allocations: 1.882 MB / 8.04 GB, free: 27.18 MB / 1.354 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004852/28.61, allocations: 3.725 MB / 8.043 GB, free: 24.98 MB / 1.354 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005438/28.62, allocations: 2.536 MB / 8.046 GB, free: 24.74 MB / 1.354 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.003e-05/28.62, allocations: 12.06 kB / 8.046 GB, free: 24.74 MB / 1.354 GB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01899/28.64, allocations: 7.057 MB / 8.053 GB, free: 23.68 MB / 1.354 GB Notification: Performance of prepare postOptimizeDAE: time 0.007521/28.64, allocations: 22.45 MB / 8.075 GB, free: 16.13 MB / 1.37 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001749/28.64, allocations: 40.97 kB / 8.075 GB, free: 16.13 MB / 1.37 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004206/28.65, allocations: 0.9519 MB / 8.075 GB, free: 16.06 MB / 1.37 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006584/28.66, allocations: 1.234 MB / 8.077 GB, free: 15.97 MB / 1.37 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009452/28.66, allocations: 7.317 MB / 8.084 GB, free: 10.31 MB / 1.37 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01582/28.68, allocations: 0.7402 MB / 8.085 GB, free: 10.19 MB / 1.37 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002496/28.68, allocations: 274.2 kB / 8.085 GB, free: 10.19 MB / 1.37 GB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/28.68, allocations: 6 kB / 8.085 GB, free: 10.19 MB / 1.37 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01948/28.7, allocations: 6.088 MB / 8.091 GB, free: 9.633 MB / 1.37 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001684/28.7, allocations: 44.97 kB / 8.091 GB, free: 9.629 MB / 1.37 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003574/28.71, allocations: 0.8894 MB / 8.092 GB, free: 9.559 MB / 1.37 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006604/28.71, allocations: 1.19 MB / 8.093 GB, free: 9.477 MB / 1.37 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01528/28.73, allocations: 9.103 MB / 8.102 GB, free: 19.39 MB / 1.385 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01215/28.74, allocations: 0.6859 MB / 8.102 GB, free: 19.29 MB / 1.385 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001843/28.74, allocations: 258.1 kB / 8.103 GB, free: 19.29 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: 12 ($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) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (657): * Single equations (assignments): 649 * 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.003768/28.75, allocations: 462.9 kB / 8.103 GB, free: 19.07 MB / 1.385 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004672/28.75, allocations: 0.9215 MB / 8.104 GB, free: 18.58 MB / 1.385 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02161/28.77, allocations: 6.079 MB / 8.11 GB, free: 18.09 MB / 1.385 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.321e-05/28.77, allocations: 50.25 kB / 8.11 GB, free: 18.09 MB / 1.385 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.928e-05/28.77, allocations: 2.094 kB / 8.11 GB, free: 18.09 MB / 1.385 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0118/28.78, allocations: 4.428 MB / 8.114 GB, free: 17.8 MB / 1.385 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04796/28.83, allocations: 14.07 MB / 8.128 GB, free: 16.77 MB / 1.385 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.581e-05/28.83, allocations: 4.062 kB / 8.128 GB, free: 16.76 MB / 1.385 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003821/28.84, allocations: 0.8296 MB / 8.129 GB, free: 16.71 MB / 1.385 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002281/28.84, allocations: 0.7225 MB / 8.13 GB, free: 16.61 MB / 1.385 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007944/28.84, allocations: 131.6 kB / 8.13 GB, free: 16.61 MB / 1.385 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0114/28.85, allocations: 13.26 MB / 8.143 GB, free: 5.156 MB / 1.385 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/28.85, allocations: 2.906 kB / 8.143 GB, free: 5.156 MB / 1.385 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01607/28.87, allocations: 8.183 MB / 8.151 GB, free: 3.996 MB / 1.385 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007699/28.88, allocations: 1.732 MB / 8.152 GB, free: 3.395 MB / 1.385 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003709/28.88, allocations: 95.88 kB / 8.152 GB, free: 3.395 MB / 1.385 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0102/28.89, allocations: 0.6666 MB / 8.153 GB, free: 3.301 MB / 1.385 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00132/28.89, allocations: 295.7 kB / 8.153 GB, free: 3.293 MB / 1.385 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008295/28.89, allocations: 202.1 kB / 8.154 GB, free: 3.293 MB / 1.385 GB Notification: Performance of sorting global known variables: time 0.0144/28.91, allocations: 5.568 MB / 8.159 GB, free: 2.961 MB / 1.385 GB Notification: Performance of sort global known variables: time 7.21e-07/28.91, allocations: 0 / 8.159 GB, free: 2.961 MB / 1.385 GB Notification: Performance of remove unused functions: time 0.03422/28.94, allocations: 5.138 MB / 8.164 GB, free: 2.727 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: 8 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 4 (timTab.tab.nextTimeEvent,weaDat.conTim.tNext,weaDat.conTimMin.tNext,timTab.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (425): * Single equations (assignments): 402 * 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.0306/28.97, allocations: 14.93 MB / 8.179 GB, free: 13.77 MB / 1.401 GB Notification: Performance of simCode: created initialization part: time 0.02263/28.99, allocations: 9.625 MB / 8.188 GB, free: 12.41 MB / 1.401 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-05/28.99, allocations: 9.75 kB / 8.188 GB, free: 12.41 MB / 1.401 GB Notification: Performance of simCode: created simulation system equations: time 0.006103/29, allocations: 3.286 MB / 8.191 GB, free: 11.41 MB / 1.401 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02748/29.03, allocations: 4.492 MB / 8.196 GB, free: 11.14 MB / 1.401 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06109/29.09, allocations: 17.56 MB / 8.213 GB, free: 1.367 MB / 1.401 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009593/29.1, allocations: 5.423 MB / 8.218 GB, free: 13.92 MB / 1.417 GB Notification: Performance of simCode: alias equations: time 0.02189/29.12, allocations: 3.75 MB / 8.222 GB, free: 11.5 MB / 1.417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009312/29.13, allocations: 4.612 MB / 8.226 GB, free: 9.551 MB / 1.417 GB Notification: Performance of SimCode: time 1.723e-06/29.13, allocations: 0 / 8.226 GB, free: 9.551 MB / 1.417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.002/31.13, allocations: 317 MB / 8.536 GB, free: 123.7 MB / 1.432 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001922/31.13, allocations: 214.2 kB / 8.536 GB, free: 123.5 MB / 1.432 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.31/52.44, allocations: 0 / 8.536 GB, free: 123.5 MB / 1.432 GB (rm -f Buildings_9_Buildings.Examples.Tutorial.CDL.System3.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.CDL.System3.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.CDL.System3.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.CDL.System3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Examples.Tutorial.CDL.System3_res.mat --tempDir=temp_Buildings_9_Buildings_Examples_Tutorial_CDL_System3_fmu --startTime=1.296e+06 --stopTime=1.3824e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Examples_Tutorial_CDL_System3.fmu > Buildings_9_Buildings.Examples.Tutorial.CDL.System3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Examples.Tutorial.CDL.System3_res.mat does not exist to compare? outputFormat=mat