Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") [: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.1+maint.om/package.mo): time 0.004638/0.004638, allocations: 175.3 kB / 7.449 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.828/1.828, allocations: 170.6 MB / 178.4 MB, free: 15.45 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00168/0.00168, allocations: 103.9 kB / 217.7 MB, free: 8.215 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2244/0.2244, allocations: 37.98 MB / 294.8 MB, free: 9.621 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.696e-06/8.716e-06, allocations: 0 / 349.5 MB, free: 37.14 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.1437, allocations: 48.71 MB / 398.2 MB, free: 5.691 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4366/0.5804, allocations: 72.58 MB / 470.8 MB, free: 13.83 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002074/0.5807, allocations: 63 kB / 470.9 MB, free: 13.83 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.008343/0.589, allocations: 2.747 MB / 473.6 MB, free: 13.67 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.247e-06/0.5891, allocations: 3.844 kB / 473.6 MB, free: 13.67 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0002978/0.5894, allocations: 363.9 kB / 474 MB, free: 13.3 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.5895, allocations: 7.75 kB / 474 MB, free: 13.3 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.572e-05/0.5895, allocations: 9.719 kB / 474 MB, free: 13.3 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.5896, allocations: 167 kB / 474.1 MB, free: 13.09 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.5896, allocations: 3.875 kB / 474.1 MB, free: 13.09 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.61e-05/0.5897, allocations: 11.62 kB / 474.2 MB, free: 13.09 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.698e-05/0.5898, allocations: 34.45 kB / 474.2 MB, free: 13.09 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.613e-05/0.5899, allocations: 55.5 kB / 474.2 MB, free: 13.05 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.5899, allocations: 7.812 kB / 474.2 MB, free: 13.05 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.5899, allocations: 0 / 474.2 MB, free: 13.05 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.718e-06/0.5899, allocations: 0 / 474.2 MB, free: 13.05 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001452/0.5901, allocations: 152 kB / 474.4 MB, free: 12.89 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.24e-05/0.5902, allocations: 66.92 kB / 474.5 MB, free: 12.88 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.926e-05/0.5902, allocations: 26.86 kB / 474.5 MB, free: 12.87 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002262/0.5904, allocations: 111.2 kB / 474.6 MB, free: 12.77 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.5905, allocations: 38 kB / 474.6 MB, free: 12.73 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 2.434e-06/0.5905, allocations: 0 / 474.6 MB, free: 12.73 MB / 330.7 MB Notification: Performance of matching and sorting (n=23): time 0.1229/0.7134, allocations: 5.2 MB / 479.8 MB, free: 12.23 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.844e-05/0.7135, allocations: 55.25 kB / 479.9 MB, free: 12.16 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.827e-05/0.7135, allocations: 89 kB / 480 MB, free: 12.07 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.461e-05/0.7136, allocations: 25.7 kB / 480 MB, free: 12.04 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.225e-05/0.7136, allocations: 80.52 kB / 480.1 MB, free: 11.95 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.946e-05/0.7137, allocations: 74.41 kB / 480.2 MB, free: 11.91 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.789e-05/0.7137, allocations: 0 / 480.2 MB, free: 11.91 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.422e-05/0.7138, allocations: 320.5 kB / 480.5 MB, free: 11.59 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001106/0.7139, allocations: 64.38 kB / 480.5 MB, free: 11.59 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001052/0.714, allocations: 66.3 kB / 480.6 MB, free: 11.59 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000956/0.715, allocations: 203.6 kB / 480.8 MB, free: 11.57 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.715, allocations: 3.906 kB / 480.8 MB, free: 11.57 MB / 330.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00117/0.7162, allocations: 330.1 kB / 481.1 MB, free: 11.54 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.7162, allocations: 7.812 kB / 481.1 MB, free: 11.54 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.7162, allocations: 6.609 kB / 481.1 MB, free: 11.54 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.7163, allocations: 0 / 481.1 MB, free: 11.54 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004305/0.7167, allocations: 95.61 kB / 481.2 MB, free: 11.53 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.017e-06/0.7167, allocations: 0 / 481.2 MB, free: 11.53 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002235/0.7169, allocations: 34.42 kB / 481.3 MB, free: 11.53 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.415e-05/0.717, allocations: 21 kB / 481.3 MB, free: 11.53 MB / 330.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 (23): * Single equations (assignments): 23 * 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 8.445e-05/0.7171, allocations: 104.9 kB / 481.4 MB, free: 11.42 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.029e-05/0.7171, allocations: 15.78 kB / 481.4 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001537/0.7186, allocations: 442.6 kB / 481.8 MB, free: 11.34 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.7187, allocations: 3.906 kB / 481.8 MB, free: 11.34 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.7187, allocations: 0 / 481.8 MB, free: 11.34 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.7187, allocations: 2.25 kB / 481.8 MB, free: 11.34 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002305/0.721, allocations: 0.794 MB / 482.6 MB, free: 11.01 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.721, allocations: 0 / 482.6 MB, free: 11.01 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000323/0.7213, allocations: 93.81 kB / 482.7 MB, free: 11 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.7214, allocations: 0 / 482.7 MB, free: 11 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.784e-05/0.7214, allocations: 13.42 kB / 482.7 MB, free: 11 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.7214, allocations: 0 / 482.7 MB, free: 11 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.7214, allocations: 3.625 kB / 482.7 MB, free: 11 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001195/0.7226, allocations: 439.3 kB / 483.2 MB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.882e-05/0.7227, allocations: 88.91 kB / 483.3 MB, free: 10.7 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.693e-05/0.7227, allocations: 1.688 kB / 483.3 MB, free: 10.7 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002227/0.723, allocations: 37.19 kB / 483.3 MB, free: 10.7 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.506e-05/0.723, allocations: 10.55 kB / 483.3 MB, free: 10.7 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.984e-05/0.723, allocations: 17.81 kB / 483.3 MB, free: 10.7 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.835e-05/0.7231, allocations: 75.28 kB / 483.4 MB, free: 10.62 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001944/0.725, allocations: 0.6084 MB / 484 MB, free: 10.56 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 23 * 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.00306/0.7281, allocations: 330.4 kB / 484.3 MB, free: 10.41 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004714/0.7286, allocations: 163.3 kB / 484.5 MB, free: 10.4 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/0.7286, allocations: 3.938 kB / 484.5 MB, free: 10.4 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001207/0.7287, allocations: 85.47 kB / 484.6 MB, free: 10.39 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002264/0.729, allocations: 7.781 kB / 484.6 MB, free: 10.39 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001038/0.73, allocations: 253.8 kB / 484.8 MB, free: 10.3 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006371/0.7307, allocations: 0.7579 MB / 485.6 MB, free: 25.59 MB / 346.7 MB Notification: Performance of SimCode: time 6.51e-07/0.7307, allocations: 0 / 485.6 MB, free: 25.59 MB / 346.7 MB Notification: Performance of Templates: time 0.08925/0.8199, allocations: 48.17 MB / 0.5212 GB, free: 1.684 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1)