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.21/2.21, allocations: 251.1 MB / 266.1 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001465/0.001465, allocations: 183.2 kB / 325.6 MB, free: 2.84 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.447/2.447, allocations: 205.4 MB / 0.5766 GB, free: 21.12 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.001069/0.001069, allocations: 101.2 kB / 0.6811 GB, free: 14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004905/0.0004905, allocations: 14.62 kB / 0.7951 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2186/0.2191, allocations: 106.2 MB / 0.8989 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.303/8.523, allocations: 2.547 GB / 3.446 GB, free: 222.2 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003289/8.523, allocations: 96.78 kB / 3.446 GB, free: 222.2 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 22.46/30.98, allocations: 4.047 GB / 7.492 GB, free: 55.21 MB / 1.026 GB Notification: Performance of FrontEnd: time 2.605e-06/30.98, allocations: 2.078 kB / 7.492 GB, free: 55.21 MB / 1.026 GB Notification: Performance of Transformations before backend: time 0.001892/30.98, allocations: 228.7 kB / 7.492 GB, free: 55.18 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: 1766 * Number of variables: 1766 Notification: Performance of Generate backend data structure: time 0.05149/31.04, allocations: 10.36 MB / 7.503 GB, free: 51.14 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/31.04, allocations: 11.28 kB / 7.503 GB, free: 51.14 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02809/31.06, allocations: 2.638 MB / 7.505 GB, free: 50.61 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04209/31.11, allocations: 10.07 MB / 7.515 GB, free: 49.37 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009261/31.11, allocations: 0.5208 MB / 7.516 GB, free: 49.36 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003823/31.11, allocations: 0.6973 MB / 7.516 GB, free: 49.35 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03736/31.15, allocations: 9.021 MB / 7.525 GB, free: 48.68 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005426/31.15, allocations: 13.44 kB / 7.525 GB, free: 48.67 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003412/31.15, allocations: 285 kB / 7.525 GB, free: 48.67 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004943/31.15, allocations: 307.7 kB / 7.526 GB, free: 48.66 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03406/31.19, allocations: 8.332 MB / 7.534 GB, free: 48.59 MB / 1.026 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.09749/31.28, allocations: 37.48 MB / 7.57 GB, free: 34.34 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01592/31.3, allocations: 5.81 MB / 7.576 GB, free: 33.59 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002361/31.3, allocations: 1.065 MB / 7.577 GB, free: 32.56 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01125/31.31, allocations: 3.225 MB / 7.58 GB, free: 32.42 MB / 1.026 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006565/31.32, allocations: 396.9 kB / 7.581 GB, free: 32.23 MB / 1.026 GB Notification: Performance of pre-optimization done (n=462): time 2.617e-05/31.32, allocations: 0 / 7.581 GB, free: 32.23 MB / 1.026 GB Notification: Performance of matching and sorting (n=473): time 0.0694/31.39, allocations: 16.13 MB / 7.596 GB, free: 29.84 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001568/31.39, allocations: 337.5 kB / 7.597 GB, free: 29.49 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01762/31.41, allocations: 5.893 MB / 7.602 GB, free: 29.1 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.00188/31.41, allocations: 127.3 kB / 7.603 GB, free: 29.07 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.006715/31.42, allocations: 3.739 MB / 7.606 GB, free: 27.88 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.003495/31.42, allocations: 1.623 MB / 7.608 GB, free: 26.83 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007018/31.42, allocations: 96.95 kB / 7.608 GB, free: 26.83 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0004566/31.42, allocations: 0.4885 MB / 7.608 GB, free: 26.52 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007945/31.43, allocations: 2.404 MB / 7.611 GB, free: 26.5 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009847/31.44, allocations: 3.647 MB / 7.614 GB, free: 25.24 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00963/31.45, allocations: 3.01 MB / 7.617 GB, free: 25.19 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.152e-05/31.45, allocations: 4.781 kB / 7.617 GB, free: 25.19 MB / 1.026 GB Notification: Performance of matching and sorting (n=608) (initialization): time 0.02603/31.48, allocations: 7.134 MB / 7.624 GB, free: 24.68 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.004428/31.48, allocations: 10.84 MB / 7.635 GB, free: 29.23 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001283/31.48, allocations: 25.11 kB / 7.635 GB, free: 29.23 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003624/31.48, allocations: 0.6045 MB / 7.635 GB, free: 29.18 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009694/31.49, allocations: 1.069 MB / 7.636 GB, free: 29.18 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01837/31.51, allocations: 9.741 MB / 7.646 GB, free: 23.39 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01459/31.53, allocations: 0.7408 MB / 7.647 GB, free: 23.34 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001624/31.53, allocations: 194.9 kB / 7.647 GB, free: 23.34 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/31.53, allocations: 4.25 kB / 7.647 GB, free: 23.34 MB / 1.042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0228/31.55, allocations: 6.567 MB / 7.653 GB, free: 23.11 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.981e-05/31.55, allocations: 28.98 kB / 7.653 GB, free: 23.11 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003252/31.55, allocations: 0.5965 MB / 7.654 GB, free: 23.07 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009477/31.56, allocations: 1.056 MB / 7.655 GB, free: 23.07 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01894/31.58, allocations: 10.67 MB / 7.665 GB, free: 16.46 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01362/31.6, allocations: 0.7302 MB / 7.666 GB, free: 16.42 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001538/31.6, allocations: 199.8 kB / 7.666 GB, free: 16.42 MB / 1.042 GB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (565): * Single equations (assignments): 557 * 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 {3 22,1 4,1 3,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.009503/31.61, allocations: 2.837 MB / 7.669 GB, free: 16.22 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002713/31.61, allocations: 0.7026 MB / 7.67 GB, free: 15.86 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02761/31.64, allocations: 7.071 MB / 7.677 GB, free: 15.45 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-05/31.64, allocations: 51.94 kB / 7.677 GB, free: 15.45 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.652e-05/31.64, allocations: 1.406 kB / 7.677 GB, free: 15.45 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02134/31.66, allocations: 5.797 MB / 7.682 GB, free: 30.95 MB / 1.057 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 postOpt removeSimpleEquations (simulation): time 0.05216/31.71, allocations: 15.91 MB / 7.698 GB, free: 29.74 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.618e-05/31.71, allocations: 6.922 kB / 7.698 GB, free: 29.73 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01023/31.72, allocations: 1.05 MB / 7.699 GB, free: 29.73 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002415/31.72, allocations: 398.1 kB / 7.699 GB, free: 29.69 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001181/31.73, allocations: 132.2 kB / 7.699 GB, free: 29.69 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01435/31.74, allocations: 10.84 MB / 7.71 GB, free: 20.81 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.636e-06/31.74, allocations: 2.75 kB / 7.71 GB, free: 20.81 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03294/31.77, allocations: 10.25 MB / 7.72 GB, free: 19.81 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007625/31.78, allocations: 1.625 MB / 7.722 GB, free: 19.35 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002939/31.78, allocations: 100.7 kB / 7.722 GB, free: 19.35 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0127/31.8, allocations: 0.6686 MB / 7.722 GB, free: 19.32 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001603/31.8, allocations: 305.6 kB / 7.723 GB, free: 19.31 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008051/31.8, allocations: 178.4 kB / 7.723 GB, free: 19.31 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.01359/31.81, allocations: 4.615 MB / 7.727 GB, free: 19.1 MB / 1.057 GB Notification: Performance of sort global known variables: time 1.052e-06/31.81, allocations: 0 / 7.727 GB, free: 19.1 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.03183/31.84, allocations: 4.516 MB / 7.732 GB, free: 18.99 MB / 1.057 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 24 (vol.dynBal.medium.Xi[1],vol.dynBal.U,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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (476): * 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: 6 * 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: 4 {(1,100.0%) 1,(1,100.0%) 2,(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.01814/31.86, allocations: 7.953 MB / 7.739 GB, free: 15.17 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.03339/31.9, allocations: 10.57 MB / 7.75 GB, free: 11.32 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-05/31.9, allocations: 5.125 kB / 7.75 GB, free: 11.31 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.01145/31.91, allocations: 3.719 MB / 7.753 GB, free: 9.684 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03417/31.94, allocations: 3.979 MB / 7.757 GB, free: 8.984 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06053/32, allocations: 21.03 MB / 7.778 GB, free: 14.75 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01409/32.02, allocations: 5.739 MB / 7.783 GB, free: 12.9 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.02309/32.04, allocations: 3.386 MB / 7.787 GB, free: 12.57 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004289/32.04, allocations: 0.5566 MB / 7.787 GB, free: 12.54 MB / 1.073 GB Notification: Performance of SimCode: time 9.91e-07/32.04, allocations: 0 / 7.787 GB, free: 12.54 MB / 1.073 GB Notification: Performance of Templates: time 1.491/33.54, allocations: 213.4 MB / 7.996 GB, free: 89.48 MB / 1.073 GB