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.003854/0.00386, allocations: 357.5 kB / 16.59 MB, free: 5.562 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.51/1.51, allocations: 165.8 MB / 183.1 MB, free: 5.473 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 4.074/4.074, allocations: 410.8 MB / 0.6001 GB, free: 15.25 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.002584/0.002583, allocations: 187.9 kB / 0.6668 GB, free: 6.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007402/0.0007406, allocations: 16 kB / 0.7429 GB, free: 9.004 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4578/0.4586, allocations: 67.43 MB / 0.8087 GB, free: 28.82 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.7586/1.217, allocations: 191.7 MB / 0.996 GB, free: 15.22 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.01489/1.232, allocations: 7.248 MB / 1.003 GB, free: 13.97 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001754/1.234, allocations: 34.62 kB / 1.003 GB, free: 13.96 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003224/1.237, allocations: 0.6386 MB / 1.004 GB, free: 13.59 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009663/1.247, allocations: 2.274 MB / 1.006 GB, free: 12.55 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005059/1.252, allocations: 1.126 MB / 1.007 GB, free: 12.24 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.005881/1.258, allocations: 3.178 MB / 1.01 GB, free: 11.17 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001987/1.26, allocations: 0.7779 MB / 1.011 GB, free: 10.85 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004458/1.264, allocations: 1.314 MB / 1.012 GB, free: 10.34 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002384/1.267, allocations: 0.8681 MB / 1.013 GB, free: 10.02 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002923/1.267, allocations: 46.25 kB / 1.013 GB, free: 10.02 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004504/1.272, allocations: 1.215 MB / 1.014 GB, free: 9.645 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007716/1.273, allocations: 340.2 kB / 1.015 GB, free: 9.492 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005964/1.273, allocations: 272.7 kB / 1.015 GB, free: 9.418 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00362/1.277, allocations: 1.607 MB / 1.016 GB, free: 8.648 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/1.277, allocations: 1.75 kB / 1.016 GB, free: 8.648 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.925e-06/1.277, allocations: 3.938 kB / 1.016 GB, free: 8.645 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.471e-05/1.277, allocations: 0 / 1.016 GB, free: 8.645 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.007118/1.284, allocations: 1.589 MB / 1.018 GB, free: 7.566 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.299e-05/1.284, allocations: 8 kB / 1.018 GB, free: 7.566 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005637/1.29, allocations: 0.5822 MB / 1.019 GB, free: 7.34 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003082/1.293, allocations: 0.9306 MB / 1.019 GB, free: 6.84 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001231/1.294, allocations: 196.1 kB / 1.02 GB, free: 6.793 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003105/1.294, allocations: 88.97 kB / 1.02 GB, free: 6.789 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004768/1.299, allocations: 1.264 MB / 1.021 GB, free: 6.453 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.492e-05/1.299, allocations: 0 / 1.021 GB, free: 6.453 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001628/1.3, allocations: 35.58 kB / 1.021 GB, free: 6.453 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-05/1.3, allocations: 44.98 kB / 1.021 GB, free: 6.449 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007134/1.307, allocations: 1.607 MB / 1.023 GB, free: 5.703 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.01131/1.318, allocations: 4.097 MB / 1.027 GB, free: 2.262 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004959/1.323, allocations: 1.052 MB / 1.028 GB, free: 1.473 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003015/1.326, allocations: 0.6966 MB / 1.028 GB, free: 0.957 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001934/1.328, allocations: 0.6378 MB / 1.029 GB, free: 224 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.823e-05/1.328, allocations: 42.03 kB / 1.029 GB, free: 180 kB / 490.7 MB Notification: Performance of pre-optimization done (n=76): time 4.398e-06/1.328, allocations: 0 / 1.029 GB, free: 180 kB / 490.7 MB Notification: Performance of matching and sorting (n=76): time 0.009565/1.338, allocations: 1.906 MB / 1.031 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.712e-05/1.338, allocations: 62.19 kB / 1.031 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001653/1.34, allocations: 0.8158 MB / 1.032 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002247/1.34, allocations: 51.14 kB / 1.032 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004617/1.34, allocations: 440.7 kB / 1.032 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003677/1.341, allocations: 265.4 kB / 1.032 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.694e-05/1.341, allocations: 13.88 kB / 1.032 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001797/1.341, allocations: 329.1 kB / 1.033 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002845/1.344, allocations: 0.5641 MB / 1.033 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00298/1.347, allocations: 0.6933 MB / 1.034 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002848/1.35, allocations: 0.6198 MB / 1.035 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.161e-06/1.35, allocations: 0 / 1.035 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.006661/1.356, allocations: 1.42 MB / 1.036 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001557/1.357, allocations: 155.3 kB / 1.036 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/1.357, allocations: 7.938 kB / 1.036 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.599e-05/1.357, allocations: 9.703 kB / 1.036 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003109/1.36, allocations: 281.9 kB / 1.036 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001022/1.361, allocations: 1.19 MB / 1.038 GB, free: 8.895 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002453/1.363, allocations: 198.8 kB / 1.038 GB, free: 8.711 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002018/1.364, allocations: 34.11 kB / 1.038 GB, free: 8.684 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/1.364, allocations: 7.953 kB / 1.038 GB, free: 8.676 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006168/1.37, allocations: 1.318 MB / 1.039 GB, free: 7.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/1.37, allocations: 4 kB / 1.039 GB, free: 7.676 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/1.37, allocations: 4 kB / 1.039 GB, free: 7.672 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002477/1.372, allocations: 250.1 kB / 1.039 GB, free: 7.434 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.358e-05/1.372, allocations: 4 kB / 1.039 GB, free: 7.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002322/1.375, allocations: 200.9 kB / 1.04 GB, free: 7.246 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001472/1.375, allocations: 34.48 kB / 1.04 GB, free: 7.219 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.0008578/1.376, allocations: 371.2 kB / 1.04 GB, free: 6.938 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003281/1.376, allocations: 106.7 kB / 1.04 GB, free: 6.832 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006533/1.383, allocations: 1.425 MB / 1.041 GB, free: 5.781 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.787e-05/1.383, allocations: 3.984 kB / 1.041 GB, free: 5.777 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/1.383, allocations: 0 / 1.041 GB, free: 5.777 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009263/1.384, allocations: 316.9 kB / 1.042 GB, free: 5.508 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002259/1.384, allocations: 17.69 kB / 1.042 GB, free: 5.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002331/1.386, allocations: 151.2 kB / 1.042 GB, free: 5.363 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002177/1.387, allocations: 48.14 kB / 1.042 GB, free: 5.32 MB / 0.4948 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007816/1.394, allocations: 1.465 MB / 1.043 GB, free: 4.16 MB / 0.4948 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.009598/1.404, allocations: 2.225 MB / 1.046 GB, free: 2.453 MB / 0.4948 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002848/1.407, allocations: 0.6052 MB / 1.046 GB, free: 2.008 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001253/1.408, allocations: 0.5644 MB / 1.047 GB, free: 1.574 MB / 0.4948 GB Notification: Performance of Backend: time 1.984e-06/1.408, allocations: 0 / 1.047 GB, free: 1.574 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.009868/1.418, allocations: 2.038 MB / 1.049 GB, free: 15.93 MB / 0.5105 GB Notification: Performance of SimCode: time 0.006696/1.425, allocations: 2.63 MB / 1.051 GB, free: 13.42 MB / 0.5105 GB Notification: Performance of Templates: time 0.07402/1.499, allocations: 26.8 MB / 1.077 GB, free: 2.852 MB / 0.5261 GB