Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.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.TestRegRootDerivative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") [: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.001747/0.001747, allocations: 182.2 kB / 7.462 MB, free: 476 kB / 6.207 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.149/1.149, allocations: 194.2 MB / 202.1 MB, free: 13 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.09919/0.09919, allocations: 119.3 kB / 247.1 MB, free: 6.359 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1704/0.1704, allocations: 39.94 MB / 331.9 MB, free: 9.125 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 7.534e-06/7.875e-06, allocations: 0 / 392.8 MB, free: 79.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1185, allocations: 54.88 MB / 447.7 MB, free: 24.87 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3424/0.4609, allocations: 78.34 MB / 0.5137 GB, free: 10.98 MB / 350.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001947/0.4612, allocations: 70.39 kB / 0.5137 GB, free: 10.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 0.001289/0.4625, allocations: 252.9 kB / 0.514 GB, free: 10.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.057e-06/0.4625, allocations: 0 / 0.514 GB, free: 10.98 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002718/0.4628, allocations: 324.9 kB / 0.5143 GB, free: 10.63 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.4629, allocations: 12.38 kB / 0.5143 GB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.857e-05/0.4629, allocations: 0 / 0.5143 GB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.148e-05/0.463, allocations: 165.2 kB / 0.5144 GB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.463, allocations: 3.812 kB / 0.5144 GB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.177e-06/0.463, allocations: 7.938 kB / 0.5145 GB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.321e-05/0.4631, allocations: 21.73 kB / 0.5145 GB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.386e-05/0.4632, allocations: 46.09 kB / 0.5145 GB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.242e-06/0.4632, allocations: 0 / 0.5145 GB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-06/0.4632, allocations: 0 / 0.5145 GB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.4632, allocations: 3.875 kB / 0.5145 GB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002635/0.4635, allocations: 306.2 kB / 0.5148 GB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.229e-05/0.4636, allocations: 25.45 kB / 0.5148 GB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.231e-05/0.4636, allocations: 12.47 kB / 0.5149 GB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.789e-05/0.4636, allocations: 0 / 0.5149 GB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.826e-05/0.4636, allocations: 37.38 kB / 0.5149 GB, free: 9.977 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.4636, allocations: 0 / 0.5149 GB, free: 9.977 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001876/0.4638, allocations: 45.41 kB / 0.5149 GB, free: 9.945 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.784e-05/0.4639, allocations: 55.41 kB / 0.515 GB, free: 9.879 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.266e-05/0.4639, allocations: 88.72 kB / 0.5151 GB, free: 9.789 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.657e-06/0.4639, allocations: 29.64 kB / 0.5151 GB, free: 9.754 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.411e-05/0.464, allocations: 88.55 kB / 0.5152 GB, free: 9.668 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.18e-05/0.464, allocations: 9.219 kB / 0.5152 GB, free: 9.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.967e-06/0.464, allocations: 0 / 0.5152 GB, free: 9.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.636e-05/0.4641, allocations: 319.7 kB / 0.5155 GB, free: 9.348 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.561e-05/0.4641, allocations: 7.844 kB / 0.5155 GB, free: 9.344 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.796e-05/0.4641, allocations: 16.53 kB / 0.5155 GB, free: 9.328 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.39e-05/0.4642, allocations: 6.516 kB / 0.5155 GB, free: 9.328 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.4642, allocations: 3.844 kB / 0.5155 GB, free: 9.328 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.163e-05/0.4643, allocations: 56.12 kB / 0.5156 GB, free: 9.293 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.4643, allocations: 7.688 kB / 0.5156 GB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.4643, allocations: 0 / 0.5156 GB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.4643, allocations: 3.781 kB / 0.5156 GB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.018e-05/0.4644, allocations: 9.5 kB / 0.5156 GB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.044e-06/0.4644, allocations: 7.844 kB / 0.5156 GB, free: 9.281 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.387e-05/0.4645, allocations: 3.938 kB / 0.5156 GB, free: 9.277 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.166e-06/0.4645, allocations: 0 / 0.5156 GB, free: 9.277 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 6.258e-05/0.4645, allocations: 104.8 kB / 0.5157 GB, free: 9.172 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.529e-05/0.4646, allocations: 5.781 kB / 0.5157 GB, free: 9.168 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001417/0.4647, allocations: 60.11 kB / 0.5158 GB, free: 9.121 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-06/0.4647, allocations: 1.312 kB / 0.5158 GB, free: 9.121 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.4647, allocations: 0 / 0.5158 GB, free: 9.121 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.4648, allocations: 4 kB / 0.5158 GB, free: 9.117 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000119/0.4649, allocations: 139 kB / 0.5159 GB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.4649, allocations: 3.812 kB / 0.5159 GB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.146e-05/0.4649, allocations: 10.61 kB / 0.5159 GB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.4649, allocations: 0 / 0.5159 GB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.385e-06/0.465, allocations: 9.078 kB / 0.5159 GB, free: 8.953 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.465, allocations: 0 / 0.5159 GB, free: 8.953 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.465, allocations: 0 / 0.5159 GB, free: 8.953 MB / 350.1 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001199/0.4651, allocations: 149.7 kB / 0.5161 GB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.658e-05/0.4651, allocations: 80.77 kB / 0.5162 GB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.505e-05/0.4652, allocations: 1.219 kB / 0.5162 GB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.796e-05/0.4652, allocations: 0 / 0.5162 GB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.341e-05/0.4653, allocations: 1.219 kB / 0.5162 GB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.4653, allocations: 3.812 kB / 0.5162 GB, free: 8.723 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.577e-05/0.4653, allocations: 79.44 kB / 0.5162 GB, free: 8.648 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002339/0.4655, allocations: 11.59 kB / 0.5162 GB, free: 8.645 MB / 350.1 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 (5): * Single equations (assignments): 5 * 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.0001139/0.4657, allocations: 107.7 kB / 0.5164 GB, free: 8.547 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 8.016e-05/0.4657, allocations: 14.59 kB / 0.5164 GB, free: 8.547 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4657, allocations: 3.875 kB / 0.5164 GB, free: 8.547 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.263e-05/0.4658, allocations: 16.52 kB / 0.5164 GB, free: 8.543 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001385/0.4659, allocations: 0 / 0.5164 GB, free: 8.543 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000199/0.4661, allocations: 70.56 kB / 0.5165 GB, free: 8.477 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001546/0.4663, allocations: 0.6877 MB / 0.5171 GB, free: 7.777 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4663, allocations: 0 / 0.5171 GB, free: 7.777 MB / 350.1 MB Notification: Performance of Templates: time 0.002388/0.4687, allocations: 456 kB / 0.5176 GB, free: 7.719 MB / 350.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1)