Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.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.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001397/0.001397, allocations: 186.1 kB / 15.77 MB, free: 6 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.7018/0.7018, allocations: 82.92 MB / 99.42 MB, free: 3.203 MB / 74.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.206/2.206, allocations: 205.4 MB / 325.4 MB, free: 4.324 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001067/0.001067, allocations: 108.7 kB / 393.6 MB, free: 92 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004688/0.0004691, allocations: 11.98 kB / 471.5 MB, free: 66.74 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0914/0.09189, allocations: 67.44 MB / 0.5263 GB, free: 15.26 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.6277/0.7197, allocations: 176.6 MB / 0.6988 GB, free: 15.1 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.01352/0.7332, allocations: 6.899 MB / 0.7055 GB, free: 8.191 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001405/0.7347, allocations: 35.75 kB / 0.7056 GB, free: 8.156 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002629/0.7373, allocations: 0.7195 MB / 0.7063 GB, free: 7.434 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007686/0.745, allocations: 2.115 MB / 0.7083 GB, free: 5.312 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004548/0.7496, allocations: 1.124 MB / 0.7094 GB, free: 4.203 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.003693/0.7533, allocations: 1.622 MB / 0.711 GB, free: 2.578 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001767/0.7551, allocations: 0.8307 MB / 0.7118 GB, free: 1.734 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003783/0.7589, allocations: 1.305 MB / 0.7131 GB, free: 436 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00133/0.7603, allocations: 0.6186 MB / 0.7137 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0002014/0.7605, allocations: 44 kB / 0.7138 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003838/0.7644, allocations: 1.33 MB / 0.7151 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.000557/0.765, allocations: 315 kB / 0.7154 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.000503/0.7655, allocations: 269.1 kB / 0.7156 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.003001/0.7685, allocations: 1.605 MB / 0.7172 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.494e-06/0.7686, allocations: 0 / 0.7172 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.762e-06/0.7686, allocations: 0 / 0.7172 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.747e-05/0.7686, allocations: 4 kB / 0.7172 GB, free: 12.24 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.005403/0.774, allocations: 1.583 MB / 0.7187 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.7741, allocations: 8.031 kB / 0.7187 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003928/0.778, allocations: 0.5838 MB / 0.7193 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002472/0.7805, allocations: 0.9258 MB / 0.7202 GB, free: 9.039 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007563/0.7813, allocations: 201.9 kB / 0.7204 GB, free: 8.84 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002422/0.7816, allocations: 83.98 kB / 0.7205 GB, free: 8.758 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003909/0.7855, allocations: 1.264 MB / 0.7217 GB, free: 7.488 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.43e-05/0.7855, allocations: 0 / 0.7217 GB, free: 7.488 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001457/0.7857, allocations: 32 kB / 0.7218 GB, free: 7.457 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.039e-05/0.7858, allocations: 49.98 kB / 0.7218 GB, free: 7.41 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007817/0.7936, allocations: 1.608 MB / 0.7234 GB, free: 5.797 MB / 0.4948 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.01366/0.8073, allocations: 4.092 MB / 0.7274 GB, free: 1.426 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003713/0.8111, allocations: 1.068 MB / 0.7284 GB, free: 360 kB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009048/0.812, allocations: 286.9 kB / 0.7287 GB, free: 36 kB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.787e-05/0.8121, allocations: 47.27 kB / 0.7287 GB, free: 15.98 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=76): time 6.782e-06/0.8122, allocations: 0 / 0.7287 GB, free: 15.98 MB / 0.5105 GB Notification: Performance of matching and sorting (n=76): time 0.007094/0.8193, allocations: 1.906 MB / 0.7306 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.444e-05/0.8194, allocations: 64.05 kB / 0.7306 GB, free: 13.99 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001558/0.8209, allocations: 0.8192 MB / 0.7314 GB, free: 13.15 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002043/0.8212, allocations: 37.7 kB / 0.7315 GB, free: 13.11 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004952/0.8217, allocations: 448.5 kB / 0.7319 GB, free: 12.66 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003603/0.822, allocations: 260.2 kB / 0.7322 GB, free: 12.4 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.529e-05/0.8221, allocations: 19.94 kB / 0.7322 GB, free: 12.38 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001911/0.8223, allocations: 338 kB / 0.7325 GB, free: 12.05 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002025/0.8244, allocations: 0.5602 MB / 0.733 GB, free: 11.48 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002194/0.8266, allocations: 0.6958 MB / 0.7337 GB, free: 10.75 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002103/0.8287, allocations: 0.6178 MB / 0.7343 GB, free: 10.12 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.515e-06/0.8288, allocations: 0 / 0.7343 GB, free: 10.12 MB / 0.5105 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.004841/0.8336, allocations: 1.427 MB / 0.7357 GB, free: 8.684 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003724/0.834, allocations: 0.5569 MB / 0.7363 GB, free: 8.082 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/0.8341, allocations: 4 kB / 0.7363 GB, free: 8.078 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.8341, allocations: 4 kB / 0.7363 GB, free: 8.074 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002035/0.8361, allocations: 288.3 kB / 0.7366 GB, free: 7.793 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001041/0.8372, allocations: 1.188 MB / 0.7377 GB, free: 6.559 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001615/0.8388, allocations: 195.3 kB / 0.7379 GB, free: 6.367 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001514/0.839, allocations: 35.97 kB / 0.7379 GB, free: 6.332 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.839, allocations: 4 kB / 0.7379 GB, free: 6.328 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004477/0.8435, allocations: 1.329 MB / 0.7392 GB, free: 4.992 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.46e-06/0.8436, allocations: 0 / 0.7392 GB, free: 4.992 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.8436, allocations: 7.953 kB / 0.7392 GB, free: 4.984 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001579/0.8452, allocations: 247.7 kB / 0.7395 GB, free: 4.742 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.074e-05/0.8452, allocations: 11.98 kB / 0.7395 GB, free: 4.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001482/0.8467, allocations: 187.2 kB / 0.7397 GB, free: 4.547 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001509/0.8469, allocations: 39.97 kB / 0.7397 GB, free: 4.508 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 (hex.i1_w,hex.i2_w) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008064/0.8477, allocations: 372.9 kB / 0.7401 GB, free: 4.133 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002885/0.848, allocations: 106.8 kB / 0.7402 GB, free: 4.027 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004735/0.8528, allocations: 1.43 MB / 0.7416 GB, free: 2.59 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.07e-05/0.8528, allocations: 15.92 kB / 0.7416 GB, free: 2.574 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.377e-06/0.8528, allocations: 0 / 0.7416 GB, free: 2.574 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.35e-05/0.8529, allocations: 3.984 kB / 0.7416 GB, free: 2.57 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008113/0.861, allocations: 2.981 MB / 0.7445 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.325e-05/0.861, allocations: 7.953 kB / 0.7445 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001645/0.8627, allocations: 259.9 kB / 0.7447 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.262e-05/0.8628, allocations: 8 kB / 0.7448 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001029/0.8629, allocations: 27.98 kB / 0.7448 GB, free: 15.19 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009597/0.8638, allocations: 1.192 MB / 0.7459 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.16e-05/0.8639, allocations: 7.938 kB / 0.746 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004849/0.8687, allocations: 1.749 MB / 0.7477 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008417/0.8696, allocations: 311.5 kB / 0.748 GB, free: 11.69 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002079/0.8698, allocations: 20 kB / 0.748 GB, free: 11.67 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001592/0.8714, allocations: 159.8 kB / 0.7481 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000181/0.8716, allocations: 60.38 kB / 0.7482 GB, free: 11.46 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001254/0.8718, allocations: 39.97 kB / 0.7482 GB, free: 11.42 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001077/0.8729, allocations: 0.5583 MB / 0.7488 GB, free: 10.85 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.64e-07/0.8729, allocations: 0 / 0.7488 GB, free: 10.85 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001841/0.8748, allocations: 0.538 MB / 0.7493 GB, free: 10.31 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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 simulation (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000721/0.8755, allocations: 275.4 kB / 0.7496 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00737/0.8829, allocations: 2.147 MB / 0.7517 GB, free: 7.875 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.297e-06/0.8829, allocations: 0 / 0.7517 GB, free: 7.875 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002528/0.8855, allocations: 0.7029 MB / 0.7523 GB, free: 7.172 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003152/0.8887, allocations: 0.5143 MB / 0.7528 GB, free: 6.652 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006114/0.8948, allocations: 2.498 MB / 0.7553 GB, free: 4.078 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001027/0.8959, allocations: 1.11 MB / 0.7564 GB, free: 2.934 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002508/0.8984, allocations: 395.5 kB / 0.7567 GB, free: 2.543 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004655/0.8989, allocations: 87.41 kB / 0.7568 GB, free: 2.457 MB / 0.5261 GB Notification: Performance of SimCode: time 1.58e-06/0.8989, allocations: 0 / 0.7568 GB, free: 2.457 MB / 0.5261 GB Notification: Performance of Templates: time 0.04991/0.9488, allocations: 19.41 MB / 0.7758 GB, free: 15.22 MB / 0.5573 GB