Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.CDL.System1.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.System1,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_CDL_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.System1,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_CDL_System1",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.609/2.609, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001292/0.001293, allocations: 173.1 kB / 498.1 MB, free: 5.746 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.813/1.813, allocations: 223.1 MB / 0.7948 GB, free: 17.88 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.001031/0.001031, allocations: 94.83 kB / 0.9346 GB, free: 6.199 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004146/0.0004142, allocations: 8.453 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3743/0.3747, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.523/6.897, allocations: 2.241 GB / 3.464 GB, free: 187.7 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002804/6.898, allocations: 88.02 kB / 3.464 GB, free: 187.7 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 19.89/26.79, allocations: 4.462 GB / 7.926 GB, free: 89.41 MB / 1.37 GB Notification: Performance of FrontEnd: time 2.766e-06/26.79, allocations: 0 / 7.926 GB, free: 89.41 MB / 1.37 GB Notification: Performance of Transformations before backend: time 0.002746/26.79, allocations: 313 kB / 7.926 GB, free: 89.36 MB / 1.37 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1794 * Number of variables: 1794 Notification: Performance of Generate backend data structure: time 0.05005/26.84, allocations: 12.25 MB / 7.938 GB, free: 84.12 MB / 1.37 GB Notification: Performance of prepare preOptimizeDAE: time 6.145e-05/26.84, allocations: 10.19 kB / 7.938 GB, free: 84.12 MB / 1.37 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005655/26.85, allocations: 0.9226 MB / 7.939 GB, free: 84.04 MB / 1.37 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01727/26.86, allocations: 2.375 MB / 7.941 GB, free: 83.39 MB / 1.37 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0462/26.91, allocations: 13.29 MB / 7.954 GB, free: 81.74 MB / 1.37 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009283/26.91, allocations: 0.5494 MB / 7.955 GB, free: 81.73 MB / 1.37 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00394/26.92, allocations: 0.7422 MB / 7.956 GB, free: 81.72 MB / 1.37 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03021/26.95, allocations: 8.145 MB / 7.964 GB, free: 80.78 MB / 1.37 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005825/26.95, allocations: 18.38 kB / 7.964 GB, free: 80.78 MB / 1.37 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003004/26.95, allocations: 300.8 kB / 7.964 GB, free: 80.78 MB / 1.37 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003671/26.95, allocations: 290.9 kB / 7.964 GB, free: 80.76 MB / 1.37 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0244/26.97, allocations: 6.77 MB / 7.971 GB, free: 80.7 MB / 1.37 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.08035/27.06, allocations: 40.34 MB / 8.01 GB, free: 60.72 MB / 1.37 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009503/27.06, allocations: 4.752 MB / 8.015 GB, free: 59.98 MB / 1.37 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.03194/27.1, allocations: 10.23 MB / 8.025 GB, free: 57.16 MB / 1.37 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006582/27.1, allocations: 2.528 MB / 8.027 GB, free: 57.02 MB / 1.37 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007668/27.11, allocations: 0.4974 MB / 8.028 GB, free: 56.82 MB / 1.37 GB Notification: Performance of pre-optimization done (n=409): time 3.112e-05/27.11, allocations: 0 / 8.028 GB, free: 56.82 MB / 1.37 GB Notification: Performance of matching and sorting (n=417): time 0.04743/27.16, allocations: 14.32 MB / 8.042 GB, free: 53.62 MB / 1.37 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000142/27.16, allocations: 305.4 kB / 8.042 GB, free: 53.3 MB / 1.37 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02219/27.18, allocations: 7.299 MB / 8.049 GB, free: 52.73 MB / 1.37 GB Notification: Performance of collectPreVariables (initialization): time 0.001572/27.18, allocations: 139.3 kB / 8.049 GB, free: 52.7 MB / 1.37 GB Notification: Performance of collectInitialEqns (initialization): time 0.007176/27.19, allocations: 4.917 MB / 8.054 GB, free: 51.28 MB / 1.37 GB Notification: Performance of collectInitialBindings (initialization): time 0.002678/27.19, allocations: 1.442 MB / 8.056 GB, free: 50.36 MB / 1.37 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001329/27.19, allocations: 113.6 kB / 8.056 GB, free: 50.36 MB / 1.37 GB Notification: Performance of setup shared object (initialization): time 0.0006073/27.19, allocations: 0.5145 MB / 8.056 GB, free: 50.04 MB / 1.37 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005194/27.2, allocations: 1.965 MB / 8.058 GB, free: 50.02 MB / 1.37 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006606/27.21, allocations: 3.797 MB / 8.062 GB, free: 47.9 MB / 1.37 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006456/27.21, allocations: 2.594 MB / 8.064 GB, free: 47.8 MB / 1.37 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.631e-05/27.21, allocations: 11.44 kB / 8.064 GB, free: 47.8 MB / 1.37 GB Notification: Performance of matching and sorting (n=699) (initialization): time 0.02256/27.24, allocations: 7.167 MB / 8.071 GB, free: 47.06 MB / 1.37 GB Notification: Performance of prepare postOptimizeDAE: time 0.005395/27.24, allocations: 22.37 MB / 8.093 GB, free: 23.58 MB / 1.37 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000144/27.24, allocations: 41.41 kB / 8.093 GB, free: 23.58 MB / 1.37 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004624/27.25, allocations: 0.9876 MB / 8.094 GB, free: 23.53 MB / 1.37 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006419/27.25, allocations: 1.199 MB / 8.095 GB, free: 23.53 MB / 1.37 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008124/27.26, allocations: 7.454 MB / 8.103 GB, free: 17.94 MB / 1.37 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01213/27.27, allocations: 0.735 MB / 8.103 GB, free: 17.86 MB / 1.37 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001775/27.27, allocations: 264.9 kB / 8.104 GB, free: 17.86 MB / 1.37 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/27.27, allocations: 3.406 kB / 8.104 GB, free: 17.86 MB / 1.37 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01818/27.29, allocations: 6.215 MB / 8.11 GB, free: 17.62 MB / 1.37 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002077/27.29, allocations: 41.16 kB / 8.11 GB, free: 17.62 MB / 1.37 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004104/27.3, allocations: 0.9175 MB / 8.111 GB, free: 17.58 MB / 1.37 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005893/27.3, allocations: 1.171 MB / 8.112 GB, free: 17.58 MB / 1.37 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01363/27.32, allocations: 9.32 MB / 8.121 GB, free: 27.64 MB / 1.385 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01133/27.33, allocations: 0.6893 MB / 8.122 GB, free: 27.58 MB / 1.385 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001727/27.33, allocations: 256.5 kB / 8.122 GB, free: 27.58 MB / 1.385 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 179 * Number of states: 0 () * Number of discrete variables: 11 ($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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (642): * Single equations (assignments): 634 * 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 {(2,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 3 {3 8,13 22,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.009933/27.34, allocations: 2.249 MB / 8.124 GB, free: 27.37 MB / 1.385 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00484/27.34, allocations: 0.9058 MB / 8.125 GB, free: 26.89 MB / 1.385 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01902/27.36, allocations: 6.178 MB / 8.131 GB, free: 26.49 MB / 1.385 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.186e-05/27.36, allocations: 45 kB / 8.131 GB, free: 26.49 MB / 1.385 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.488e-05/27.36, allocations: 2.281 kB / 8.131 GB, free: 26.49 MB / 1.385 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01045/27.37, allocations: 4.542 MB / 8.135 GB, free: 26.24 MB / 1.385 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.046/27.42, allocations: 13.99 MB / 8.149 GB, free: 25.29 MB / 1.385 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.635e-05/27.42, allocations: 0 / 8.149 GB, free: 25.29 MB / 1.385 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004591/27.42, allocations: 0.8116 MB / 8.15 GB, free: 25.29 MB / 1.385 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002318/27.43, allocations: 0.6985 MB / 8.151 GB, free: 25.21 MB / 1.385 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001074/27.43, allocations: 125.7 kB / 8.151 GB, free: 25.21 MB / 1.385 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01052/27.44, allocations: 13.18 MB / 8.164 GB, free: 13.97 MB / 1.385 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/27.44, allocations: 0 / 8.164 GB, free: 13.97 MB / 1.385 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02026/27.46, allocations: 8.316 MB / 8.172 GB, free: 12.9 MB / 1.385 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007252/27.47, allocations: 1.703 MB / 8.173 GB, free: 12.31 MB / 1.385 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003989/27.47, allocations: 94.94 kB / 8.173 GB, free: 12.31 MB / 1.385 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009643/27.48, allocations: 0.6455 MB / 8.174 GB, free: 12.27 MB / 1.385 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001037/27.48, allocations: 291.7 kB / 8.174 GB, free: 12.27 MB / 1.385 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001028/27.48, allocations: 196.8 kB / 8.175 GB, free: 12.27 MB / 1.385 GB Notification: Performance of sorting global known variables: time 0.01402/27.5, allocations: 5.545 MB / 8.18 GB, free: 11.98 MB / 1.385 GB Notification: Performance of sort global known variables: time 6.81e-07/27.5, allocations: 0 / 8.18 GB, free: 11.98 MB / 1.385 GB Notification: Performance of remove unused functions: time 0.02899/27.53, allocations: 5.089 MB / 8.185 GB, free: 11.75 MB / 1.385 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 29 (vol.dynBal.medium.Xi[1],vol.dynBal.m,heaCap.T,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) * Number of discrete variables: 7 ($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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (414): * Single equations (assignments): 391 * 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%) 3,(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.03129/27.56, allocations: 15.06 MB / 8.2 GB, free: 7.5 MB / 1.385 GB Notification: Performance of simCode: created initialization part: time 0.0242/27.58, allocations: 9.552 MB / 8.209 GB, free: 6.469 MB / 1.385 GB Notification: Performance of simCode: created event and clocks part: time 1.646e-05/27.58, allocations: 7.531 kB / 8.209 GB, free: 6.469 MB / 1.385 GB Notification: Performance of simCode: created simulation system equations: time 0.00756/27.59, allocations: 3.33 MB / 8.212 GB, free: 5.535 MB / 1.385 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02479/27.61, allocations: 4.462 MB / 8.217 GB, free: 5.293 MB / 1.385 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06941/27.68, allocations: 56.39 MB / 8.272 GB, free: 9.891 MB / 1.432 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007384/27.69, allocations: 5.329 MB / 8.277 GB, free: 8.867 MB / 1.432 GB Notification: Performance of simCode: alias equations: time 0.01661/27.71, allocations: 2.618 MB / 8.279 GB, free: 8.512 MB / 1.432 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01286/27.72, allocations: 4.683 MB / 8.284 GB, free: 8.496 MB / 1.432 GB Notification: Performance of SimCode: time 1.212e-06/27.72, allocations: 0 / 8.284 GB, free: 8.496 MB / 1.432 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.586/29.31, allocations: 297 MB / 8.574 GB, free: 153.3 MB / 1.448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001521/29.31, allocations: 241.7 kB / 8.574 GB, free: 153 MB / 1.448 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.16/45.47, allocations: 0 / 8.574 GB, free: 153 MB / 1.448 GB (rm -f Buildings_9_Buildings.Examples.Tutorial.CDL.System1.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.CDL.System1.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.CDL.System1.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.CDL.System1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Examples.Tutorial.CDL.System1_res.mat --tempDir=temp_Buildings_9_Buildings_Examples_Tutorial_CDL_System1_fmu --startTime=1.296e+06 --stopTime=1.3824e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Examples_Tutorial_CDL_System1.fmu > Buildings_9_Buildings.Examples.Tutorial.CDL.System1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Examples.Tutorial.CDL.System1_res.mat does not exist to compare? outputFormat=mat