Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.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-master/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-master/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.ConstantEffectivenessZeroFlowBothStreams,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams") translateModel(IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams") [: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.002067/0.002067, allocations: 176.8 kB / 7.461 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.5841/0.5841, allocations: 133.5 MB / 141.4 MB, free: 15.71 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.144/1.144, allocations: 221.3 MB / 395 MB, free: 10.24 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.000848/0.0008479, allocations: 94.73 kB / 477.8 MB, free: 10.87 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.091e-06/6.181e-06, allocations: 0 / 0.5528 GB, free: 89.13 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1134, allocations: 82.3 MB / 0.6332 GB, free: 14.14 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.918/3.032, allocations: 1.858 GB / 2.491 GB, free: 109.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002181/3.032, allocations: 91.7 kB / 2.491 GB, free: 109.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.688/5.72, allocations: 1.01 GB / 3.501 GB, free: 96.5 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.724e-05/5.72, allocations: 33.95 kB / 3.501 GB, free: 96.5 MB / 0.698 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.004572/5.724, allocations: 1.824 MB / 3.503 GB, free: 95.73 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.043e-05/5.724, allocations: 17 kB / 3.503 GB, free: 95.73 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002844/5.727, allocations: 0.5861 MB / 3.504 GB, free: 95.66 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00217/5.729, allocations: 1.087 MB / 3.505 GB, free: 95.39 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005589/5.73, allocations: 184.9 kB / 3.505 GB, free: 95.38 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001188/5.73, allocations: 50.28 kB / 3.505 GB, free: 95.38 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001346/5.731, allocations: 1.013 MB / 3.506 GB, free: 95.38 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001349/5.733, allocations: 1.047 MB / 3.507 GB, free: 95.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.807e-05/5.733, allocations: 0 / 3.507 GB, free: 95.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.674e-05/5.733, allocations: 0 / 3.507 GB, free: 95.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.838e-05/5.733, allocations: 43.64 kB / 3.507 GB, free: 95.3 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005341/5.738, allocations: 4.109 MB / 3.511 GB, free: 93.8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008755/5.739, allocations: 0.7264 MB / 3.512 GB, free: 93.77 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005398/5.74, allocations: 0.5008 MB / 3.512 GB, free: 93.76 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008261/5.741, allocations: 0.6154 MB / 3.513 GB, free: 93.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.776e-05/5.741, allocations: 41.41 kB / 3.513 GB, free: 93.16 MB / 0.698 GB Notification: Performance of pre-optimization done (n=76): time 2.004e-06/5.741, allocations: 0 / 3.513 GB, free: 93.16 MB / 0.698 GB Notification: Performance of matching and sorting (n=76): time 0.002103/5.743, allocations: 1.199 MB / 3.514 GB, free: 93.06 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.609e-05/5.743, allocations: 58.75 kB / 3.514 GB, free: 93 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005179/5.743, allocations: 0.5579 MB / 3.515 GB, free: 92.88 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.368e-05/5.743, allocations: 33.3 kB / 3.515 GB, free: 92.85 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001179/5.743, allocations: 328.7 kB / 3.515 GB, free: 92.67 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000132/5.744, allocations: 252.8 kB / 3.515 GB, free: 92.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.675e-05/5.744, allocations: 3.875 kB / 3.515 GB, free: 92.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.852e-05/5.744, allocations: 328.6 kB / 3.516 GB, free: 92.19 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004742/5.744, allocations: 414.8 kB / 3.516 GB, free: 92.19 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005453/5.745, allocations: 0.5367 MB / 3.517 GB, free: 92.07 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000999/5.746, allocations: 0.6125 MB / 3.517 GB, free: 92.06 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/5.746, allocations: 0 / 3.517 GB, free: 92.06 MB / 0.698 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001789/5.748, allocations: 1.216 MB / 3.518 GB, free: 91.97 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.132e-05/5.748, allocations: 459.5 kB / 3.519 GB, free: 91.52 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/5.748, allocations: 0 / 3.519 GB, free: 91.52 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/5.748, allocations: 3.5 kB / 3.519 GB, free: 91.52 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001558/5.749, allocations: 296 kB / 3.519 GB, free: 91.51 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004616/5.75, allocations: 1.209 MB / 3.52 GB, free: 90.34 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001153/5.751, allocations: 186.5 kB / 3.521 GB, free: 90.31 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.858e-05/5.751, allocations: 41.44 kB / 3.521 GB, free: 90.31 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.989e-06/5.751, allocations: 7.188 kB / 3.521 GB, free: 90.31 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001667/5.753, allocations: 1.089 MB / 3.522 GB, free: 90.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-06/5.753, allocations: 3.688 kB / 3.522 GB, free: 90.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.2e-06/5.753, allocations: 3 kB / 3.522 GB, free: 90.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001252/5.754, allocations: 272 kB / 3.522 GB, free: 90.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.497e-06/5.754, allocations: 7.312 kB / 3.522 GB, free: 90.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001041/5.755, allocations: 183.3 kB / 3.522 GB, free: 90.28 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.681e-05/5.755, allocations: 39.28 kB / 3.522 GB, free: 90.28 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.0001628/5.755, allocations: 115 kB / 3.522 GB, free: 90.17 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001378/5.755, allocations: 97.16 kB / 3.522 GB, free: 90.12 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002/5.757, allocations: 1.278 MB / 3.524 GB, free: 90.05 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/5.757, allocations: 7.844 kB / 3.524 GB, free: 90.05 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/5.757, allocations: 0 / 3.524 GB, free: 90.05 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/5.757, allocations: 7.234 kB / 3.524 GB, free: 90.05 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003414/5.761, allocations: 2.637 MB / 3.526 GB, free: 89.62 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/5.761, allocations: 3.375 kB / 3.526 GB, free: 89.62 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001274/5.762, allocations: 270.9 kB / 3.526 GB, free: 89.62 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.844e-06/5.762, allocations: 14.09 kB / 3.526 GB, free: 89.61 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.658e-05/5.762, allocations: 18.83 kB / 3.526 GB, free: 89.61 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003088/5.763, allocations: 1.198 MB / 3.528 GB, free: 88.45 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/5.763, allocations: 14.27 kB / 3.528 GB, free: 88.45 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001704/5.764, allocations: 1.537 MB / 3.529 GB, free: 87.88 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003708/5.765, allocations: 316.8 kB / 3.529 GB, free: 87.72 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001533/5.765, allocations: 3.594 kB / 3.529 GB, free: 87.72 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001228/5.766, allocations: 166 kB / 3.53 GB, free: 87.72 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/5.766, allocations: 57.98 kB / 3.53 GB, free: 87.71 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.131e-05/5.766, allocations: 40.05 kB / 3.53 GB, free: 87.71 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.00038/5.767, allocations: 444.2 kB / 3.53 GB, free: 87.62 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001446/5.768, allocations: 0.6922 MB / 3.531 GB, free: 87.54 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.002409/5.771, allocations: 2.62 MB / 3.533 GB, free: 86.68 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002795/5.773, allocations: 1.606 MB / 3.535 GB, free: 86.59 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/5.773, allocations: 3.469 kB / 3.535 GB, free: 86.59 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008316/5.774, allocations: 0.5387 MB / 3.535 GB, free: 86.59 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001899/5.776, allocations: 408.6 kB / 3.536 GB, free: 86.58 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01497/5.791, allocations: 2.43 MB / 3.538 GB, free: 86.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001203/5.792, allocations: 1.232 MB / 3.539 GB, free: 85.39 MB / 0.698 GB Notification: Performance of SimCode: time 6.11e-07/5.792, allocations: 0 / 3.539 GB, free: 85.39 MB / 0.698 GB Notification: Performance of Templates: time 0.05294/5.845, allocations: 38.39 MB / 3.577 GB, free: 66.7 MB / 0.698 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.makefile (rm -f IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.sim & ./IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe 2>&1)