Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.Tutorial.SpaceCooling.System2.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.System2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.Tutorial.SpaceCooling.System2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.227/2.227, allocations: 253.2 MB / 260.6 MB, free: 7.422 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.002112/0.002112, allocations: 176.9 kB / 319.9 MB, free: 3.051 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.152/2.152, allocations: 205.6 MB / 0.5708 GB, free: 15.27 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.001117/0.001117, allocations: 90.7 kB / 0.6751 GB, free: 4.625 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.675e-05/1.685e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1962/0.1962, allocations: 106.3 MB / 0.8887 GB, free: 11.87 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.426/8.623, allocations: 2.547 GB / 3.435 GB, free: 140.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002959/8.623, allocations: 87.52 kB / 3.435 GB, free: 140.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 22.11/30.73, allocations: 4.001 GB / 7.436 GB, free: 78.01 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.874e-06/30.73, allocations: 0 / 7.436 GB, free: 78.01 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.001789/30.73, allocations: 229.2 kB / 7.436 GB, free: 77.97 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: 1757 * Number of variables: 1757 Notification: Performance of Generate backend data structure: time 0.03868/30.77, allocations: 8.517 MB / 7.444 GB, free: 74.29 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.243e-05/30.77, allocations: 10.81 kB / 7.444 GB, free: 74.29 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0392/30.81, allocations: 2.631 MB / 7.447 GB, free: 73.7 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07521/30.89, allocations: 9.996 MB / 7.457 GB, free: 72.07 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005698/30.89, allocations: 218.5 kB / 7.457 GB, free: 72.07 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003399/30.89, allocations: 421.8 kB / 7.457 GB, free: 72.07 MB / 1.01 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02539/30.92, allocations: 7.459 MB / 7.465 GB, free: 68.14 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03119/30.95, allocations: 7.792 MB / 7.472 GB, free: 61.36 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004363/30.95, allocations: 11.92 kB / 7.472 GB, free: 61.34 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002785/30.95, allocations: 8 kB / 7.472 GB, free: 61.34 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004091/30.95, allocations: 301.3 kB / 7.473 GB, free: 61.04 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.08887/31.04, allocations: 36.16 MB / 7.508 GB, free: 23.21 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01238/31.05, allocations: 6.539 MB / 7.514 GB, free: 16.39 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007003/31.06, allocations: 2.935 MB / 7.517 GB, free: 13.45 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002075/31.06, allocations: 1.061 MB / 7.518 GB, free: 12.19 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007571/31.07, allocations: 2.864 MB / 7.521 GB, free: 9.293 MB / 1.01 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005465/31.07, allocations: 260.6 kB / 7.521 GB, free: 9.035 MB / 1.01 GB Notification: Performance of pre-optimization done (n=452): time 3.433e-05/31.07, allocations: 0 / 7.521 GB, free: 9.035 MB / 1.01 GB Notification: Performance of matching and sorting (n=456): time 0.05765/31.13, allocations: 14.35 MB / 7.535 GB, free: 10.54 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002823/31.13, allocations: 407.4 kB / 7.536 GB, free: 10.05 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01778/31.15, allocations: 5.195 MB / 7.541 GB, free: 4.867 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.001846/31.15, allocations: 33.7 kB / 7.541 GB, free: 4.828 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.008235/31.16, allocations: 3.708 MB / 7.544 GB, free: 1.082 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.9238/32.08, allocations: 1.497 MB / 7.546 GB, free: 101.9 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007409/32.08, allocations: 1.5 kB / 7.546 GB, free: 101.9 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0005536/32.09, allocations: 497.2 kB / 7.546 GB, free: 101.6 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006361/32.09, allocations: 2.101 MB / 7.548 GB, free: 101.6 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008327/32.1, allocations: 3.303 MB / 7.552 GB, free: 100.3 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01124/32.11, allocations: 2.87 MB / 7.554 GB, free: 100.3 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.895e-05/32.11, allocations: 6.344 kB / 7.554 GB, free: 100.3 MB / 1.026 GB Notification: Performance of matching and sorting (n=594) (initialization): time 0.02713/32.14, allocations: 6.336 MB / 7.561 GB, free: 100.1 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.00244/32.14, allocations: 10.65 MB / 7.571 GB, free: 89.07 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002191/32.14, allocations: 27.64 kB / 7.571 GB, free: 89.07 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002282/32.14, allocations: 332.3 kB / 7.571 GB, free: 89.04 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01046/32.15, allocations: 1.092 MB / 7.572 GB, free: 89.04 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009671/32.16, allocations: 6.279 MB / 7.579 GB, free: 84.29 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01341/32.18, allocations: 0.586 MB / 7.579 GB, free: 84.29 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001711/32.18, allocations: 194.3 kB / 7.579 GB, free: 84.29 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/32.18, allocations: 4.344 kB / 7.579 GB, free: 84.29 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02432/32.2, allocations: 5.673 MB / 7.585 GB, free: 84.06 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001879/32.2, allocations: 22.84 kB / 7.585 GB, free: 84.06 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002195/32.21, allocations: 342.8 kB / 7.585 GB, free: 84.03 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01015/32.22, allocations: 1.073 MB / 7.586 GB, free: 84.03 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01066/32.23, allocations: 6.551 MB / 7.593 GB, free: 79.11 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01289/32.24, allocations: 0.5706 MB / 7.593 GB, free: 79.11 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001796/32.24, allocations: 195.6 kB / 7.593 GB, free: 79.11 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: 6 ($whenCondition2,$whenCondition1,$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 (575): * Single equations (assignments): 567 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * 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: 1 {(1,100.0%) 7} * Non-linear torn systems: 3 {1 4,1 3,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.002551/32.24, allocations: 219.9 kB / 7.594 GB, free: 79 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002783/32.25, allocations: 0.6581 MB / 7.594 GB, free: 79 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02362/32.27, allocations: 6.208 MB / 7.6 GB, free: 78.65 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.151e-05/32.27, allocations: 48.83 kB / 7.6 GB, free: 78.65 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-05/32.27, allocations: 2.938 kB / 7.6 GB, free: 78.65 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01762/32.29, allocations: 5.122 MB / 7.605 GB, free: 78.17 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.0495/32.34, allocations: 14.13 MB / 7.619 GB, free: 77.09 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.782e-05/32.34, allocations: 3.938 kB / 7.619 GB, free: 77.09 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00983/32.35, allocations: 1.013 MB / 7.62 GB, free: 77.09 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002005/32.35, allocations: 326.6 kB / 7.62 GB, free: 77.05 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001257/32.35, allocations: 68.8 kB / 7.62 GB, free: 77.05 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01108/32.36, allocations: 8.935 MB / 7.629 GB, free: 69.78 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.456e-06/32.36, allocations: 5.25 kB / 7.629 GB, free: 69.78 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03092/32.39, allocations: 9.532 MB / 7.639 GB, free: 68.44 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007909/32.4, allocations: 1.55 MB / 7.64 GB, free: 68 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003189/32.4, allocations: 29.41 kB / 7.64 GB, free: 68 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.012/32.42, allocations: 0.5306 MB / 7.641 GB, free: 67.99 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001456/32.42, allocations: 291.5 kB / 7.641 GB, free: 67.98 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008686/32.42, allocations: 174.3 kB / 7.641 GB, free: 67.98 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.01158/32.43, allocations: 3.981 MB / 7.645 GB, free: 67.77 MB / 1.026 GB Notification: Performance of sort global known variables: time 1.082e-06/32.43, allocations: 0.9062 kB / 7.645 GB, free: 67.77 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.03417/32.46, allocations: 4.103 MB / 7.649 GB, free: 67.77 MB / 1.026 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 24 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],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: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (458): * Single equations (assignments): 445 * 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%) 7,(1,100.0%) 1,(1,100.0%) 2} * Non-linear torn systems: 2 {1 4,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.01691/32.48, allocations: 8.05 MB / 7.657 GB, free: 64.18 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.02474/32.51, allocations: 9.179 MB / 7.666 GB, free: 63.31 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-05/32.51, allocations: 6.25 kB / 7.666 GB, free: 63.31 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.008425/32.52, allocations: 3.151 MB / 7.669 GB, free: 62.79 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03057/32.55, allocations: 3.607 MB / 7.672 GB, free: 62.73 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04944/32.6, allocations: 14.74 MB / 7.687 GB, free: 59.87 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01295/32.61, allocations: 5.702 MB / 7.692 GB, free: 58.96 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.03329/32.64, allocations: 5.086 MB / 7.697 GB, free: 58.9 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003518/32.65, allocations: 444.2 kB / 7.698 GB, free: 58.89 MB / 1.026 GB Notification: Performance of SimCode: time 1.783e-06/32.65, allocations: 0 / 7.698 GB, free: 58.89 MB / 1.026 GB Notification: Performance of Templates: time 0.4147/33.06, allocations: 166.5 MB / 7.86 GB, free: 24.32 MB / 1.026 GB