Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Interfaces.Examples.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.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002561/0.002567, 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.463/1.463, allocations: 165.8 MB / 183.1 MB, free: 5.402 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.715/3.715, allocations: 410.8 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.002347/0.002347, allocations: 196.4 kB / 0.6668 GB, free: 6.922 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004628/0.000463, allocations: 16 kB / 0.7429 GB, free: 8.957 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3966/0.3971, allocations: 67.43 MB / 0.8087 GB, free: 28.78 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.326/1.723, allocations: 370.5 MB / 1.171 GB, free: 159 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000318/1.724, allocations: 104.6 kB / 1.171 GB, free: 159 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 14.22/15.94, allocations: 2.702 GB / 3.872 GB, free: 29.77 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.024e-06/15.94, allocations: 0 / 3.872 GB, free: 29.77 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.001047/15.94, allocations: 167 kB / 3.872 GB, free: 29.74 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1035 * Number of variables: 1035 Notification: Performance of Generate backend data structure: time 0.02732/15.97, allocations: 7.144 MB / 3.879 GB, free: 26.25 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.543e-05/15.97, allocations: 8.625 kB / 3.879 GB, free: 26.25 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004789/15.97, allocations: 0.7832 MB / 3.88 GB, free: 25.88 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1755/16.15, allocations: 56.3 MB / 3.935 GB, free: 22.77 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004034/16.15, allocations: 317.6 kB / 3.935 GB, free: 22.76 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001426/16.15, allocations: 428.9 kB / 3.936 GB, free: 22.76 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01329/16.17, allocations: 4.31 MB / 3.94 GB, free: 21.92 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001779/16.17, allocations: 17.81 kB / 3.94 GB, free: 21.91 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007213/16.17, allocations: 177.8 kB / 3.94 GB, free: 21.91 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001494/16.17, allocations: 115.2 kB / 3.94 GB, free: 21.91 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009745/16.18, allocations: 2.904 MB / 3.943 GB, free: 21.81 MB / 0.7136 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.03943/16.22, allocations: 23.99 MB / 3.967 GB, free: 7.254 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004684/16.22, allocations: 2.951 MB / 3.969 GB, free: 6.066 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002555/16.22, allocations: 1.085 MB / 3.971 GB, free: 6.047 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00413/16.23, allocations: 3.941 MB / 3.974 GB, free: 17.64 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001135/16.23, allocations: 64.91 kB / 3.974 GB, free: 17.59 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=225): time 5.571e-06/16.23, allocations: 0 / 3.974 GB, free: 17.59 MB / 0.7292 GB Notification: Performance of matching and sorting (n=225): time 0.02014/16.25, allocations: 4.375 MB / 3.979 GB, free: 16.74 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.145e-05/16.25, allocations: 77.5 kB / 3.979 GB, free: 16.68 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009781/16.26, allocations: 4.13 MB / 3.983 GB, free: 16.33 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.000753/16.26, allocations: 76.17 kB / 3.983 GB, free: 16.3 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.003277/16.26, allocations: 2.784 MB / 3.986 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.00137/16.26, allocations: 0.78 MB / 3.986 GB, free: 14.92 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002454/16.26, allocations: 55.38 kB / 3.986 GB, free: 14.92 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002467/16.26, allocations: 404.9 kB / 3.987 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002222/16.27, allocations: 0.8063 MB / 3.988 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003126/16.27, allocations: 1.825 MB / 3.989 GB, free: 13.4 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00316/16.27, allocations: 1.095 MB / 3.99 GB, free: 13.31 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.328e-05/16.27, allocations: 7.281 kB / 3.99 GB, free: 13.31 MB / 0.7292 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.0126/16.28, allocations: 3.491 MB / 3.994 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004431/16.29, allocations: 0.7359 MB / 3.995 GB, free: 11.83 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-05/16.29, allocations: 21.56 kB / 3.995 GB, free: 11.83 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004059/16.29, allocations: 0.5625 MB / 3.995 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003689/16.29, allocations: 0.5279 MB / 3.996 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002977/16.3, allocations: 2.688 MB / 3.998 GB, free: 9.617 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008324/16.3, allocations: 0.5589 MB / 3.999 GB, free: 9.449 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007086/16.31, allocations: 128.2 kB / 3.999 GB, free: 9.449 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/16.31, allocations: 3.969 kB / 3.999 GB, free: 9.449 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008062/16.31, allocations: 2.814 MB / 4.002 GB, free: 9.172 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.959e-05/16.31, allocations: 21.47 kB / 4.002 GB, free: 9.172 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00162/16.32, allocations: 383.9 kB / 4.002 GB, free: 9.121 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003552/16.32, allocations: 0.521 MB / 4.003 GB, free: 9.086 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01225/16.33, allocations: 7.729 MB / 4.01 GB, free: 3.344 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007849/16.34, allocations: 0.5191 MB / 4.011 GB, free: 3.207 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006488/16.34, allocations: 125.6 kB / 4.011 GB, free: 3.207 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (299): * Single equations (assignments): 295 * Array equations: 0 * Algorithm blocks: 0 * 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 12,1 9,1 12,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.003874/16.34, allocations: 0.9984 MB / 4.012 GB, free: 2.965 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001945/16.35, allocations: 0.5025 MB / 4.012 GB, free: 2.703 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01114/16.36, allocations: 3.776 MB / 4.016 GB, free: 2.254 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.177e-05/16.36, allocations: 40.88 kB / 4.016 GB, free: 2.25 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/16.36, allocations: 0 / 4.016 GB, free: 2.25 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006463/16.36, allocations: 2.601 MB / 4.019 GB, free: 1.5 MB / 0.7292 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.02256/16.39, allocations: 8.535 MB / 4.027 GB, free: 13.32 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-05/16.39, allocations: 10.83 kB / 4.027 GB, free: 13.32 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002784/16.39, allocations: 377.8 kB / 4.027 GB, free: 13.29 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001241/16.39, allocations: 303.9 kB / 4.028 GB, free: 13.18 MB / 0.7449 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002419/16.39, allocations: 69.56 kB / 4.028 GB, free: 13.14 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00228/16.39, allocations: 2.494 MB / 4.03 GB, free: 10.86 MB / 0.7449 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/16.39, allocations: 3.75 kB / 4.03 GB, free: 10.86 MB / 0.7449 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01178/16.4, allocations: 4.655 MB / 4.035 GB, free: 8.699 MB / 0.7449 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003992/16.41, allocations: 0.9734 MB / 4.036 GB, free: 8.082 MB / 0.7449 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001416/16.41, allocations: 42.31 kB / 4.036 GB, free: 8.051 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006646/16.42, allocations: 445.9 kB / 4.036 GB, free: 7.945 MB / 0.7449 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003709/16.42, allocations: 156.5 kB / 4.036 GB, free: 7.922 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004209/16.42, allocations: 111.5 kB / 4.036 GB, free: 7.902 MB / 0.7449 GB Notification: Performance of sorting global known variables: time 0.006714/16.42, allocations: 2.721 MB / 4.039 GB, free: 6.941 MB / 0.7449 GB Notification: Performance of sort global known variables: time 9.51e-07/16.42, allocations: 0 / 4.039 GB, free: 6.941 MB / 0.7449 GB Notification: Performance of remove unused functions: time 0.0179/16.44, allocations: 3.44 MB / 4.042 GB, free: 5.703 MB / 0.7449 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 10 (hea1.vol.dynBal.U,hea2.vol.dynBal.U,hea3.vol.dynBal.U,hea4.vol.dynBal.U,mix1.dynBal.U,hea5.vol.dynBal.U,hea6.vol.dynBal.U,hea7.vol.dynBal.U,hea8.vol.dynBal.U,mix2.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (227): * Single equations (assignments): 189 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 34 * 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 9,1 7,1 9,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.007698/16.45, allocations: 3.238 MB / 4.045 GB, free: 2.711 MB / 0.7449 GB Notification: Performance of simCode: created initialization part: time 0.01425/16.46, allocations: 4.552 MB / 4.05 GB, free: 14.95 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.072e-05/16.46, allocations: 4 kB / 4.05 GB, free: 14.94 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.003761/16.47, allocations: 1.332 MB / 4.051 GB, free: 13.75 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0258/16.49, allocations: 2.745 MB / 4.054 GB, free: 11.75 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02714/16.52, allocations: 11.18 MB / 4.065 GB, free: 1.281 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.7306/17.25, allocations: 2.992 MB / 4.068 GB, free: 67.47 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.009874/17.26, allocations: 1.184 MB / 4.069 GB, free: 67.43 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00239/17.26, allocations: 421.9 kB / 4.069 GB, free: 67.43 MB / 0.7605 GB Notification: Performance of SimCode: time 1.193e-06/17.26, allocations: 0 / 4.069 GB, free: 67.43 MB / 0.7605 GB Notification: Performance of Templates: time 0.2896/17.55, allocations: 116.2 MB / 4.183 GB, free: 59.38 MB / 0.7605 GB