Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.HeatExchangers.Examples.AirHeater_u.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 IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Fluid.HeatExchangers.Examples.AirHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.HeatExchangers.Examples.AirHeater_u") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002575/0.002581, allocations: 358.5 kB / 16.58 MB, free: 5.566 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.41/1.41, allocations: 165.8 MB / 183.1 MB, free: 5.457 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.656/3.656, allocations: 410.7 MB / 0.6001 GB, free: 15.16 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001771/0.00177, allocations: 194 kB / 0.6668 GB, free: 6.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004657/0.000466, allocations: 12 kB / 0.7429 GB, free: 8.957 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4016/0.4021, allocations: 67.44 MB / 0.8087 GB, free: 28.78 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.885/6.288, allocations: 2.083 GB / 2.891 GB, free: 8.176 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003287/6.288, allocations: 106.6 kB / 2.892 GB, free: 8.117 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 10.4/16.69, allocations: 1.956 GB / 4.848 GB, free: 47.25 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.565e-06/16.69, allocations: 0 / 4.848 GB, free: 47.25 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0003491/16.69, allocations: 61.28 kB / 4.848 GB, free: 47.23 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 378 * Number of variables: 378 Notification: Performance of Generate backend data structure: time 0.01198/16.7, allocations: 3.136 MB / 4.851 GB, free: 45.82 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/16.7, allocations: 9.969 kB / 4.851 GB, free: 45.82 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008618/16.71, allocations: 0.7945 MB / 4.852 GB, free: 45.69 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009695/16.72, allocations: 2.326 MB / 4.854 GB, free: 45.2 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001722/16.72, allocations: 122.7 kB / 4.854 GB, free: 45.19 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005745/16.72, allocations: 161.5 kB / 4.854 GB, free: 45.19 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005901/16.73, allocations: 1.804 MB / 4.856 GB, free: 44.95 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.041e-05/16.73, allocations: 2.516 kB / 4.856 GB, free: 44.95 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000261/16.73, allocations: 64 kB / 4.856 GB, free: 44.95 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.139e-05/16.73, allocations: 63.84 kB / 4.856 GB, free: 44.95 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005267/16.73, allocations: 1.446 MB / 4.858 GB, free: 44.93 MB / 0.6198 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.01655/16.75, allocations: 8.052 MB / 4.866 GB, free: 41.04 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003601/16.75, allocations: 1.742 MB / 4.867 GB, free: 40.26 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00189/16.76, allocations: 0.6188 MB / 4.868 GB, free: 40.25 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006553/16.76, allocations: 212.2 kB / 4.868 GB, free: 40.07 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002032/16.76, allocations: 0.6329 MB / 4.869 GB, free: 40 MB / 0.6198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001453/16.76, allocations: 123.4 kB / 4.869 GB, free: 39.96 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=102): time 5.841e-06/16.76, allocations: 0 / 4.869 GB, free: 39.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=105): time 0.01318/16.77, allocations: 3.464 MB / 4.872 GB, free: 39.14 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.155e-05/16.77, allocations: 166.5 kB / 4.872 GB, free: 38.96 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003366/16.78, allocations: 1.542 MB / 4.874 GB, free: 38.73 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0003793/16.78, allocations: 49.48 kB / 4.874 GB, free: 38.7 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.001134/16.78, allocations: 0.9781 MB / 4.875 GB, free: 38.37 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.000622/16.78, allocations: 366.7 kB / 4.875 GB, free: 38.14 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/16.78, allocations: 24.38 kB / 4.875 GB, free: 38.14 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001115/16.78, allocations: 357.7 kB / 4.876 GB, free: 37.83 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001707/16.78, allocations: 494.6 kB / 4.876 GB, free: 37.83 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002078/16.78, allocations: 0.8644 MB / 4.877 GB, free: 37.41 MB / 0.6198 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (hea.vol.dynBal.p_start = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01664/16.8, allocations: 2.343 MB / 4.879 GB, free: 37.22 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.618e-06/16.8, allocations: 3.906 kB / 4.879 GB, free: 37.22 MB / 0.6198 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.005161/16.81, allocations: 1.575 MB / 4.881 GB, free: 37.03 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002101/16.81, allocations: 344.5 kB / 4.881 GB, free: 36.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.421e-05/16.81, allocations: 14.09 kB / 4.881 GB, free: 36.65 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000237/16.81, allocations: 52.42 kB / 4.881 GB, free: 36.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002357/16.81, allocations: 277.9 kB / 4.881 GB, free: 36.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001398/16.81, allocations: 1.497 MB / 4.883 GB, free: 35.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003421/16.81, allocations: 157 kB / 4.883 GB, free: 35.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000322/16.81, allocations: 62.89 kB / 4.883 GB, free: 35.3 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/16.81, allocations: 4.938 kB / 4.883 GB, free: 35.3 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00446/16.82, allocations: 1.39 MB / 4.884 GB, free: 35.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.4e-05/16.82, allocations: 7.844 kB / 4.884 GB, free: 35.24 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001878/16.82, allocations: 55.81 kB / 4.884 GB, free: 35.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00219/16.82, allocations: 278.9 kB / 4.885 GB, free: 35.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001238/16.82, allocations: 1.496 MB / 4.886 GB, free: 33.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003257/16.83, allocations: 153.8 kB / 4.886 GB, free: 33.9 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002063/16.83, allocations: 56.48 kB / 4.886 GB, free: 33.9 MB / 0.6198 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 143 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001743/16.83, allocations: 0.5992 MB / 4.887 GB, free: 33.7 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005806/16.83, allocations: 192.3 kB / 4.887 GB, free: 33.6 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004758/16.83, allocations: 1.361 MB / 4.889 GB, free: 33.5 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.635e-05/16.83, allocations: 12.56 kB / 4.889 GB, free: 33.5 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/16.83, allocations: 0 / 4.889 GB, free: 33.5 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003593/16.84, allocations: 1.097 MB / 4.89 GB, free: 33.39 MB / 0.6198 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.01003/16.85, allocations: 3.47 MB / 4.893 GB, free: 32.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.149e-05/16.85, allocations: 7 kB / 4.893 GB, free: 32.71 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002204/16.85, allocations: 228.1 kB / 4.893 GB, free: 32.71 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003958/16.85, allocations: 76.23 kB / 4.893 GB, free: 32.7 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001857/16.85, allocations: 32.75 kB / 4.893 GB, free: 32.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002236/16.85, allocations: 2.744 MB / 4.896 GB, free: 30.19 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/16.85, allocations: 0 / 4.896 GB, free: 30.19 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006043/16.86, allocations: 2.071 MB / 4.898 GB, free: 29.85 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001312/16.86, allocations: 378.2 kB / 4.898 GB, free: 29.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004067/16.86, allocations: 33.22 kB / 4.898 GB, free: 29.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00282/16.86, allocations: 148.5 kB / 4.899 GB, free: 29.64 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002729/16.86, allocations: 79.94 kB / 4.899 GB, free: 29.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001371/16.86, allocations: 38.84 kB / 4.899 GB, free: 29.64 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.002247/16.87, allocations: 1.029 MB / 4.9 GB, free: 29.5 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.21e-07/16.87, allocations: 0 / 4.9 GB, free: 29.5 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.006033/16.87, allocations: 1.285 MB / 4.901 GB, free: 29.45 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 9 (vol.dynBal.U,vol.dynBal.mXi[1],mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.T,hea.vol.dynBal.U,hea.vol.dynBal.m,hea.vol.dynBal.mXi[1]) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006235/16.88, allocations: 3.469 MB / 4.904 GB, free: 28.05 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.006576/16.88, allocations: 2.337 MB / 4.907 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 8.436e-06/16.88, allocations: 2.438 kB / 4.907 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.002013/16.89, allocations: 0.8116 MB / 4.907 GB, free: 27.31 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007798/16.89, allocations: 0.9806 MB / 4.908 GB, free: 27.29 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01181/16.91, allocations: 4.838 MB / 4.913 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002064/16.91, allocations: 1.633 MB / 4.915 GB, free: 40.08 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.003716/16.91, allocations: 0.5097 MB / 4.915 GB, free: 40 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006682/16.91, allocations: 145 kB / 4.915 GB, free: 39.98 MB / 0.6355 GB Notification: Performance of SimCode: time 1.143e-06/16.91, allocations: 0 / 4.915 GB, free: 39.98 MB / 0.6355 GB Notification: Performance of Templates: time 0.6643/17.58, allocations: 68.54 MB / 4.982 GB, free: 69.52 MB / 0.6355 GB