Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegStep.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.TestRegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegStep") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegStep") [: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.003362/0.003362, allocations: 171.8 kB / 7.446 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.747/1.747, allocations: 170.6 MB / 178.4 MB, free: 15.39 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.001824/0.001824, allocations: 111.9 kB / 217.7 MB, free: 8.141 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.2311/0.2311, allocations: 37.97 MB / 294.8 MB, free: 9.602 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.005e-05/1.008e-05, allocations: 1.344 kB / 349.5 MB, free: 37.09 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1396, allocations: 48.7 MB / 398.2 MB, free: 5.668 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4614/0.601, allocations: 71.95 MB / 470.2 MB, free: 13.75 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003625/0.6015, allocations: 67.84 kB / 470.2 MB, free: 13.75 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.001938/0.6034, allocations: 318 kB / 470.5 MB, free: 13.73 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.367e-06/0.6035, allocations: 3.75 kB / 470.5 MB, free: 13.73 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002811/0.6038, allocations: 316 kB / 470.8 MB, free: 13.39 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.25e-05/0.6038, allocations: 11.56 kB / 470.9 MB, free: 13.38 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.953e-05/0.6039, allocations: 2.859 kB / 470.9 MB, free: 13.38 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001424/0.604, allocations: 163 kB / 471 MB, free: 13.18 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.008e-05/0.6041, allocations: 8.625 kB / 471 MB, free: 13.18 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.884e-05/0.6041, allocations: 3.906 kB / 471 MB, free: 13.18 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.97e-05/0.6042, allocations: 6.219 kB / 471 MB, free: 13.18 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.328e-05/0.6043, allocations: 31.77 kB / 471.1 MB, free: 13.14 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.6043, allocations: 0 / 471.1 MB, free: 13.14 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.545e-05/0.6043, allocations: 7.688 kB / 471.1 MB, free: 13.14 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.6043, allocations: 2.531 kB / 471.1 MB, free: 13.14 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001677/0.6045, allocations: 129 kB / 471.2 MB, free: 12.98 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002037/0.6047, allocations: 36.27 kB / 471.2 MB, free: 12.96 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.452e-05/0.6048, allocations: 9.922 kB / 471.3 MB, free: 12.95 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003536/0.6051, allocations: 125.8 kB / 471.4 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.939e-05/0.6052, allocations: 34.47 kB / 471.4 MB, free: 12.81 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.6052, allocations: 3.844 kB / 471.4 MB, free: 12.81 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.001256/0.6064, allocations: 176.6 kB / 471.6 MB, free: 12.77 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.837e-05/0.6065, allocations: 54.62 kB / 471.6 MB, free: 12.71 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.165e-05/0.6065, allocations: 94.28 kB / 471.7 MB, free: 12.61 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/0.6066, allocations: 25.7 kB / 471.8 MB, free: 12.58 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.756e-05/0.6066, allocations: 80.14 kB / 471.8 MB, free: 12.5 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.269e-05/0.6066, allocations: 16.78 kB / 471.9 MB, free: 12.49 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.139e-06/0.6066, allocations: 0 / 471.9 MB, free: 12.49 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.239e-05/0.6067, allocations: 317.5 kB / 472.2 MB, free: 12.18 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.538e-05/0.6068, allocations: 9 kB / 472.2 MB, free: 12.18 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.034e-05/0.6068, allocations: 6.906 kB / 472.2 MB, free: 12.18 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.752e-05/0.6069, allocations: 20.89 kB / 472.2 MB, free: 12.18 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-07/0.6069, allocations: 0 / 472.2 MB, free: 12.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001313/0.607, allocations: 63.91 kB / 472.3 MB, free: 12.14 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.607, allocations: 7.562 kB / 472.3 MB, free: 12.14 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.924e-06/0.607, allocations: 7.844 kB / 472.3 MB, free: 12.14 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.6071, allocations: 4 kB / 472.3 MB, free: 12.13 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.6072, allocations: 15.47 kB / 472.3 MB, free: 12.13 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.6072, allocations: 0 / 472.3 MB, free: 12.13 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.024e-05/0.6073, allocations: 11.83 kB / 472.3 MB, free: 12.13 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.857e-06/0.6073, allocations: 3.938 kB / 472.3 MB, free: 12.13 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 (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 7.088e-05/0.6074, allocations: 112.8 kB / 472.4 MB, free: 12.02 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.037e-05/0.6074, allocations: 3.906 kB / 472.4 MB, free: 12.01 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002293/0.6077, allocations: 77.91 kB / 472.5 MB, free: 11.98 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.6077, allocations: 0 / 472.5 MB, free: 11.98 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.6077, allocations: 0 / 472.5 MB, free: 11.98 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.6077, allocations: 4 kB / 472.5 MB, free: 11.97 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006032/0.6083, allocations: 322.6 kB / 472.8 MB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.6083, allocations: 4.641 kB / 472.8 MB, free: 11.69 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001118/0.6084, allocations: 16.42 kB / 472.8 MB, free: 11.69 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.6085, allocations: 0 / 472.8 MB, free: 11.69 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.6085, allocations: 3.875 kB / 472.8 MB, free: 11.69 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.6085, allocations: 0.8125 kB / 472.8 MB, free: 11.69 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.6085, allocations: 0 / 472.8 MB, free: 11.69 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001695/0.6087, allocations: 186.1 kB / 473 MB, free: 11.53 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.153e-05/0.6087, allocations: 82.73 kB / 473.1 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.006e-05/0.6087, allocations: 0 / 473.1 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001218/0.6089, allocations: 16.61 kB / 473.1 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.413e-05/0.6089, allocations: 1.5 kB / 473.1 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.309e-06/0.6089, allocations: 3.75 kB / 473.1 MB, free: 11.43 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.285e-05/0.6089, allocations: 79.28 kB / 473.2 MB, free: 11.35 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002192/0.6092, allocations: 7.25 kB / 473.2 MB, free: 11.35 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 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.0001805/0.6094, allocations: 106.1 kB / 473.3 MB, free: 11.26 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001192/0.6095, allocations: 29.88 kB / 473.3 MB, free: 11.25 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.6095, allocations: 0 / 473.3 MB, free: 11.25 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.799e-05/0.6095, allocations: 17.33 kB / 473.4 MB, free: 11.25 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001601/0.6097, allocations: 3.219 kB / 473.4 MB, free: 11.25 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003954/0.6101, allocations: 97.98 kB / 473.5 MB, free: 11.17 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003137/0.6104, allocations: 0.696 MB / 474.2 MB, free: 26.47 MB / 346.7 MB Notification: Performance of SimCode: time 2.61e-07/0.6104, allocations: 0 / 474.2 MB, free: 26.47 MB / 346.7 MB Notification: Performance of Templates: time 0.002732/0.6132, allocations: 0.6341 MB / 474.8 MB, free: 26.4 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegStep.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1)