Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.HeatExchangers.Validation.HeaterCooler_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.Validation.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.HeatExchangers.Validation.HeaterCooler_u") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002549/0.002555, allocations: 353.9 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.393/1.393, allocations: 165.8 MB / 183.1 MB, free: 5.461 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.631/3.631, allocations: 410.8 MB / 0.6001 GB, free: 15.15 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.001735/0.001735, allocations: 187 kB / 0.6668 GB, free: 6.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000472/0.0004723, allocations: 8 kB / 0.7429 GB, free: 8.957 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3945/0.395, allocations: 67.45 MB / 0.8087 GB, free: 28.79 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.873/6.268, allocations: 2.047 GB / 2.856 GB, free: 48.09 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003112/6.268, allocations: 104.4 kB / 2.856 GB, free: 48.04 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.422/11.69, allocations: 1.025 GB / 3.881 GB, free: 65.64 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.895e-06/11.69, allocations: 0 / 3.881 GB, free: 65.64 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0002882/11.69, allocations: 48.92 kB / 3.881 GB, free: 65.64 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 0.008283/11.7, allocations: 2.381 MB / 3.883 GB, free: 64.5 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/11.7, allocations: 10.31 kB / 3.884 GB, free: 64.5 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006404/11.71, allocations: 0.629 MB / 3.884 GB, free: 64.39 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005043/11.71, allocations: 1.442 MB / 3.886 GB, free: 63.99 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006519/11.71, allocations: 158.4 kB / 3.886 GB, free: 63.98 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003789/11.71, allocations: 120.1 kB / 3.886 GB, free: 63.98 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004356/11.72, allocations: 1.47 MB / 3.887 GB, free: 63.78 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.055e-05/11.72, allocations: 0 / 3.887 GB, free: 63.78 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000195/11.72, allocations: 53.41 kB / 3.887 GB, free: 63.77 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.976e-05/11.72, allocations: 43.81 kB / 3.887 GB, free: 63.77 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004435/11.72, allocations: 1.255 MB / 3.889 GB, free: 63.75 MB / 0.5886 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.01285/11.73, allocations: 5.871 MB / 3.894 GB, free: 61.38 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003417/11.74, allocations: 1.173 MB / 3.895 GB, free: 61.16 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001851/11.74, allocations: 0.5763 MB / 3.896 GB, free: 61.15 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007821/11.74, allocations: 316 kB / 3.896 GB, free: 60.87 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001967/11.74, allocations: 0.6302 MB / 3.897 GB, free: 60.78 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=87): time 3.787e-06/11.74, allocations: 0 / 3.897 GB, free: 60.78 MB / 0.5886 GB Notification: Performance of matching and sorting (n=95): time 0.02027/11.76, allocations: 4.364 MB / 3.901 GB, free: 59.84 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.837e-05/11.76, allocations: 192.6 kB / 3.901 GB, free: 59.62 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002766/11.77, allocations: 1.329 MB / 3.903 GB, free: 59.46 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0003347/11.77, allocations: 46.02 kB / 3.903 GB, free: 59.43 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.000797/11.77, allocations: 0.7235 MB / 3.903 GB, free: 59.2 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004772/11.77, allocations: 326.9 kB / 3.904 GB, free: 59 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.988e-05/11.77, allocations: 16.28 kB / 3.904 GB, free: 59 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.517e-05/11.77, allocations: 344.4 kB / 3.904 GB, free: 58.69 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001757/11.77, allocations: 490.3 kB / 3.905 GB, free: 58.68 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001965/11.77, allocations: 0.7135 MB / 3.905 GB, free: 58.46 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02067/11.79, allocations: 2.568 MB / 3.908 GB, free: 58.27 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.102e-06/11.79, allocations: 3.25 kB / 3.908 GB, free: 58.27 MB / 0.5886 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.008084/11.8, allocations: 1.838 MB / 3.91 GB, free: 58.07 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001623/11.8, allocations: 218.4 kB / 3.91 GB, free: 57.84 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/11.8, allocations: 5.438 kB / 3.91 GB, free: 57.84 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002284/11.8, allocations: 474.3 kB / 3.91 GB, free: 57.8 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001445/11.8, allocations: 171.6 kB / 3.91 GB, free: 57.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01167/11.82, allocations: 7.074 MB / 3.917 GB, free: 53.34 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002868/11.82, allocations: 151.3 kB / 3.917 GB, free: 53.33 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002606/11.82, allocations: 42.22 kB / 3.917 GB, free: 53.33 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/11.82, allocations: 5.312 kB / 3.917 GB, free: 53.33 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007221/11.83, allocations: 1.678 MB / 3.919 GB, free: 53.23 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.983e-05/11.83, allocations: 0 / 3.919 GB, free: 53.23 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002014/11.83, allocations: 446.9 kB / 3.92 GB, free: 53.2 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001463/11.83, allocations: 174.3 kB / 3.92 GB, free: 53.2 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01301/11.84, allocations: 8.074 MB / 3.928 GB, free: 47.85 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002868/11.85, allocations: 150.7 kB / 3.928 GB, free: 47.85 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000202/11.85, allocations: 39 kB / 3.928 GB, free: 47.85 MB / 0.5886 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.heaDyn.vol.dynBal.medium.p = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,con2.I.trigger_internal,con1.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 11,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.001404/11.85, allocations: 0.5097 MB / 3.928 GB, free: 47.62 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005287/11.85, allocations: 168.8 kB / 3.928 GB, free: 47.54 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007206/11.86, allocations: 1.673 MB / 3.93 GB, free: 47.41 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.68e-05/11.86, allocations: 11.34 kB / 3.93 GB, free: 47.41 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.096e-06/11.86, allocations: 3.953 kB / 3.93 GB, free: 47.41 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006392/11.86, allocations: 1.532 MB / 3.932 GB, free: 47.17 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0117/11.87, allocations: 3.547 MB / 3.935 GB, free: 46.58 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.374e-05/11.87, allocations: 3.875 kB / 3.935 GB, free: 46.58 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001794/11.88, allocations: 194 kB / 3.935 GB, free: 46.58 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001081/11.88, allocations: 237.2 kB / 3.935 GB, free: 46.56 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002145/11.88, allocations: 36.31 kB / 3.935 GB, free: 46.56 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005432/11.88, allocations: 2.671 MB / 3.938 GB, free: 44.79 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.221e-06/11.88, allocations: 5.125 kB / 3.938 GB, free: 44.79 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009025/11.89, allocations: 2.463 MB / 3.94 GB, free: 44.31 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001342/11.89, allocations: 361.8 kB / 3.941 GB, free: 44.06 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004224/11.89, allocations: 41.73 kB / 3.941 GB, free: 44.04 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002422/11.9, allocations: 138.8 kB / 3.941 GB, free: 44.02 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001968/11.9, allocations: 71.09 kB / 3.941 GB, free: 44.01 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001356/11.9, allocations: 39.55 kB / 3.941 GB, free: 44 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.001997/11.9, allocations: 0.9089 MB / 3.942 GB, free: 43.65 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.61e-07/11.9, allocations: 0 / 3.942 GB, free: 43.65 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.005271/11.9, allocations: 0.985 MB / 3.943 GB, free: 43.46 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (senTem1.T,con1.I.y,heaDyn.vol.dynBal.medium.Xi[1],heaDyn.vol.dynBal.medium.T,senTem2.T,con2.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 (82): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * 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: 0 * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.004337/11.91, allocations: 2.328 MB / 3.945 GB, free: 42.38 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.008089/11.92, allocations: 2.954 MB / 3.948 GB, free: 40.75 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.041e-05/11.92, allocations: 3.156 kB / 3.948 GB, free: 40.75 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.002321/11.92, allocations: 0.8081 MB / 3.949 GB, free: 40.38 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007754/11.93, allocations: 0.8663 MB / 3.95 GB, free: 40.16 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01085/11.94, allocations: 3.952 MB / 3.954 GB, free: 37.97 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001106/11.94, allocations: 1.392 MB / 3.955 GB, free: 37.2 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.002506/11.94, allocations: 333.5 kB / 3.955 GB, free: 37.14 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000551/11.94, allocations: 106.4 kB / 3.955 GB, free: 37.13 MB / 0.5886 GB Notification: Performance of SimCode: time 1.202e-06/11.94, allocations: 3.938 kB / 3.955 GB, free: 37.13 MB / 0.5886 GB Notification: Performance of Templates: time 0.1387/12.08, allocations: 61.01 MB / 4.015 GB, free: 2.27 MB / 0.6042 GB