Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.Tutorial.SpaceCooling.System3.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.SpaceCooling.System3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.Tutorial.SpaceCooling.System3") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.247/2.247, allocations: 253.2 MB / 260.6 MB, free: 7.434 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001383/0.001383, allocations: 172.8 kB / 319.9 MB, free: 3.074 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.09/2.09, allocations: 205.6 MB / 0.5708 GB, free: 15.26 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001135/0.001134, allocations: 90.69 kB / 0.6751 GB, free: 4.605 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.942e-05/1.921e-05, allocations: 0 / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2485/0.2486, allocations: 106.3 MB / 0.8887 GB, free: 11.86 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.352/8.601, allocations: 2.547 GB / 3.436 GB, free: 139.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002905/8.601, allocations: 89.27 kB / 3.436 GB, free: 139.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 22.03/30.63, allocations: 4.002 GB / 7.437 GB, free: 75.36 MB / 1.01 GB Notification: Performance of FrontEnd: time 4.148e-06/30.63, allocations: 0 / 7.437 GB, free: 75.36 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.001824/30.63, allocations: 225.4 kB / 7.437 GB, free: 75.32 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1766 * Number of variables: 1766 Notification: Performance of Generate backend data structure: time 0.03863/30.67, allocations: 8.568 MB / 7.446 GB, free: 71.62 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/30.67, allocations: 9.531 kB / 7.446 GB, free: 71.62 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02694/30.69, allocations: 2.64 MB / 7.448 GB, free: 71.04 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04074/30.74, allocations: 10 MB / 7.458 GB, free: 69.11 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005612/30.74, allocations: 219.3 kB / 7.458 GB, free: 69.11 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003407/30.74, allocations: 423.5 kB / 7.459 GB, free: 69.1 MB / 1.01 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02479/30.76, allocations: 7.487 MB / 7.466 GB, free: 65.91 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03095/30.79, allocations: 7.814 MB / 7.474 GB, free: 59.19 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003662/30.8, allocations: 15.41 kB / 7.474 GB, free: 59.18 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00271/30.8, allocations: 8 kB / 7.474 GB, free: 59.17 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004132/30.8, allocations: 304.7 kB / 7.474 GB, free: 58.88 MB / 1.01 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.08938/30.89, allocations: 36.31 MB / 7.51 GB, free: 20.92 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01277/30.9, allocations: 6.925 MB / 7.516 GB, free: 13.67 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007178/30.91, allocations: 2.993 MB / 7.519 GB, free: 10.68 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002134/30.91, allocations: 1.065 MB / 7.52 GB, free: 9.43 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007805/30.92, allocations: 2.894 MB / 7.523 GB, free: 6.512 MB / 1.01 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005661/30.92, allocations: 260.6 kB / 7.523 GB, free: 6.254 MB / 1.01 GB Notification: Performance of pre-optimization done (n=459): time 3.297e-05/30.92, allocations: 0 / 7.523 GB, free: 6.254 MB / 1.01 GB Notification: Performance of matching and sorting (n=470): time 0.0527/30.98, allocations: 12.6 MB / 7.536 GB, free: 9.582 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002132/30.98, allocations: 330.4 kB / 7.536 GB, free: 9.191 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01664/30.99, allocations: 5.18 MB / 7.541 GB, free: 4.023 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.001564/31, allocations: 33.7 kB / 7.541 GB, free: 3.984 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.007284/31, allocations: 3.724 MB / 7.545 GB, free: 232 kB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.9131/31.92, allocations: 1.546 MB / 7.546 GB, free: 102 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005516/31.92, allocations: 0 / 7.546 GB, free: 102 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0005407/31.92, allocations: 0.4958 MB / 7.547 GB, free: 101.7 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006095/31.92, allocations: 2.145 MB / 7.549 GB, free: 101.7 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0089/31.93, allocations: 3.351 MB / 7.552 GB, free: 100.5 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01048/31.94, allocations: 2.921 MB / 7.555 GB, free: 100.4 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.796e-05/31.94, allocations: 9.375 kB / 7.555 GB, free: 100.4 MB / 1.026 GB Notification: Performance of matching and sorting (n=605) (initialization): time 0.02857/31.97, allocations: 6.658 MB / 7.561 GB, free: 100.3 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.002518/31.97, allocations: 10.66 MB / 7.572 GB, free: 89.2 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002277/31.97, allocations: 22.94 kB / 7.572 GB, free: 89.2 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003604/31.98, allocations: 0.5633 MB / 7.572 GB, free: 89.16 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01005/31.99, allocations: 1.066 MB / 7.573 GB, free: 89.16 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.017/32, allocations: 8.917 MB / 7.582 GB, free: 83.7 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01362/32.02, allocations: 0.6075 MB / 7.583 GB, free: 83.67 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001756/32.02, allocations: 200.4 kB / 7.583 GB, free: 83.67 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/32.02, allocations: 3.594 kB / 7.583 GB, free: 83.67 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02477/32.04, allocations: 5.997 MB / 7.589 GB, free: 83.43 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001685/32.05, allocations: 26.62 kB / 7.589 GB, free: 83.43 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003347/32.05, allocations: 0.5605 MB / 7.589 GB, free: 83.39 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009864/32.06, allocations: 1.058 MB / 7.59 GB, free: 83.39 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01712/32.08, allocations: 9.772 MB / 7.6 GB, free: 77.1 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01346/32.09, allocations: 0.6024 MB / 7.601 GB, free: 77.07 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001698/32.09, allocations: 191.8 kB / 7.601 GB, free: 77.07 MB / 1.026 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: fan.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 96 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.con.y,con.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (562): * Single equations (assignments): 554 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 4 {2 23,1 4,1 3,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.003299/32.09, allocations: 220.8 kB / 7.601 GB, free: 76.97 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003376/32.1, allocations: 0.6552 MB / 7.602 GB, free: 76.63 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02702/32.12, allocations: 6.406 MB / 7.608 GB, free: 76.25 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001018/32.12, allocations: 53.53 kB / 7.608 GB, free: 76.24 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.283e-05/32.12, allocations: 0 / 7.608 GB, free: 76.24 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01958/32.14, allocations: 5.288 MB / 7.613 GB, free: 75.76 MB / 1.026 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 postOpt removeSimpleEquations (simulation): time 0.05346/32.2, allocations: 14.57 MB / 7.627 GB, free: 74.48 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.348e-05/32.2, allocations: 1.906 kB / 7.627 GB, free: 74.48 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01029/32.21, allocations: 1.047 MB / 7.628 GB, free: 74.48 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002171/32.21, allocations: 360.9 kB / 7.629 GB, free: 74.44 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001314/32.21, allocations: 75.2 kB / 7.629 GB, free: 74.44 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01144/32.22, allocations: 8.952 MB / 7.637 GB, free: 67.11 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.135e-06/32.22, allocations: 3.562 kB / 7.637 GB, free: 67.11 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02864/32.25, allocations: 9.454 MB / 7.647 GB, free: 66.12 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007955/32.26, allocations: 1.569 MB / 7.648 GB, free: 65.68 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003365/32.26, allocations: 29.83 kB / 7.648 GB, free: 65.68 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01318/32.28, allocations: 0.5956 MB / 7.649 GB, free: 65.66 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001773/32.28, allocations: 293.3 kB / 7.649 GB, free: 65.66 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001655/32.28, allocations: 182.7 kB / 7.649 GB, free: 65.66 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.01367/32.29, allocations: 3.959 MB / 7.653 GB, free: 65.45 MB / 1.026 GB Notification: Performance of sort global known variables: time 9.12e-07/32.29, allocations: 1.5 kB / 7.653 GB, free: 65.45 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.03773/32.33, allocations: 4.233 MB / 7.657 GB, free: 65.45 MB / 1.026 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 24 (vol.dynBal.medium.X[2],vol.dynBal.medium.dT,vol.dynBal.m,fan.filter.x[1],fan.filter.x[2],cooCoi.ele[1].vol1.dynBal.U,cooCoi.ele[1].vol2.dynBal.U,cooCoi.ele[1].vol2.dynBal.mXi[1],cooCoi.ele[1].mas.T,cooCoi.ele[2].vol1.dynBal.U,cooCoi.ele[2].vol2.dynBal.U,cooCoi.ele[2].vol2.dynBal.mXi[1],cooCoi.ele[2].mas.T,cooCoi.ele[3].vol1.dynBal.U,cooCoi.ele[3].vol2.dynBal.U,cooCoi.ele[3].vol2.dynBal.mXi[1],cooCoi.ele[3].mas.T,cooCoi.ele[4].vol1.dynBal.U,cooCoi.ele[4].vol2.dynBal.U,cooCoi.ele[4].vol2.dynBal.m,cooCoi.ele[4].vol2.dynBal.mXi[1],cooCoi.ele[4].mas.T,senTemHXOut.T,senTemSupAir.T) * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext,con.y) * Number of discrete states: 3 (weaDat.conTimMin.tNext,weaDat.conTim.tNext,con.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (475): * Single equations (assignments): 462 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 7,(1,100.0%) 1} * Non-linear torn systems: 2 {1 4,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0173/32.35, allocations: 8.066 MB / 7.665 GB, free: 61.87 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.0267/32.38, allocations: 9.762 MB / 7.675 GB, free: 60.71 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-05/32.38, allocations: 7.938 kB / 7.675 GB, free: 60.71 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.008996/32.39, allocations: 3.282 MB / 7.678 GB, free: 60.18 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03228/32.42, allocations: 3.628 MB / 7.681 GB, free: 60.13 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0509/32.47, allocations: 14.89 MB / 7.696 GB, free: 57.29 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01364/32.48, allocations: 5.745 MB / 7.702 GB, free: 56.38 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.03436/32.52, allocations: 5.14 MB / 7.707 GB, free: 56.32 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003265/32.52, allocations: 455.4 kB / 7.707 GB, free: 56.31 MB / 1.026 GB Notification: Performance of SimCode: time 1.513e-06/32.52, allocations: 0 / 7.707 GB, free: 56.31 MB / 1.026 GB Notification: Performance of Templates: time 0.4222/32.94, allocations: 172.3 MB / 7.875 GB, free: 11.62 MB / 1.026 GB