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.261/2.261, allocations: 252.6 MB / 265.2 MB, free: 5.785 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.001523/0.001523, allocations: 175.8 kB / 324.5 MB, free: 14.43 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.068/2.068, allocations: 205.4 MB / 0.5754 GB, free: 10.49 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.001473/0.001473, allocations: 94.27 kB / 0.6797 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.904e-05/3.918e-05, allocations: 4 kB / 0.7911 GB, free: 96.62 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2327/0.2328, allocations: 106.2 MB / 0.8949 GB, free: 6.301 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.308/8.541, allocations: 2.546 GB / 3.441 GB, free: 102.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003261/8.542, allocations: 91.31 kB / 3.441 GB, free: 102.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 21.94/30.48, allocations: 4.04 GB / 7.481 GB, free: 71.42 MB / 1.026 GB Notification: Performance of FrontEnd: time 2.154e-06/30.48, allocations: 0 / 7.481 GB, free: 71.42 MB / 1.026 GB Notification: Performance of Transformations before backend: time 0.001929/30.48, allocations: 225.4 kB / 7.481 GB, free: 71.38 MB / 1.026 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.03913/30.52, allocations: 8.525 MB / 7.49 GB, free: 65.65 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/30.52, allocations: 8.031 kB / 7.49 GB, free: 65.64 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02681/30.55, allocations: 2.637 MB / 7.492 GB, free: 63 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04072/30.59, allocations: 9.986 MB / 7.502 GB, free: 52.96 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008023/30.59, allocations: 0.521 MB / 7.503 GB, free: 52.43 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003362/30.59, allocations: 0.6835 MB / 7.503 GB, free: 51.75 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03149/30.62, allocations: 8.801 MB / 7.512 GB, free: 42.75 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000341/30.62, allocations: 11.84 kB / 7.512 GB, free: 42.74 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002638/30.63, allocations: 284 kB / 7.512 GB, free: 42.46 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003732/30.63, allocations: 309.1 kB / 7.512 GB, free: 42.16 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02849/30.66, allocations: 8.013 MB / 7.52 GB, free: 34.13 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 preOpt removeSimpleEquations (simulation): time 1.021/31.68, allocations: 37.31 MB / 7.557 GB, free: 72.21 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01519/31.69, allocations: 5.339 MB / 7.562 GB, free: 71.57 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008789/31.7, allocations: 3.108 MB / 7.565 GB, free: 71.54 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002386/31.7, allocations: 1.054 MB / 7.566 GB, free: 70.5 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009721/31.71, allocations: 3.068 MB / 7.569 GB, free: 70.34 MB / 1.026 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00631/31.72, allocations: 392.2 kB / 7.569 GB, free: 70.34 MB / 1.026 GB Notification: Performance of pre-optimization done (n=455): time 3.171e-05/31.72, allocations: 4.625 kB / 7.569 GB, free: 70.34 MB / 1.026 GB Notification: Performance of matching and sorting (n=459): time 0.06344/31.78, allocations: 14.72 MB / 7.584 GB, free: 67.03 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001937/31.78, allocations: 415.8 kB / 7.584 GB, free: 66.59 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0204/31.8, allocations: 5.896 MB / 7.59 GB, free: 66.17 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.001607/31.8, allocations: 127.8 kB / 7.59 GB, free: 66.14 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.006898/31.81, allocations: 3.735 MB / 7.594 GB, free: 65.32 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.003178/31.81, allocations: 1.583 MB / 7.595 GB, free: 64.52 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005635/31.82, allocations: 93.97 kB / 7.595 GB, free: 64.52 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0004116/31.82, allocations: 494.1 kB / 7.596 GB, free: 64.21 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006321/31.82, allocations: 2.225 MB / 7.598 GB, free: 64.19 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008156/31.83, allocations: 3.475 MB / 7.601 GB, free: 62.92 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008065/31.84, allocations: 2.853 MB / 7.604 GB, free: 62.86 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-05/31.84, allocations: 7.062 kB / 7.604 GB, free: 62.86 MB / 1.026 GB Notification: Performance of matching and sorting (n=597) (initialization): time 0.02281/31.86, allocations: 6.672 MB / 7.611 GB, free: 62.34 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.002453/31.86, allocations: 10.86 MB / 7.621 GB, free: 50.91 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001218/31.86, allocations: 29.14 kB / 7.621 GB, free: 50.91 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002231/31.87, allocations: 347.2 kB / 7.622 GB, free: 50.88 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009948/31.88, allocations: 1.095 MB / 7.623 GB, free: 50.88 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008786/31.89, allocations: 6.519 MB / 7.629 GB, free: 45.89 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01398/31.9, allocations: 0.7102 MB / 7.63 GB, free: 45.87 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001557/31.9, allocations: 196.1 kB / 7.63 GB, free: 45.87 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/31.9, allocations: 3.094 kB / 7.63 GB, free: 45.87 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01991/31.92, allocations: 6.11 MB / 7.636 GB, free: 45.64 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001077/31.92, allocations: 25.66 kB / 7.636 GB, free: 45.64 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001956/31.92, allocations: 345.3 kB / 7.636 GB, free: 45.61 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009634/31.93, allocations: 1.074 MB / 7.637 GB, free: 45.61 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009568/31.94, allocations: 6.86 MB / 7.644 GB, free: 40.4 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01362/31.96, allocations: 0.6887 MB / 7.645 GB, free: 40.38 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001516/31.96, allocations: 191.6 kB / 7.645 GB, free: 40.38 MB / 1.026 GB 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 (578): * Single equations (assignments): 570 * 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.00199/31.96, allocations: 399.1 kB / 7.645 GB, free: 40.27 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003154/31.96, allocations: 0.694 MB / 7.646 GB, free: 39.91 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02309/31.99, allocations: 6.583 MB / 7.652 GB, free: 39.52 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.682e-05/31.99, allocations: 48.5 kB / 7.652 GB, free: 39.52 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.72e-05/31.99, allocations: 0 / 7.652 GB, free: 39.52 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01734/32, allocations: 5.342 MB / 7.658 GB, free: 39.04 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.05266/32.06, allocations: 15.29 MB / 7.673 GB, free: 53.9 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.203e-05/32.06, allocations: 3.719 kB / 7.673 GB, free: 53.9 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01004/32.07, allocations: 1.01 MB / 7.673 GB, free: 53.9 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002036/32.07, allocations: 339.3 kB / 7.674 GB, free: 53.86 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001185/32.07, allocations: 126 kB / 7.674 GB, free: 53.86 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01145/32.08, allocations: 9.205 MB / 7.683 GB, free: 46.23 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/32.08, allocations: 9.438 kB / 7.683 GB, free: 46.23 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0286/32.11, allocations: 10.05 MB / 7.693 GB, free: 44.73 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008228/32.12, allocations: 1.622 MB / 7.694 GB, free: 44.27 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003876/32.12, allocations: 104.4 kB / 7.694 GB, free: 44.27 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01315/32.13, allocations: 0.6214 MB / 7.695 GB, free: 44.25 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001552/32.14, allocations: 296.4 kB / 7.695 GB, free: 44.24 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009533/32.14, allocations: 173.1 kB / 7.695 GB, free: 44.24 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.01471/32.15, allocations: 4.706 MB / 7.7 GB, free: 44 MB / 1.042 GB Notification: Performance of sort global known variables: time 7.12e-07/32.15, allocations: 0 / 7.7 GB, free: 44 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.03007/32.18, allocations: 4.397 MB / 7.704 GB, free: 44 MB / 1.042 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 (461): * Single equations (assignments): 448 * 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.01716/32.2, allocations: 7.883 MB / 7.712 GB, free: 40.36 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.02797/32.23, allocations: 9.771 MB / 7.722 GB, free: 39.41 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.897e-05/32.23, allocations: 7.688 kB / 7.722 GB, free: 39.41 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.00937/32.24, allocations: 3.344 MB / 7.725 GB, free: 38.84 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0357/32.27, allocations: 4.135 MB / 7.729 GB, free: 38.78 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05099/32.32, allocations: 15.1 MB / 7.744 GB, free: 35.9 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01323/32.34, allocations: 5.706 MB / 7.749 GB, free: 34.99 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.0346/32.37, allocations: 5.352 MB / 7.754 GB, free: 34.93 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003253/32.38, allocations: 457.1 kB / 7.755 GB, free: 34.92 MB / 1.042 GB Notification: Performance of SimCode: time 1.302e-06/32.38, allocations: 0 / 7.755 GB, free: 34.92 MB / 1.042 GB Notification: Performance of Templates: time 1.548/33.92, allocations: 229.7 MB / 7.979 GB, free: 139.9 MB / 1.089 GB