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.004584/0.004588, 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.624/1.624, allocations: 165.8 MB / 182.5 MB, free: 5.398 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.735/3.735, allocations: 410.7 MB / 0.5995 GB, free: 15.19 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.001705/0.001704, allocations: 191.1 kB / 0.6662 GB, free: 6.949 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004654/0.0004656, allocations: 12 kB / 0.7423 GB, free: 8.977 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3304/0.3309, allocations: 67.43 MB / 0.8081 GB, free: 28.81 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.6089/0.9399, allocations: 191.7 MB / 0.9954 GB, free: 15.2 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.01287/0.9528, allocations: 7.243 MB / 1.002 GB, free: 13.95 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001716/0.9546, allocations: 42.41 kB / 1.002 GB, free: 13.93 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002729/0.9573, allocations: 0.6312 MB / 1.003 GB, free: 13.57 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008313/0.9657, allocations: 2.27 MB / 1.005 GB, free: 12.53 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004403/0.9701, allocations: 1.121 MB / 1.006 GB, free: 12.22 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.00482/0.975, allocations: 3.191 MB / 1.01 GB, free: 11.15 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001679/0.9767, allocations: 0.7813 MB / 1.01 GB, free: 10.82 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003733/0.9804, allocations: 1.307 MB / 1.012 GB, free: 10.32 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001797/0.9823, allocations: 0.8681 MB / 1.012 GB, free: 10 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000222/0.9825, allocations: 43.94 kB / 1.012 GB, free: 10 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003596/0.9861, allocations: 1.215 MB / 1.014 GB, free: 9.629 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000628/0.9868, allocations: 345.1 kB / 1.014 GB, free: 9.469 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005105/0.9873, allocations: 271.1 kB / 1.014 GB, free: 9.398 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003031/0.9904, allocations: 1.612 MB / 1.016 GB, free: 8.625 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.765e-06/0.9904, allocations: 0 / 1.016 GB, free: 8.625 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.476e-06/0.9904, allocations: 0 / 1.016 GB, free: 8.625 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.252e-05/0.9905, allocations: 0 / 1.016 GB, free: 8.625 MB / 490.7 MB 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.005182/0.9957, allocations: 1.585 MB / 1.017 GB, free: 7.551 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.9957, allocations: 10.5 kB / 1.017 GB, free: 7.551 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003991/0.9997, allocations: 0.5865 MB / 1.018 GB, free: 7.32 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002498/1.002, allocations: 0.9262 MB / 1.019 GB, free: 6.824 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007649/1.003, allocations: 195.8 kB / 1.019 GB, free: 6.777 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002688/1.003, allocations: 85.42 kB / 1.019 GB, free: 6.777 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003569/1.007, allocations: 1.273 MB / 1.02 GB, free: 6.434 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.62e-05/1.007, allocations: 0 / 1.02 GB, free: 6.434 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001379/1.007, allocations: 33.39 kB / 1.02 GB, free: 6.434 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.871e-05/1.007, allocations: 47.58 kB / 1.02 GB, free: 6.43 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005177/1.012, allocations: 1.608 MB / 1.022 GB, free: 5.664 MB / 490.7 MB 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.009221/1.022, allocations: 4.098 MB / 1.026 GB, free: 2.223 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00344/1.025, allocations: 1.046 MB / 1.027 GB, free: 1.438 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002175/1.027, allocations: 0.6984 MB / 1.028 GB, free: 0.9219 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001685/1.029, allocations: 0.6391 MB / 1.028 GB, free: 184 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.521e-05/1.029, allocations: 41.72 kB / 1.028 GB, free: 140 kB / 490.7 MB Notification: Performance of pre-optimization done (n=76): time 3.984e-06/1.029, allocations: 0 / 1.028 GB, free: 140 kB / 490.7 MB Notification: Performance of matching and sorting (n=76): time 0.006942/1.036, allocations: 1.912 MB / 1.03 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.971e-05/1.036, allocations: 64.02 kB / 1.03 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001556/1.038, allocations: 0.8145 MB / 1.031 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002318/1.038, allocations: 40.95 kB / 1.031 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004414/1.039, allocations: 442 kB / 1.032 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003437/1.039, allocations: 260.3 kB / 1.032 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.144e-05/1.039, allocations: 13.88 kB / 1.032 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001921/1.039, allocations: 337.2 kB / 1.032 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00199/1.041, allocations: 0.5644 MB / 1.033 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002209/1.043, allocations: 0.6886 MB / 1.033 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002227/1.046, allocations: 0.6206 MB / 1.034 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.339e-06/1.046, allocations: 1.859 kB / 1.034 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.004797/1.051, allocations: 1.43 MB / 1.035 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001638/1.051, allocations: 155.3 kB / 1.036 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.936e-06/1.051, allocations: 3.938 kB / 1.036 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.745e-05/1.051, allocations: 7.953 kB / 1.036 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002086/1.053, allocations: 284.7 kB / 1.036 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001062/1.054, allocations: 1.19 MB / 1.037 GB, free: 8.852 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001663/1.056, allocations: 186.7 kB / 1.037 GB, free: 8.68 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001546/1.056, allocations: 46.05 kB / 1.037 GB, free: 8.641 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/1.056, allocations: 4 kB / 1.037 GB, free: 8.637 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004314/1.06, allocations: 1.315 MB / 1.038 GB, free: 7.645 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.684e-06/1.06, allocations: 0 / 1.038 GB, free: 7.645 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/1.06, allocations: 4 kB / 1.038 GB, free: 7.641 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001648/1.062, allocations: 254.7 kB / 1.039 GB, free: 7.398 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.593e-05/1.062, allocations: 7.984 kB / 1.039 GB, free: 7.391 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00158/1.064, allocations: 196.3 kB / 1.039 GB, free: 7.211 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001389/1.064, allocations: 34.42 kB / 1.039 GB, free: 7.184 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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.0007968/1.065, allocations: 372.8 kB / 1.039 GB, free: 6.898 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003215/1.065, allocations: 106.7 kB / 1.039 GB, free: 6.793 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004747/1.07, allocations: 1.431 MB / 1.041 GB, free: 5.738 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.417e-05/1.07, allocations: 4 kB / 1.041 GB, free: 5.734 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.296e-05/1.07, allocations: 4 kB / 1.041 GB, free: 5.73 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.409e-05/1.07, allocations: 7.922 kB / 1.041 GB, free: 5.723 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008213/1.078, allocations: 2.913 MB / 1.044 GB, free: 3.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.106e-05/1.078, allocations: 4 kB / 1.044 GB, free: 3.477 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001689/1.08, allocations: 255.2 kB / 1.044 GB, free: 3.234 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.805e-05/1.08, allocations: 8 kB / 1.044 GB, free: 3.227 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.682e-05/1.08, allocations: 21.3 kB / 1.044 GB, free: 3.215 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009444/1.081, allocations: 1.198 MB / 1.045 GB, free: 1.988 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.629e-06/1.081, allocations: 4 kB / 1.045 GB, free: 1.984 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00465/1.086, allocations: 1.533 MB / 1.047 GB, free: 0.6953 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000863/1.086, allocations: 312.8 kB / 1.047 GB, free: 444 kB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001965/1.087, allocations: 18.11 kB / 1.047 GB, free: 436 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001616/1.088, allocations: 165.6 kB / 1.047 GB, free: 280 kB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001921/1.089, allocations: 65.73 kB / 1.047 GB, free: 224 kB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001182/1.089, allocations: 32.92 kB / 1.047 GB, free: 196 kB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001073/1.09, allocations: 0.5595 MB / 1.048 GB, free: 15.76 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.58e-07/1.09, allocations: 4 kB / 1.048 GB, free: 15.76 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001979/1.092, allocations: 0.5291 MB / 1.048 GB, free: 15.27 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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.000762/1.093, allocations: 287.6 kB / 1.049 GB, free: 15.01 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.007384/1.1, allocations: 2.143 MB / 1.051 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.105e-06/1.1, allocations: 0 / 1.051 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002468/1.102, allocations: 0.7057 MB / 1.051 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003493/1.106, allocations: 0.5147 MB / 1.052 GB, free: 12.36 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006415/1.112, allocations: 2.471 MB / 1.054 GB, free: 10.05 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001062/1.114, allocations: 1.114 MB / 1.055 GB, free: 8.926 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002582/1.116, allocations: 395.5 kB / 1.056 GB, free: 8.535 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004707/1.117, allocations: 90.72 kB / 1.056 GB, free: 8.449 MB / 0.5105 GB Notification: Performance of SimCode: time 4.323e-06/1.117, allocations: 0 / 1.056 GB, free: 8.449 MB / 0.5105 GB Notification: Performance of Templates: time 0.04863/1.165, allocations: 19.41 MB / 1.075 GB, free: 5.297 MB / 0.5261 GB