Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow") translateModel(IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004226/0.004226, allocations: 179.3 kB / 7.455 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6602/0.6602, allocations: 130.6 MB / 138.5 MB, free: 2.172 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.734/1.734, allocations: 221.3 MB / 391.4 MB, free: 13.05 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 97.5 kB / 473.4 MB, free: 14.39 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 1.272e-05/1.275e-05, allocations: 5.594 kB / 0.5479 GB, free: 89.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1949/0.195, allocations: 81.58 MB / 0.6276 GB, free: 18.22 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.023/5.219, allocations: 1.858 GB / 2.485 GB, free: 14.62 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002379/5.219, allocations: 83.95 kB / 2.485 GB, free: 14.54 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.744/8.962, allocations: 1.01 GB / 3.496 GB, free: 17.75 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001503/8.963, allocations: 32.14 kB / 3.496 GB, free: 17.72 MB / 0.6823 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.00689/8.97, allocations: 1.825 MB / 3.497 GB, free: 15.84 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/8.97, allocations: 12.03 kB / 3.497 GB, free: 15.83 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003745/8.973, allocations: 0.5877 MB / 3.498 GB, free: 15.24 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003668/8.977, allocations: 1.078 MB / 3.499 GB, free: 14.12 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006314/8.978, allocations: 185.8 kB / 3.499 GB, free: 13.93 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004058/8.978, allocations: 52 kB / 3.499 GB, free: 13.88 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002189/8.98, allocations: 1.011 MB / 3.5 GB, free: 12.87 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002225/8.983, allocations: 1.044 MB / 3.501 GB, free: 11.81 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.452e-05/8.983, allocations: 7.938 kB / 3.501 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001437/8.983, allocations: 0 / 3.501 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.031e-05/8.983, allocations: 41.98 kB / 3.501 GB, free: 11.77 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007939/8.991, allocations: 4.113 MB / 3.505 GB, free: 7.41 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001093/8.992, allocations: 0.7232 MB / 3.506 GB, free: 6.676 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006333/8.993, allocations: 0.4994 MB / 3.507 GB, free: 6.172 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009697/8.994, allocations: 0.6202 MB / 3.507 GB, free: 5.441 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/8.994, allocations: 47.22 kB / 3.507 GB, free: 5.387 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=76): time 3.346e-06/8.994, allocations: 0 / 3.507 GB, free: 5.387 MB / 0.6823 GB Notification: Performance of matching and sorting (n=76): time 0.002723/8.996, allocations: 1.197 MB / 3.508 GB, free: 4.18 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.086e-05/8.996, allocations: 60.06 kB / 3.508 GB, free: 4.109 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008853/8.997, allocations: 0.5591 MB / 3.509 GB, free: 3.543 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001359/8.997, allocations: 25.7 kB / 3.509 GB, free: 3.512 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000194/8.998, allocations: 332.3 kB / 3.509 GB, free: 3.18 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001907/8.998, allocations: 252.2 kB / 3.51 GB, free: 2.93 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.66e-05/8.998, allocations: 0 / 3.51 GB, free: 2.93 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.083e-05/8.998, allocations: 337.9 kB / 3.51 GB, free: 2.594 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005471/8.999, allocations: 409.4 kB / 3.51 GB, free: 2.195 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000625/8.999, allocations: 0.5386 MB / 3.511 GB, free: 1.609 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001186/9, allocations: 0.6081 MB / 3.511 GB, free: 1.004 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/9, allocations: 4 kB / 3.511 GB, free: 1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002392/9.003, allocations: 1.217 MB / 3.513 GB, free: 15.77 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002524/9.003, allocations: 455.6 kB / 3.513 GB, free: 15.29 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/9.003, allocations: 0 / 3.513 GB, free: 15.29 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.847e-05/9.003, allocations: 12 kB / 3.513 GB, free: 15.27 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001822/9.005, allocations: 295.6 kB / 3.513 GB, free: 14.98 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009178/9.006, allocations: 1.207 MB / 3.514 GB, free: 13.73 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00161/9.008, allocations: 183.4 kB / 3.515 GB, free: 13.55 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001579/9.008, allocations: 43.95 kB / 3.515 GB, free: 13.51 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/9.008, allocations: 4 kB / 3.515 GB, free: 13.5 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00229/9.01, allocations: 1.095 MB / 3.516 GB, free: 12.41 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/9.01, allocations: 0 / 3.516 GB, free: 12.41 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.999e-06/9.01, allocations: 4.094 kB / 3.516 GB, free: 12.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001402/9.011, allocations: 275.7 kB / 3.516 GB, free: 12.13 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/9.011, allocations: 7.938 kB / 3.516 GB, free: 12.12 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001456/9.013, allocations: 183.4 kB / 3.516 GB, free: 11.95 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001347/9.013, allocations: 39.97 kB / 3.516 GB, free: 11.91 MB / 0.698 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 () * 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.0003193/9.013, allocations: 116.8 kB / 3.516 GB, free: 11.79 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003427/9.014, allocations: 94.88 kB / 3.516 GB, free: 11.69 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002944/9.017, allocations: 1.275 MB / 3.518 GB, free: 10.41 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.279e-05/9.017, allocations: 8 kB / 3.518 GB, free: 10.41 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/9.017, allocations: 0 / 3.518 GB, free: 10.41 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.036e-05/9.017, allocations: 3.984 kB / 3.518 GB, free: 10.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005656/9.022, allocations: 2.638 MB / 3.52 GB, free: 7.672 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.596e-06/9.022, allocations: 4.469 kB / 3.52 GB, free: 7.668 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001486/9.024, allocations: 271.6 kB / 3.521 GB, free: 7.402 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.07e-05/9.024, allocations: 11.91 kB / 3.521 GB, free: 7.391 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.133e-05/9.024, allocations: 19.97 kB / 3.521 GB, free: 7.371 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006967/9.025, allocations: 1.199 MB / 3.522 GB, free: 6.125 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-06/9.025, allocations: 4 kB / 3.522 GB, free: 6.121 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002606/9.027, allocations: 1.536 MB / 3.523 GB, free: 4.43 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007352/9.028, allocations: 311.5 kB / 3.524 GB, free: 4.105 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002555/9.028, allocations: 8 kB / 3.524 GB, free: 4.098 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001566/9.03, allocations: 167.8 kB / 3.524 GB, free: 3.934 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001417/9.03, allocations: 60.27 kB / 3.524 GB, free: 3.875 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001103/9.03, allocations: 39.97 kB / 3.524 GB, free: 3.836 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.0007338/9.031, allocations: 443.1 kB / 3.524 GB, free: 3.406 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002638/9.034, allocations: 0.6823 MB / 3.525 GB, free: 2.723 MB / 0.698 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 () * 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.3898/9.424, allocations: 2.636 MB / 3.527 GB, free: 156.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003677/9.427, allocations: 1.606 MB / 3.529 GB, free: 156.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.425e-06/9.427, allocations: 3.844 kB / 3.529 GB, free: 156.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001016/9.428, allocations: 0.5464 MB / 3.53 GB, free: 156.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002615/9.431, allocations: 404 kB / 3.53 GB, free: 156.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01548/9.446, allocations: 2.428 MB / 3.532 GB, free: 156.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001062/9.448, allocations: 1.231 MB / 3.534 GB, free: 155.6 MB / 0.698 GB Notification: Performance of SimCode: time 7.72e-07/9.448, allocations: 2.719 kB / 3.534 GB, free: 155.6 MB / 0.698 GB Notification: Performance of Templates: time 0.06211/9.51, allocations: 38.37 MB / 3.571 GB, free: 155.1 MB / 0.698 GB make -j1 -f IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.makefile (rm -f IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.sim & ./IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe 2>&1)