Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegStep.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.TestRegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegStep") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.2+maint.om/package.mo): time 0.003632/0.003632, allocations: 184.1 kB / 7.456 MB, free: 2.508 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.343/1.343, allocations: 194.2 MB / 202.1 MB, free: 8.68 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.002021/0.002021, allocations: 113.3 kB / 247.1 MB, free: 6.379 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.1839/0.1839, allocations: 39.93 MB / 331.9 MB, free: 4.934 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.919e-06/4.939e-06, allocations: 0 / 392.8 MB, free: 75.92 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09911/0.09913, allocations: 54.88 MB / 447.6 MB, free: 21.03 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3064/0.4055, allocations: 78.33 MB / 0.5136 GB, free: 10.05 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002133/0.4058, allocations: 63.64 kB / 0.5137 GB, free: 10.05 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.001643/0.4075, allocations: 326.9 kB / 0.514 GB, free: 10.04 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.984e-06/0.4075, allocations: 0 / 0.514 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0001743/0.4077, allocations: 315.4 kB / 0.5143 GB, free: 9.695 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.4077, allocations: 10.25 kB / 0.5143 GB, free: 9.695 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.216e-05/0.4078, allocations: 4.703 kB / 0.5143 GB, free: 9.691 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.55e-05/0.4079, allocations: 165.3 kB / 0.5145 GB, free: 9.492 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.4079, allocations: 3.938 kB / 0.5145 GB, free: 9.488 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.757e-05/0.4079, allocations: 2.172 kB / 0.5145 GB, free: 9.488 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.679e-05/0.408, allocations: 7.922 kB / 0.5145 GB, free: 9.488 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.713e-05/0.408, allocations: 39.16 kB / 0.5145 GB, free: 9.453 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.408, allocations: 0 / 0.5145 GB, free: 9.453 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.295e-06/0.408, allocations: 4 kB / 0.5145 GB, free: 9.449 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.4081, allocations: 1.25 kB / 0.5145 GB, free: 9.449 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000109/0.4082, allocations: 127.7 kB / 0.5147 GB, free: 9.293 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000144/0.4083, allocations: 26.39 kB / 0.5147 GB, free: 9.277 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.671e-05/0.4084, allocations: 11.72 kB / 0.5147 GB, free: 9.27 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003147/0.4087, allocations: 123 kB / 0.5148 GB, free: 9.172 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.557e-05/0.4087, allocations: 43.81 kB / 0.5149 GB, free: 9.121 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.4087, allocations: 0 / 0.5149 GB, free: 9.121 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.001223/0.4099, allocations: 182.9 kB / 0.515 GB, free: 9.082 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.036e-05/0.41, allocations: 56.91 kB / 0.5151 GB, free: 9.016 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.914e-05/0.41, allocations: 86.12 kB / 0.5152 GB, free: 8.926 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.137e-05/0.41, allocations: 25.7 kB / 0.5152 GB, free: 8.895 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.461e-05/0.4101, allocations: 81.67 kB / 0.5153 GB, free: 8.812 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.892e-05/0.4101, allocations: 19.2 kB / 0.5153 GB, free: 8.801 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.538e-06/0.4101, allocations: 0 / 0.5153 GB, free: 8.801 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.091e-05/0.4102, allocations: 312 kB / 0.5156 GB, free: 8.488 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.496e-05/0.4102, allocations: 12.8 kB / 0.5156 GB, free: 8.484 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.97e-05/0.4102, allocations: 8.969 kB / 0.5156 GB, free: 8.484 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.059e-05/0.4103, allocations: 23.53 kB / 0.5156 GB, free: 8.48 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-07/0.4103, allocations: 1.219 kB / 0.5156 GB, free: 8.48 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001338/0.4105, allocations: 62.17 kB / 0.5157 GB, free: 8.449 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.4105, allocations: 6.75 kB / 0.5157 GB, free: 8.449 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.4105, allocations: 5.25 kB / 0.5157 GB, free: 8.445 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.4105, allocations: 0 / 0.5157 GB, free: 8.445 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001322/0.4106, allocations: 19.78 kB / 0.5157 GB, free: 8.445 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.4107, allocations: 3.906 kB / 0.5157 GB, free: 8.441 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.066e-05/0.4107, allocations: 12.59 kB / 0.5157 GB, free: 8.438 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.4108, allocations: 2.438 kB / 0.5157 GB, free: 8.438 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 (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 4.731e-05/0.4108, allocations: 107.8 kB / 0.5158 GB, free: 8.328 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.048e-05/0.4108, allocations: 3.75 kB / 0.5159 GB, free: 8.328 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001942/0.411, allocations: 79.3 kB / 0.5159 GB, free: 8.281 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.411, allocations: 5.312 kB / 0.5159 GB, free: 8.277 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.4111, allocations: 0 / 0.5159 GB, free: 8.277 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.4111, allocations: 0 / 0.5159 GB, free: 8.277 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005227/0.4116, allocations: 326.8 kB / 0.5162 GB, free: 7.996 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.4116, allocations: 0.7188 kB / 0.5162 GB, free: 7.996 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001237/0.4117, allocations: 20.66 kB / 0.5163 GB, free: 7.996 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.051e-06/0.4117, allocations: 5.266 kB / 0.5163 GB, free: 7.992 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.4118, allocations: 5.281 kB / 0.5163 GB, free: 7.988 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.165e-06/0.4118, allocations: 1.125 kB / 0.5163 GB, free: 7.988 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.4118, allocations: 0.9688 kB / 0.5163 GB, free: 7.988 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001631/0.4119, allocations: 180.7 kB / 0.5164 GB, free: 7.828 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.083e-05/0.412, allocations: 79.3 kB / 0.5165 GB, free: 7.734 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.745e-05/0.412, allocations: 1.828 kB / 0.5165 GB, free: 7.734 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001239/0.4121, allocations: 16.36 kB / 0.5165 GB, free: 7.727 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.932e-05/0.4122, allocations: 7.578 kB / 0.5165 GB, free: 7.723 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.4122, allocations: 2.344 kB / 0.5165 GB, free: 7.723 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.623e-05/0.4122, allocations: 76.38 kB / 0.5166 GB, free: 7.648 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002198/0.4124, allocations: 12.16 kB / 0.5166 GB, free: 7.645 MB / 346.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.0001227/0.4125, allocations: 99.73 kB / 0.5167 GB, free: 7.551 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001018/0.4126, allocations: 29.98 kB / 0.5168 GB, free: 7.547 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.4127, allocations: 0 / 0.5168 GB, free: 7.547 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.009e-05/0.4127, allocations: 19.84 kB / 0.5168 GB, free: 7.543 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001384/0.4128, allocations: 1.969 kB / 0.5168 GB, free: 7.543 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003592/0.4132, allocations: 93.25 kB / 0.5169 GB, free: 7.465 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001377/0.4133, allocations: 0.6962 MB / 0.5175 GB, free: 6.762 MB / 346.7 MB Notification: Performance of SimCode: time 2e-07/0.4134, allocations: 0 / 0.5175 GB, free: 6.762 MB / 346.7 MB Notification: Performance of Templates: time 0.002394/0.4158, allocations: 0.6283 MB / 0.5182 GB, free: 6.707 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegStep.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1)