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.002348/0.002351, allocations: 355.9 kB / 15.94 MB, free: 6.211 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.349/1.349, allocations: 165.9 MB / 182.5 MB, free: 5.914 MB / 90.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.05/4.05, allocations: 410.8 MB / 0.5995 GB, free: 2.059 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001818/0.001817, allocations: 176.7 kB / 0.6662 GB, free: 13.95 MB / 490.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004658/0.0004661, allocations: 12 kB / 0.7423 GB, free: 15.94 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3857/0.3862, allocations: 67.44 MB / 0.8081 GB, free: 245.2 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.6596/1.046, allocations: 277.5 MB / 1.079 GB, free: 69.27 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.06705/1.113, allocations: 46.07 MB / 1.124 GB, free: 68.93 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01038/1.123, allocations: 252.7 kB / 1.124 GB, free: 68.93 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.01021/1.134, allocations: 2.735 MB / 1.127 GB, free: 68.92 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.03345/1.167, allocations: 9.407 MB / 1.136 GB, free: 68.39 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.02119/1.188, allocations: 5.928 MB / 1.142 GB, free: 67.57 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.02753/1.216, allocations: 21.03 MB / 1.163 GB, free: 60.42 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01033/1.226, allocations: 4.29 MB / 1.167 GB, free: 58.72 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01546/1.242, allocations: 5.728 MB / 1.172 GB, free: 55.98 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009177/1.251, allocations: 4.608 MB / 1.177 GB, free: 52.2 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.001861/1.253, allocations: 232 kB / 1.177 GB, free: 51.97 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01143/1.264, allocations: 2.464 MB / 1.179 GB, free: 50.11 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.002392/1.267, allocations: 1.058 MB / 1.18 GB, free: 49.36 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.003537/1.27, allocations: 1.371 MB / 1.182 GB, free: 48.42 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.01221/1.283, allocations: 7.402 MB / 1.189 GB, free: 42.27 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 6.932e-06/1.283, allocations: 0 / 1.189 GB, free: 42.27 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.277e-06/1.283, allocations: 0 / 1.189 GB, free: 42.27 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0002018/1.283, allocations: 0 / 1.189 GB, free: 42.27 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: 1035 * Number of variables: 1035 Notification: Performance of Generate backend data structure: time 0.01208/1.295, allocations: 6.237 MB / 1.195 GB, free: 36.49 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/1.295, allocations: 12.69 kB / 1.195 GB, free: 36.48 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00274/1.298, allocations: 0.7835 MB / 1.196 GB, free: 35.69 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01206/1.31, allocations: 4.957 MB / 1.201 GB, free: 31.18 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002785/1.31, allocations: 320.1 kB / 1.201 GB, free: 30.86 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008259/1.311, allocations: 438.6 kB / 1.201 GB, free: 30.44 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009672/1.321, allocations: 4.356 MB / 1.206 GB, free: 25.81 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001207/1.321, allocations: 7.938 kB / 1.206 GB, free: 25.8 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004781/1.321, allocations: 172 kB / 1.206 GB, free: 25.63 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001264/1.321, allocations: 124.5 kB / 1.206 GB, free: 25.51 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007822/1.329, allocations: 2.941 MB / 1.209 GB, free: 22.57 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.03153/1.361, allocations: 25.04 MB / 1.233 GB, free: 11.75 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006249/1.367, allocations: 2.76 MB / 1.236 GB, free: 8.805 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003954/1.371, allocations: 0.9876 MB / 1.237 GB, free: 7.82 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006194/1.377, allocations: 3.918 MB / 1.241 GB, free: 3.051 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001344/1.378, allocations: 70.16 kB / 1.241 GB, free: 2.973 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=217): time 1.078e-05/1.378, allocations: 0 / 1.241 GB, free: 2.973 MB / 0.6042 GB Notification: Performance of matching and sorting (n=217): time 0.02709/1.405, allocations: 4.061 MB / 1.245 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001401/1.405, allocations: 75.7 kB / 1.245 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01035/1.415, allocations: 4.164 MB / 1.249 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0005783/1.416, allocations: 81.7 kB / 1.249 GB, free: 10.56 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.003577/1.42, allocations: 2.768 MB / 1.252 GB, free: 7.777 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.001229/1.421, allocations: 0.7566 MB / 1.252 GB, free: 7.027 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002373/1.421, allocations: 56 kB / 1.253 GB, free: 6.973 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0003032/1.421, allocations: 415.9 kB / 1.253 GB, free: 6.562 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002071/1.424, allocations: 0.7865 MB / 1.254 GB, free: 5.773 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003202/1.427, allocations: 1.81 MB / 1.255 GB, free: 3.527 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002794/1.43, allocations: 1.071 MB / 1.257 GB, free: 2.441 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.246e-05/1.43, allocations: 8 kB / 1.257 GB, free: 2.434 MB / 0.6198 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.01081/1.44, allocations: 3.495 MB / 1.26 GB, free: 14.92 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006837/1.441, allocations: 0.7351 MB / 1.261 GB, free: 13.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.956e-05/1.441, allocations: 28 kB / 1.261 GB, free: 13.85 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00335/1.445, allocations: 0.5622 MB / 1.261 GB, free: 13.3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002898/1.448, allocations: 0.5538 MB / 1.262 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003307/1.451, allocations: 2.691 MB / 1.264 GB, free: 9.961 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006293/1.457, allocations: 0.6211 MB / 1.265 GB, free: 9.34 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006157/1.458, allocations: 143.2 kB / 1.265 GB, free: 9.203 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/1.458, allocations: 4 kB / 1.265 GB, free: 9.199 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007646/1.466, allocations: 2.794 MB / 1.268 GB, free: 6.352 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-05/1.466, allocations: 27.19 kB / 1.268 GB, free: 6.328 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001912/1.468, allocations: 367.7 kB / 1.268 GB, free: 5.957 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004774/1.472, allocations: 0.5616 MB / 1.269 GB, free: 5.395 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01932/1.492, allocations: 7.704 MB / 1.276 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01035/1.502, allocations: 0.5689 MB / 1.277 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008391/1.503, allocations: 132 kB / 1.277 GB, free: 12.44 MB / 0.6511 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 (323): * Single equations (assignments): 319 * 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.00537/1.508, allocations: 1.006 MB / 1.278 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002427/1.511, allocations: 0.4978 MB / 1.278 GB, free: 10.92 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01739/1.528, allocations: 3.564 MB / 1.282 GB, free: 7.375 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001284/1.528, allocations: 39.97 kB / 1.282 GB, free: 7.336 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.396e-05/1.528, allocations: 7.938 kB / 1.282 GB, free: 7.328 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008203/1.537, allocations: 2.432 MB / 1.284 GB, free: 4.895 MB / 0.6511 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.0196/1.556, allocations: 8.184 MB / 1.292 GB, free: 12.54 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.121e-05/1.556, allocations: 4 kB / 1.292 GB, free: 12.53 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002001/1.558, allocations: 369.3 kB / 1.293 GB, free: 12.17 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001113/1.56, allocations: 300.2 kB / 1.293 GB, free: 11.89 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002469/1.56, allocations: 63.95 kB / 1.293 GB, free: 11.83 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002561/1.562, allocations: 2.496 MB / 1.296 GB, free: 9.234 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.359e-06/1.562, allocations: 0 / 1.296 GB, free: 9.234 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0103/1.573, allocations: 4.333 MB / 1.3 GB, free: 4.848 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003245/1.576, allocations: 0.9801 MB / 1.301 GB, free: 3.844 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009753/1.577, allocations: 44 kB / 1.301 GB, free: 3.801 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00496/1.582, allocations: 433.3 kB / 1.301 GB, free: 3.379 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003704/1.582, allocations: 145.8 kB / 1.301 GB, free: 3.234 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003387/1.583, allocations: 115.9 kB / 1.301 GB, free: 3.121 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.006541/1.589, allocations: 2.729 MB / 1.304 GB, free: 428 kB / 0.6667 GB Notification: Performance of sort global known variables: time 9.83e-07/1.589, allocations: 0 / 1.304 GB, free: 428 kB / 0.6667 GB Notification: Performance of remove unused functions: time 0.3915/1.981, allocations: 3.253 MB / 1.307 GB, free: 289.5 MB / 0.6667 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 (219): * Single equations (assignments): 181 * 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.002914/1.984, allocations: 1.423 MB / 1.309 GB, free: 289.4 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.008891/1.993, allocations: 4.405 MB / 1.313 GB, free: 288.6 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 8.459e-06/1.993, allocations: 0 / 1.313 GB, free: 288.6 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.002548/1.995, allocations: 1.231 MB / 1.314 GB, free: 288.1 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01509/2.01, allocations: 2.676 MB / 1.317 GB, free: 287.7 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01799/2.028, allocations: 11.01 MB / 1.328 GB, free: 281.8 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003528/2.032, allocations: 2.975 MB / 1.33 GB, free: 281 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.007072/2.039, allocations: 1.159 MB / 1.332 GB, free: 280.9 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001542/2.041, allocations: 415.2 kB / 1.332 GB, free: 280.9 MB / 0.6667 GB Notification: Performance of SimCode: time 1.717e-06/2.041, allocations: 0 / 1.332 GB, free: 280.9 MB / 0.6667 GB Notification: Performance of Templates: time 0.2079/2.249, allocations: 101 MB / 1.431 GB, free: 194.6 MB / 0.6667 GB