Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness") translateModel(IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005256/0.005256, allocations: 99.81 kB / 15.73 MB, free: 6.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 192 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8413/0.8413, allocations: 135.1 MB / 425.7 MB, free: 4.051 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 64.53 kB / 0.5856 GB, free: 21.65 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.175/0.1762, allocations: 80.92 MB / 0.6646 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.6289/0.8052, allocations: 214.2 MB / 0.8738 GB, free: 8.941 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01407/0.8193, allocations: 7.035 MB / 0.8807 GB, free: 1.895 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003235/0.8226, allocations: 43.75 kB / 0.8807 GB, free: 1.852 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003166/0.8258, allocations: 0.7765 MB / 0.8815 GB, free: 1.07 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.009108/0.835, allocations: 2.509 MB / 0.8839 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003637/0.8387, allocations: 1.179 MB / 0.8851 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.004602/0.8433, allocations: 2.813 MB / 0.8878 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002115/0.8454, allocations: 1.095 MB / 0.8889 GB, free: 9.453 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005174/0.8506, allocations: 1.989 MB / 0.8908 GB, free: 7.457 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002795/0.8535, allocations: 0.9353 MB / 0.8917 GB, free: 6.523 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0005311/0.854, allocations: 120 kB / 0.8918 GB, free: 6.406 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005777/0.8598, allocations: 2.44 MB / 0.8942 GB, free: 3.961 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0008692/0.8607, allocations: 426.7 kB / 0.8946 GB, free: 3.543 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001556/0.8623, allocations: 0.692 MB / 0.8953 GB, free: 2.848 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.005639/0.8679, allocations: 2.515 MB / 0.8978 GB, free: 332 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.868, allocations: 4 kB / 0.8978 GB, free: 328 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.673e-06/0.868, allocations: 0 / 0.8978 GB, free: 328 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.785e-05/0.868, allocations: 0 / 0.8978 GB, free: 328 kB / 0.6544 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.005774/0.8738, allocations: 1.892 MB / 0.8996 GB, free: 14.36 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.8739, allocations: 13.11 kB / 0.8996 GB, free: 14.35 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003251/0.8771, allocations: 0.5377 MB / 0.9002 GB, free: 13.81 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002226/0.8794, allocations: 1.016 MB / 0.9011 GB, free: 12.75 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001065/0.8795, allocations: 71.11 kB / 0.9012 GB, free: 12.68 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002205/0.8797, allocations: 80 kB / 0.9013 GB, free: 12.61 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00297/0.8827, allocations: 1.221 MB / 0.9025 GB, free: 11.38 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.197e-05/0.8828, allocations: 0 / 0.9025 GB, free: 11.38 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000119/0.8829, allocations: 36 kB / 0.9025 GB, free: 11.34 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-05/0.8829, allocations: 45.97 kB / 0.9026 GB, free: 11.3 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003909/0.8869, allocations: 1.53 MB / 0.9041 GB, free: 9.766 MB / 0.67 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.008369/0.8953, allocations: 4.054 MB / 0.908 GB, free: 5.441 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002466/0.8977, allocations: 0.9747 MB / 0.909 GB, free: 4.461 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001512/0.8993, allocations: 0.6513 MB / 0.9096 GB, free: 3.805 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001194/0.9005, allocations: 0.6087 MB / 0.9102 GB, free: 3.086 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.366e-05/0.9006, allocations: 39.22 kB / 0.9102 GB, free: 3.039 MB / 0.67 GB Notification: Performance of pre-optimization done (n=76): time 3.015e-06/0.9006, allocations: 0 / 0.9102 GB, free: 3.039 MB / 0.67 GB Notification: Performance of matching and sorting (n=76): time 0.005144/0.9057, allocations: 1.785 MB / 0.912 GB, free: 1.246 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.586e-05/0.9058, allocations: 60.06 kB / 0.912 GB, free: 1.176 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001563/0.9074, allocations: 0.8271 MB / 0.9128 GB, free: 332 kB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001334/0.9075, allocations: 41.7 kB / 0.9129 GB, free: 284 kB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004047/0.9079, allocations: 449.1 kB / 0.9133 GB, free: 15.83 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002554/0.9082, allocations: 273.6 kB / 0.9136 GB, free: 15.56 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003476/0.9086, allocations: 158.5 kB / 0.9137 GB, free: 15.4 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.9087, allocations: 341.8 kB / 0.914 GB, free: 15.06 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001457/0.9102, allocations: 0.5317 MB / 0.9146 GB, free: 14.53 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001604/0.9118, allocations: 0.652 MB / 0.9152 GB, free: 13.84 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002892/0.9147, allocations: 1.135 MB / 0.9163 GB, free: 12.68 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/0.9147, allocations: 0 / 0.9163 GB, free: 12.68 MB / 0.6856 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003572/0.9183, allocations: 1.349 MB / 0.9176 GB, free: 11.32 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 6.557e-05/0.9184, allocations: 37.69 kB / 0.9177 GB, free: 11.28 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.9184, allocations: 4 kB / 0.9177 GB, free: 11.27 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.219e-05/0.9184, allocations: 8.062 kB / 0.9177 GB, free: 11.27 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001531/0.92, allocations: 253.2 kB / 0.9179 GB, free: 11.02 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008361/0.9208, allocations: 1.192 MB / 0.9191 GB, free: 9.781 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001197/0.922, allocations: 150.6 kB / 0.9192 GB, free: 9.637 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001019/0.9221, allocations: 39.97 kB / 0.9193 GB, free: 9.598 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001873/0.924, allocations: 0.7517 MB / 0.92 GB, free: 8.84 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001533/0.9256, allocations: 0.652 MB / 0.9206 GB, free: 8.156 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002835/0.9284, allocations: 1.12 MB / 0.9217 GB, free: 7.02 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.663e-06/0.9284, allocations: 3.984 kB / 0.9217 GB, free: 7.016 MB / 0.6856 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.003508/0.9319, allocations: 1.334 MB / 0.923 GB, free: 5.668 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 4.801e-05/0.932, allocations: 47.34 kB / 0.9231 GB, free: 5.617 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.932, allocations: 4.062 kB / 0.9231 GB, free: 5.613 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.816e-06/0.932, allocations: 11.94 kB / 0.9231 GB, free: 5.602 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001197/0.9332, allocations: 227.6 kB / 0.9233 GB, free: 5.379 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.474e-05/0.9333, allocations: 4 kB / 0.9233 GB, free: 5.375 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001151/0.9344, allocations: 135.5 kB / 0.9234 GB, free: 5.242 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.372e-05/0.9345, allocations: 35.98 kB / 0.9235 GB, free: 5.207 MB / 0.6856 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.i2_w,hex.i1_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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003219/0.9349, allocations: 216.1 kB / 0.9237 GB, free: 4.988 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002891/0.9351, allocations: 111.3 kB / 0.9238 GB, free: 4.879 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003608/0.9388, allocations: 1.347 MB / 0.9251 GB, free: 3.523 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.188e-06/0.9388, allocations: 11.94 kB / 0.9251 GB, free: 3.512 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.9388, allocations: 4 kB / 0.9251 GB, free: 3.508 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.189e-05/0.9388, allocations: 8.062 kB / 0.9251 GB, free: 3.5 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005875/0.9447, allocations: 2.828 MB / 0.9279 GB, free: 0.5625 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.115e-06/0.9447, allocations: 4 kB / 0.9279 GB, free: 0.5586 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001208/0.9459, allocations: 240 kB / 0.9281 GB, free: 332 kB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-05/0.946, allocations: 8 kB / 0.9281 GB, free: 324 kB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.338e-05/0.9461, allocations: 23.97 kB / 0.9282 GB, free: 300 kB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006655/0.9467, allocations: 1.192 MB / 0.9293 GB, free: 15.05 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/0.9468, allocations: 4 kB / 0.9293 GB, free: 15.05 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003432/0.9502, allocations: 1.456 MB / 0.9307 GB, free: 13.54 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000676/0.9509, allocations: 316.1 kB / 0.931 GB, free: 13.21 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000211/0.9511, allocations: 19.98 kB / 0.9311 GB, free: 13.19 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001194/0.9523, allocations: 107.8 kB / 0.9312 GB, free: 13.08 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001636/0.9525, allocations: 60.42 kB / 0.9312 GB, free: 13.02 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.019e-05/0.9526, allocations: 35.97 kB / 0.9313 GB, free: 12.98 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0008793/0.9535, allocations: 0.57 MB / 0.9318 GB, free: 12.4 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9535, allocations: 0 / 0.9318 GB, free: 12.4 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001606/0.9551, allocations: 0.5381 MB / 0.9323 GB, free: 11.86 MB / 0.7012 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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007346/0.9558, allocations: 276.2 kB / 0.9326 GB, free: 11.59 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.005551/0.9614, allocations: 2.022 MB / 0.9346 GB, free: 9.551 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/0.9614, allocations: 7.938 kB / 0.9346 GB, free: 9.543 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001789/0.9632, allocations: 0.652 MB / 0.9352 GB, free: 8.891 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00259/0.9658, allocations: 0.5026 MB / 0.9357 GB, free: 8.395 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004786/0.9706, allocations: 2.098 MB / 0.9378 GB, free: 6.215 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009145/0.9716, allocations: 1.094 MB / 0.9388 GB, free: 5.086 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001604/0.9732, allocations: 387.5 kB / 0.9392 GB, free: 4.703 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003899/0.9736, allocations: 91.39 kB / 0.9393 GB, free: 4.617 MB / 0.7012 GB Notification: Performance of SimCode: time 7.21e-07/0.9736, allocations: 0 / 0.9393 GB, free: 4.617 MB / 0.7012 GB Notification: Performance of Templates: time 0.038/1.012, allocations: 20.96 MB / 0.9598 GB, free: 15.89 MB / 0.7325 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile (rm -f IDEAS_dev_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & ./IDEAS_dev_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)