Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.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.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl") 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.001593/0.001593, allocations: 176.6 kB / 325.6 MB, free: 2.82 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.262/2.262, allocations: 205.4 MB / 0.5766 GB, free: 20.79 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.001145/0.001145, allocations: 93.8 kB / 0.6811 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004867/0.0004865, allocations: 15.75 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2122/0.2127, allocations: 106.3 MB / 0.8989 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.295/7.508, allocations: 2.504 GB / 3.402 GB, free: 14.78 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003304/7.508, allocations: 104.8 kB / 3.403 GB, free: 14.73 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 11.96/19.46, allocations: 2.254 GB / 5.657 GB, free: 87.34 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.324e-06/19.46, allocations: 3 kB / 5.657 GB, free: 87.34 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.001285/19.46, allocations: 150.5 kB / 5.657 GB, free: 87.32 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1084 * Number of variables: 1084 Notification: Performance of Generate backend data structure: time 0.03239/19.5, allocations: 6.906 MB / 5.663 GB, free: 84.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/19.5, allocations: 9.281 kB / 5.663 GB, free: 84.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01311/19.51, allocations: 1.334 MB / 5.665 GB, free: 84.46 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02583/19.54, allocations: 7.107 MB / 5.672 GB, free: 83.57 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005334/19.54, allocations: 331.2 kB / 5.672 GB, free: 83.56 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002229/19.54, allocations: 452.5 kB / 5.672 GB, free: 83.55 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02175/19.56, allocations: 5.895 MB / 5.678 GB, free: 83.07 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002764/19.56, allocations: 11.09 kB / 5.678 GB, free: 83.07 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001801/19.56, allocations: 174.5 kB / 5.678 GB, free: 83.07 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002948/19.56, allocations: 199.8 kB / 5.679 GB, free: 83.06 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01786/19.58, allocations: 5.14 MB / 5.684 GB, free: 83.01 MB / 0.948 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.05866/19.64, allocations: 25.5 MB / 5.708 GB, free: 72.75 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009688/19.65, allocations: 4.234 MB / 5.713 GB, free: 72.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001551/19.65, allocations: 0.913 MB / 5.713 GB, free: 71.16 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005816/19.66, allocations: 1.912 MB / 5.715 GB, free: 71.03 MB / 0.948 GB Notification: Performance of pre-optimization done (n=284): time 7.313e-06/19.66, allocations: 2.656 kB / 5.715 GB, free: 71.03 MB / 0.948 GB Notification: Performance of matching and sorting (n=288): time 0.03758/19.69, allocations: 10.19 MB / 5.725 GB, free: 69.17 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/19.69, allocations: 235.5 kB / 5.726 GB, free: 68.92 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01189/19.71, allocations: 4.257 MB / 5.73 GB, free: 68.63 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009827/19.71, allocations: 90.3 kB / 5.73 GB, free: 68.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.004044/19.71, allocations: 2.464 MB / 5.732 GB, free: 67.81 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001882/19.71, allocations: 0.9962 MB / 5.733 GB, free: 67.17 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000432/19.71, allocations: 58.72 kB / 5.733 GB, free: 67.17 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0003186/19.71, allocations: 428 kB / 5.734 GB, free: 66.86 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004418/19.72, allocations: 1.534 MB / 5.735 GB, free: 66.86 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005655/19.72, allocations: 2.417 MB / 5.737 GB, free: 66.01 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00546/19.73, allocations: 2.017 MB / 5.739 GB, free: 65.93 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-05/19.73, allocations: 6.562 kB / 5.739 GB, free: 65.93 MB / 0.948 GB Notification: Performance of matching and sorting (n=377) (initialization): time 0.01453/19.74, allocations: 4.55 MB / 5.744 GB, free: 65.52 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001274/19.75, allocations: 5.715 MB / 5.749 GB, free: 59.58 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.365e-05/19.75, allocations: 15 kB / 5.749 GB, free: 59.58 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001066/19.75, allocations: 204.5 kB / 5.75 GB, free: 59.57 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005892/19.75, allocations: 0.6685 MB / 5.75 GB, free: 59.56 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004075/19.76, allocations: 3.455 MB / 5.754 GB, free: 57.11 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009821/19.77, allocations: 0.5483 MB / 5.754 GB, free: 57.08 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009573/19.77, allocations: 124.2 kB / 5.754 GB, free: 57.08 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/19.77, allocations: 3.875 kB / 5.754 GB, free: 57.08 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01268/19.78, allocations: 4.13 MB / 5.758 GB, free: 56.93 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.348e-05/19.78, allocations: 11.03 kB / 5.758 GB, free: 56.93 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009778/19.78, allocations: 205.1 kB / 5.759 GB, free: 56.92 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006011/19.79, allocations: 0.6654 MB / 5.759 GB, free: 56.92 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006076/19.79, allocations: 4.103 MB / 5.763 GB, free: 54.17 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009623/19.8, allocations: 0.5397 MB / 5.764 GB, free: 54.14 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009489/19.81, allocations: 124.4 kB / 5.764 GB, free: 54.14 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,con.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (354): * Single equations (assignments): 348 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * 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: 1 {1 9} Notification: Performance of prepare postOptimizeDAE: time 0.00624/19.81, allocations: 2.197 MB / 5.766 GB, free: 53.91 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001794/19.81, allocations: 471.4 kB / 5.766 GB, free: 53.67 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01288/19.83, allocations: 4.27 MB / 5.771 GB, free: 53.41 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-05/19.83, allocations: 32.88 kB / 5.771 GB, free: 53.41 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/19.83, allocations: 2.812 kB / 5.771 GB, free: 53.41 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009856/19.84, allocations: 3.555 MB / 5.774 GB, free: 53.11 MB / 0.948 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.03209/19.87, allocations: 10.54 MB / 5.784 GB, free: 49.09 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.925e-05/19.87, allocations: 6.906 kB / 5.784 GB, free: 49.09 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006054/19.87, allocations: 0.6579 MB / 5.785 GB, free: 49.07 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008114/19.88, allocations: 171.1 kB / 5.785 GB, free: 49.02 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006689/19.88, allocations: 86.8 kB / 5.785 GB, free: 48.98 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003574/19.88, allocations: 3.349 MB / 5.789 GB, free: 46.09 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.865e-06/19.88, allocations: 11.27 kB / 5.789 GB, free: 46.09 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01718/19.9, allocations: 7.019 MB / 5.795 GB, free: 42.67 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004986/19.9, allocations: 1.126 MB / 5.797 GB, free: 42.03 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001884/19.9, allocations: 73.45 kB / 5.797 GB, free: 41.98 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008274/19.91, allocations: 479.1 kB / 5.797 GB, free: 41.92 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008973/19.91, allocations: 178.2 kB / 5.797 GB, free: 41.89 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004778/19.91, allocations: 115.7 kB / 5.797 GB, free: 41.87 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.009331/19.92, allocations: 3.35 MB / 5.801 GB, free: 40.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.162e-06/19.92, allocations: 0 / 5.801 GB, free: 40.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01938/19.94, allocations: 2.992 MB / 5.804 GB, free: 40.33 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 21 (temSen.T,val.filter.x[1],val.filter.x[2],hex.ele[1].vol1.dynBal.U,hex.ele[1].vol2.dynBal.U,hex.ele[1].vol2.dynBal.mXi[1],hex.ele[1].mas.T,hex.ele[2].vol1.dynBal.U,hex.ele[2].vol2.dynBal.U,hex.ele[2].vol2.dynBal.mXi[1],hex.ele[2].mas.T,hex.ele[3].vol1.dynBal.U,hex.ele[3].vol2.dynBal.U,hex.ele[3].vol2.dynBal.mXi[1],hex.ele[3].mas.T,hex.ele[4].vol1.dynBal.U,hex.ele[4].vol2.dynBal.U,hex.ele[4].vol2.dynBal.m,hex.ele[4].vol2.dynBal.mXi[1],hex.ele[4].mas.T,con.I.y) * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 6 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (278): * Single equations (assignments): 270 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * 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: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.007059/19.95, allocations: 3.149 MB / 5.807 GB, free: 39.05 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01665/19.97, allocations: 6.433 MB / 5.813 GB, free: 36.62 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.802e-05/19.97, allocations: 4.5 kB / 5.813 GB, free: 36.61 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.005582/19.97, allocations: 2.044 MB / 5.815 GB, free: 35.83 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02461/20, allocations: 2.944 MB / 5.818 GB, free: 35.36 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03367/20.03, allocations: 14.19 MB / 5.832 GB, free: 24.53 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008682/20.04, allocations: 4.243 MB / 5.836 GB, free: 21.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.01614/20.06, allocations: 2.418 MB / 5.838 GB, free: 19.73 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002456/20.06, allocations: 355.6 kB / 5.839 GB, free: 19.4 MB / 0.948 GB Notification: Performance of SimCode: time 1.313e-06/20.06, allocations: 0 / 5.839 GB, free: 19.4 MB / 0.948 GB Notification: Performance of Templates: time 1.087/21.14, allocations: 132 MB / 5.967 GB, free: 107.1 MB / 0.9636 GB