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.225/2.225, allocations: 252.6 MB / 265.2 MB, free: 5.789 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.001407/0.001407, allocations: 173.8 kB / 324.5 MB, free: 14.31 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 1.932/1.932, allocations: 205.4 MB / 0.5754 GB, free: 10.42 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.001097/0.001097, allocations: 86.7 kB / 0.6797 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.072e-05/3.096e-05, allocations: 4 kB / 0.7911 GB, free: 96.56 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2048/0.2049, allocations: 106.2 MB / 0.8949 GB, free: 6.219 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.136/8.341, allocations: 2.504 GB / 3.398 GB, free: 145.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003464/8.341, allocations: 92.44 kB / 3.398 GB, free: 145.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 12.17/20.51, allocations: 2.25 GB / 5.648 GB, free: 103.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.514e-06/20.51, allocations: 1.812 kB / 5.648 GB, free: 103.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.001519/20.51, allocations: 149.7 kB / 5.649 GB, free: 103.1 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.02861/20.54, allocations: 5.666 MB / 5.654 GB, free: 101.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.6e-05/20.54, allocations: 11.97 kB / 5.654 GB, free: 101.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0137/20.56, allocations: 1.333 MB / 5.655 GB, free: 101 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02854/20.58, allocations: 7.063 MB / 5.662 GB, free: 100.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006212/20.59, allocations: 330.1 kB / 5.663 GB, free: 100.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002289/20.59, allocations: 445.5 kB / 5.663 GB, free: 100.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02124/20.61, allocations: 5.795 MB / 5.669 GB, free: 99.63 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002728/20.61, allocations: 13.12 kB / 5.669 GB, free: 99.63 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001572/20.61, allocations: 171.5 kB / 5.669 GB, free: 99.63 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002846/20.61, allocations: 204 kB / 5.669 GB, free: 99.62 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0164/20.63, allocations: 4.969 MB / 5.674 GB, free: 99.57 MB / 0.948 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.05969/20.69, allocations: 25.51 MB / 5.699 GB, free: 89.31 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009026/20.7, allocations: 4.129 MB / 5.703 GB, free: 88.68 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005369/20.7, allocations: 2.153 MB / 5.705 GB, free: 88.65 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001545/20.7, allocations: 0.9092 MB / 5.706 GB, free: 87.71 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005432/20.71, allocations: 1.862 MB / 5.708 GB, free: 87.57 MB / 0.948 GB Notification: Performance of pre-optimization done (n=284): time 7.484e-06/20.71, allocations: 0 / 5.708 GB, free: 87.57 MB / 0.948 GB Notification: Performance of matching and sorting (n=288): time 0.03074/20.74, allocations: 8.375 MB / 5.716 GB, free: 85.94 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000118/20.74, allocations: 240.2 kB / 5.716 GB, free: 85.69 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01035/20.75, allocations: 4.203 MB / 5.72 GB, free: 85.38 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009595/20.75, allocations: 90.48 kB / 5.72 GB, free: 85.34 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003388/20.75, allocations: 2.461 MB / 5.723 GB, free: 84.56 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001764/20.76, allocations: 0.9967 MB / 5.724 GB, free: 83.92 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003099/20.76, allocations: 61.47 kB / 5.724 GB, free: 83.92 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002126/20.76, allocations: 425.9 kB / 5.724 GB, free: 83.61 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003546/20.76, allocations: 1.482 MB / 5.726 GB, free: 83.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004391/20.76, allocations: 2.353 MB / 5.728 GB, free: 82.75 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004563/20.77, allocations: 1.963 MB / 5.73 GB, free: 82.66 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-05/20.77, allocations: 3.781 kB / 5.73 GB, free: 82.66 MB / 0.948 GB Notification: Performance of matching and sorting (n=377) (initialization): time 0.01242/20.78, allocations: 4.44 MB / 5.734 GB, free: 82.25 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001154/20.78, allocations: 5.714 MB / 5.74 GB, free: 76.32 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.088e-05/20.78, allocations: 17.3 kB / 5.74 GB, free: 76.32 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001019/20.78, allocations: 212.2 kB / 5.74 GB, free: 76.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005958/20.79, allocations: 0.6696 MB / 5.741 GB, free: 76.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00385/20.79, allocations: 3.404 MB / 5.744 GB, free: 73.86 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009932/20.8, allocations: 0.5547 MB / 5.745 GB, free: 73.82 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009351/20.81, allocations: 125.1 kB / 5.745 GB, free: 73.82 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/20.81, allocations: 3.844 kB / 5.745 GB, free: 73.82 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01051/20.82, allocations: 4.005 MB / 5.749 GB, free: 73.68 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.904e-05/20.82, allocations: 18.84 kB / 5.749 GB, free: 73.68 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008701/20.82, allocations: 202.2 kB / 5.749 GB, free: 73.66 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005696/20.82, allocations: 0.6531 MB / 5.749 GB, free: 73.66 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005583/20.83, allocations: 4.053 MB / 5.753 GB, free: 70.92 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009937/20.84, allocations: 0.5401 MB / 5.754 GB, free: 70.89 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001003/20.84, allocations: 119.7 kB / 5.754 GB, free: 70.89 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 () * 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.001303/20.84, allocations: 324.4 kB / 5.754 GB, free: 70.75 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00189/20.84, allocations: 474.9 kB / 5.755 GB, free: 70.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01167/20.85, allocations: 4.171 MB / 5.759 GB, free: 70.26 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.715e-05/20.85, allocations: 27 kB / 5.759 GB, free: 70.26 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.064e-05/20.85, allocations: 4.609 kB / 5.759 GB, free: 70.26 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008155/20.86, allocations: 3.45 MB / 5.762 GB, free: 69.96 MB / 0.948 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.02788/20.89, allocations: 10.44 MB / 5.772 GB, free: 69.08 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-05/20.89, allocations: 5 kB / 5.772 GB, free: 69.08 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005893/20.9, allocations: 0.6662 MB / 5.773 GB, free: 69.08 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007339/20.9, allocations: 158.6 kB / 5.773 GB, free: 69.07 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004372/20.9, allocations: 84.48 kB / 5.773 GB, free: 69.07 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003308/20.9, allocations: 3.329 MB / 5.777 GB, free: 66.62 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/20.9, allocations: 3.375 kB / 5.777 GB, free: 66.62 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01481/20.92, allocations: 6.866 MB / 5.783 GB, free: 65.27 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005176/20.92, allocations: 1.131 MB / 5.784 GB, free: 64.94 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002155/20.92, allocations: 73.81 kB / 5.784 GB, free: 64.94 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00875/20.93, allocations: 482 kB / 5.785 GB, free: 64.91 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009349/20.93, allocations: 177.7 kB / 5.785 GB, free: 64.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004648/20.93, allocations: 115.5 kB / 5.785 GB, free: 64.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.008978/20.94, allocations: 3.303 MB / 5.788 GB, free: 64.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 7.62e-07/20.94, allocations: 0 / 5.788 GB, free: 64.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.02034/20.96, allocations: 2.987 MB / 5.791 GB, free: 64.62 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) * 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.006939/20.97, allocations: 3.13 MB / 5.794 GB, free: 63.45 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01639/20.99, allocations: 6.42 MB / 5.801 GB, free: 62.79 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-05/20.99, allocations: 4.094 kB / 5.801 GB, free: 62.79 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.005001/20.99, allocations: 1.985 MB / 5.803 GB, free: 62.59 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02497/21.02, allocations: 2.949 MB / 5.805 GB, free: 62.55 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02956/21.05, allocations: 10.45 MB / 5.816 GB, free: 60.48 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01372/21.06, allocations: 4.252 MB / 5.82 GB, free: 59.64 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.02235/21.08, allocations: 3.98 MB / 5.824 GB, free: 59.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00178/21.08, allocations: 279.4 kB / 5.824 GB, free: 59.59 MB / 0.948 GB Notification: Performance of SimCode: time 1.072e-06/21.08, allocations: 2.156 kB / 5.824 GB, free: 59.59 MB / 0.948 GB Notification: Performance of Templates: time 0.3324/21.42, allocations: 146.8 MB / 5.967 GB, free: 5.02 MB / 0.9636 GB