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.165/2.165, allocations: 251.1 MB / 266.1 MB, free: 11.61 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.001614/0.001614, allocations: 175.8 kB / 325.6 MB, free: 2.828 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.419/2.419, allocations: 205.4 MB / 0.5766 GB, free: 20.81 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.001077/0.001077, allocations: 92.62 kB / 0.6811 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004555/0.0004554, allocations: 11.44 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2142/0.2147, allocations: 106.3 MB / 0.8989 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.409/8.624, allocations: 2.546 GB / 3.445 GB, free: 221.9 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003284/8.624, allocations: 103.3 kB / 3.445 GB, free: 221.9 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 22.61/31.23, allocations: 4.046 GB / 7.491 GB, free: 70.81 MB / 1.042 GB Notification: Performance of FrontEnd: time 3.667e-06/31.23, allocations: 7.5 kB / 7.491 GB, free: 70.81 MB / 1.042 GB Notification: Performance of Transformations before backend: time 0.002409/31.24, allocations: 222.3 kB / 7.491 GB, free: 70.78 MB / 1.042 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.05173/31.29, allocations: 10.31 MB / 7.501 GB, free: 66.76 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/31.29, allocations: 9.688 kB / 7.501 GB, free: 66.76 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02789/31.32, allocations: 2.635 MB / 7.504 GB, free: 66.23 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04223/31.36, allocations: 10.07 MB / 7.514 GB, free: 64.99 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000952/31.36, allocations: 0.5189 MB / 7.514 GB, free: 64.98 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003925/31.36, allocations: 0.6969 MB / 7.515 GB, free: 64.97 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03804/31.4, allocations: 8.984 MB / 7.524 GB, free: 64.29 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000561/31.4, allocations: 8.938 kB / 7.524 GB, free: 64.29 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003967/31.41, allocations: 287 kB / 7.524 GB, free: 64.29 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005141/31.41, allocations: 307.1 kB / 7.524 GB, free: 64.28 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03176/31.44, allocations: 8.305 MB / 7.532 GB, free: 64.21 MB / 1.042 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.09784/31.54, allocations: 37.33 MB / 7.569 GB, free: 49.96 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01536/31.55, allocations: 5.515 MB / 7.574 GB, free: 49.29 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002385/31.55, allocations: 1.054 MB / 7.575 GB, free: 48.26 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01084/31.57, allocations: 3.172 MB / 7.578 GB, free: 48.1 MB / 1.042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006249/31.57, allocations: 387.8 kB / 7.579 GB, free: 47.91 MB / 1.042 GB Notification: Performance of pre-optimization done (n=455): time 2.617e-05/31.57, allocations: 0 / 7.579 GB, free: 47.91 MB / 1.042 GB Notification: Performance of matching and sorting (n=459): time 0.07788/31.65, allocations: 17.81 MB / 7.596 GB, free: 43.61 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001813/31.65, allocations: 411.3 kB / 7.596 GB, free: 43.17 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01913/31.67, allocations: 5.966 MB / 7.602 GB, free: 42.77 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.001777/31.67, allocations: 126.4 kB / 7.602 GB, free: 42.74 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.006709/31.68, allocations: 3.721 MB / 7.606 GB, free: 41.57 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.003255/31.68, allocations: 1.582 MB / 7.608 GB, free: 40.55 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007553/31.68, allocations: 94.16 kB / 7.608 GB, free: 40.55 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0004817/31.68, allocations: 495.8 kB / 7.608 GB, free: 40.24 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008169/31.69, allocations: 2.325 MB / 7.61 GB, free: 40.23 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009928/31.7, allocations: 3.578 MB / 7.614 GB, free: 38.95 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009833/31.71, allocations: 2.93 MB / 7.617 GB, free: 38.9 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-05/31.71, allocations: 7.25 kB / 7.617 GB, free: 38.9 MB / 1.042 GB Notification: Performance of matching and sorting (n=597) (initialization): time 0.02733/31.74, allocations: 6.887 MB / 7.623 GB, free: 38.39 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 0.003685/31.74, allocations: 10.87 MB / 7.634 GB, free: 26.95 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001334/31.74, allocations: 24.47 kB / 7.634 GB, free: 26.95 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002437/31.74, allocations: 355.1 kB / 7.634 GB, free: 26.91 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01016/31.75, allocations: 1.093 MB / 7.635 GB, free: 26.91 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01089/31.76, allocations: 6.638 MB / 7.642 GB, free: 21.93 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01445/31.78, allocations: 0.7177 MB / 7.643 GB, free: 21.88 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001745/31.78, allocations: 201.6 kB / 7.643 GB, free: 21.88 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/31.78, allocations: 2.5 kB / 7.643 GB, free: 21.88 MB / 1.042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02438/31.81, allocations: 6.303 MB / 7.649 GB, free: 21.66 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001218/31.81, allocations: 27.22 kB / 7.649 GB, free: 21.66 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002215/31.81, allocations: 351 kB / 7.649 GB, free: 21.63 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009844/31.82, allocations: 1.074 MB / 7.65 GB, free: 21.63 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01157/31.83, allocations: 6.988 MB / 7.657 GB, free: 16.41 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01347/31.84, allocations: 0.6946 MB / 7.658 GB, free: 16.36 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001644/31.84, allocations: 194.2 kB / 7.658 GB, free: 16.36 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: 6 ($whenCondition2,$whenCondition1,$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 (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.01013/31.85, allocations: 2.831 MB / 7.661 GB, free: 16.16 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003092/31.86, allocations: 0.6922 MB / 7.662 GB, free: 15.8 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02758/31.89, allocations: 6.788 MB / 7.668 GB, free: 15.41 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.94e-05/31.89, allocations: 47 kB / 7.668 GB, free: 15.41 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.068e-05/31.89, allocations: 3.594 kB / 7.668 GB, free: 15.41 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02087/31.91, allocations: 5.537 MB / 7.674 GB, free: 14.93 MB / 1.042 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.05637/31.96, allocations: 15.47 MB / 7.689 GB, free: 13.77 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.797e-05/31.96, allocations: 1.438 kB / 7.689 GB, free: 13.77 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01034/31.97, allocations: 1.016 MB / 7.69 GB, free: 13.77 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002344/31.98, allocations: 349.9 kB / 7.69 GB, free: 13.73 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001567/31.98, allocations: 129.1 kB / 7.69 GB, free: 13.73 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0137/31.99, allocations: 9.344 MB / 7.699 GB, free: 22.12 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/31.99, allocations: 3.969 kB / 7.699 GB, free: 22.12 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03405/32.03, allocations: 10.34 MB / 7.709 GB, free: 20.61 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008096/32.03, allocations: 1.617 MB / 7.711 GB, free: 20.15 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00369/32.04, allocations: 101.8 kB / 7.711 GB, free: 20.15 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01323/32.05, allocations: 0.6257 MB / 7.712 GB, free: 20.11 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00177/32.05, allocations: 295.9 kB / 7.712 GB, free: 20.11 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001179/32.05, allocations: 178.5 kB / 7.712 GB, free: 20.11 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.01425/32.07, allocations: 4.776 MB / 7.717 GB, free: 19.89 MB / 1.057 GB Notification: Performance of sort global known variables: time 5.81e-07/32.07, allocations: 2.625 kB / 7.717 GB, free: 19.89 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.02919/32.1, allocations: 4.393 MB / 7.721 GB, free: 19.79 MB / 1.057 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) * Number of clocked states: 0 () * 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.01852/32.12, allocations: 7.926 MB / 7.729 GB, free: 15.98 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.03097/32.15, allocations: 9.852 MB / 7.738 GB, free: 15.03 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-05/32.15, allocations: 4.969 kB / 7.738 GB, free: 15.03 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.01032/32.16, allocations: 3.45 MB / 7.742 GB, free: 14.41 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03514/32.19, allocations: 4.138 MB / 7.746 GB, free: 13.68 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05807/32.25, allocations: 20.8 MB / 7.766 GB, free: 3.621 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01428/32.27, allocations: 5.7 MB / 7.772 GB, free: 1.777 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.02302/32.29, allocations: 3.404 MB / 7.775 GB, free: 1.453 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00427/32.29, allocations: 0.5601 MB / 7.776 GB, free: 1.422 MB / 1.057 GB Notification: Performance of SimCode: time 1.903e-06/32.29, allocations: 0 / 7.776 GB, free: 1.422 MB / 1.057 GB Notification: Performance of Templates: time 1.501/33.79, allocations: 211.2 MB / 7.982 GB, free: 93.19 MB / 1.073 GB