Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") [: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 3.2.2+maint.om/package.mo): time 0.002372/0.002372, allocations: 185.5 kB / 7.459 MB, free: 2.234 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.403/1.403, allocations: 194.2 MB / 202.1 MB, free: 8.652 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001778/0.001778, allocations: 122.6 kB / 247.1 MB, free: 6.344 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1959/0.1959, allocations: 39.94 MB / 331.9 MB, free: 4.887 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.693e-06/6.923e-06, allocations: 0 / 392.8 MB, free: 75.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1067, allocations: 54.87 MB / 447.7 MB, free: 20.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3095/0.4163, allocations: 78.43 MB / 0.5138 GB, free: 10.07 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002282/0.4165, allocations: 65.64 kB / 0.5138 GB, free: 10.07 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.002698/0.4193, allocations: 0.5934 MB / 0.5144 GB, free: 10.04 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.928e-06/0.4193, allocations: 0.9688 kB / 0.5144 GB, free: 10.04 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0002222/0.4195, allocations: 338.2 kB / 0.5147 GB, free: 9.68 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.4196, allocations: 8.969 kB / 0.5147 GB, free: 9.68 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.394e-05/0.4196, allocations: 1.344 kB / 0.5147 GB, free: 9.68 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.548e-05/0.4197, allocations: 170.7 kB / 0.5149 GB, free: 9.477 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.4197, allocations: 4.969 kB / 0.5149 GB, free: 9.473 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.218e-05/0.4198, allocations: 7.156 kB / 0.5149 GB, free: 9.469 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001454/0.4199, allocations: 53.28 kB / 0.515 GB, free: 9.465 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000107/0.42, allocations: 45.59 kB / 0.515 GB, free: 9.434 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.467e-06/0.42, allocations: 0 / 0.515 GB, free: 9.434 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.775e-05/0.4201, allocations: 3.984 kB / 0.515 GB, free: 9.43 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/0.4201, allocations: 1.719 kB / 0.515 GB, free: 9.43 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001891/0.4203, allocations: 143.3 kB / 0.5151 GB, free: 9.27 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001382/0.4204, allocations: 64.45 kB / 0.5152 GB, free: 9.246 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.643e-05/0.4205, allocations: 32.89 kB / 0.5152 GB, free: 9.23 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003275/0.4208, allocations: 252.7 kB / 0.5155 GB, free: 8.949 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.793e-05/0.4208, allocations: 31.78 kB / 0.5155 GB, free: 8.91 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 1.513e-06/0.4209, allocations: 0 / 0.5155 GB, free: 8.91 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003257/0.4212, allocations: 86.7 kB / 0.5156 GB, free: 8.871 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.584e-05/0.4212, allocations: 56.5 kB / 0.5156 GB, free: 8.805 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.643e-05/0.4213, allocations: 86.03 kB / 0.5157 GB, free: 8.715 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.175e-05/0.4213, allocations: 25.7 kB / 0.5157 GB, free: 8.684 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.224e-05/0.4213, allocations: 85.95 kB / 0.5158 GB, free: 8.602 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.714e-05/0.4214, allocations: 28.47 kB / 0.5159 GB, free: 8.582 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.741e-06/0.4214, allocations: 0 / 0.5159 GB, free: 8.582 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.223e-05/0.4215, allocations: 313.6 kB / 0.5162 GB, free: 8.27 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.67e-05/0.4215, allocations: 18.95 kB / 0.5162 GB, free: 8.27 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.772e-05/0.4216, allocations: 16.97 kB / 0.5162 GB, free: 8.266 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001157/0.4217, allocations: 27.48 kB / 0.5162 GB, free: 8.262 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.4217, allocations: 7.875 kB / 0.5162 GB, free: 8.254 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001832/0.4219, allocations: 87.17 kB / 0.5163 GB, free: 8.219 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.4219, allocations: 5.219 kB / 0.5163 GB, free: 8.219 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.4219, allocations: 0 / 0.5163 GB, free: 8.219 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.4219, allocations: 1.062 kB / 0.5163 GB, free: 8.219 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.4221, allocations: 14.02 kB / 0.5163 GB, free: 8.219 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.4221, allocations: 6.578 kB / 0.5163 GB, free: 8.219 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.692e-05/0.4221, allocations: 4.938 kB / 0.5163 GB, free: 8.215 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/0.4221, allocations: 6.125 kB / 0.5163 GB, free: 8.211 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.643e-05/0.4222, allocations: 106 kB / 0.5164 GB, free: 8.102 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.203e-05/0.4222, allocations: 6.188 kB / 0.5164 GB, free: 8.098 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002808/0.4225, allocations: 93.27 kB / 0.5165 GB, free: 8.055 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.4225, allocations: 1.031 kB / 0.5165 GB, free: 8.055 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.4225, allocations: 5 kB / 0.5165 GB, free: 8.051 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.4225, allocations: 1.406 kB / 0.5165 GB, free: 8.051 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001257/0.4227, allocations: 157.2 kB / 0.5167 GB, free: 7.883 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.4227, allocations: 0 / 0.5167 GB, free: 7.883 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.387e-05/0.4228, allocations: 16.05 kB / 0.5167 GB, free: 7.883 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.4228, allocations: 1.125 kB / 0.5167 GB, free: 7.883 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.4228, allocations: 0 / 0.5167 GB, free: 7.883 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.4228, allocations: 1.688 kB / 0.5167 GB, free: 7.883 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.4228, allocations: 0.9844 kB / 0.5167 GB, free: 7.883 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002095/0.423, allocations: 114.3 kB / 0.5168 GB, free: 7.812 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.783e-05/0.423, allocations: 85.17 kB / 0.5169 GB, free: 7.715 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.552e-05/0.4231, allocations: 4.094 kB / 0.5169 GB, free: 7.711 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.567e-05/0.4231, allocations: 3.938 kB / 0.5169 GB, free: 7.707 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.22e-05/0.4231, allocations: 5.344 kB / 0.5169 GB, free: 7.707 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-06/0.4231, allocations: 2.906 kB / 0.5169 GB, free: 7.707 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.098e-05/0.4232, allocations: 76.69 kB / 0.517 GB, free: 7.633 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002078/0.4234, allocations: 25.11 kB / 0.517 GB, free: 7.625 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001501/0.4235, allocations: 105.3 kB / 0.5171 GB, free: 7.535 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001364/0.4237, allocations: 52.48 kB / 0.5172 GB, free: 7.527 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4237, allocations: 0 / 0.5172 GB, free: 7.527 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.12e-05/0.4237, allocations: 30.98 kB / 0.5172 GB, free: 7.523 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001068/0.4238, allocations: 3.906 kB / 0.5172 GB, free: 7.52 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002755/0.4241, allocations: 91.81 kB / 0.5173 GB, free: 7.449 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000169/0.4243, allocations: 0.7042 MB / 0.518 GB, free: 6.746 MB / 346.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4243, allocations: 0 / 0.518 GB, free: 6.746 MB / 346.7 MB Notification: Performance of Templates: time 0.003165/0.4275, allocations: 0.7579 MB / 0.5187 GB, free: 6.664 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1)