Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.Limiters.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.Blocks.Limiters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.Limiters") translateModel(ModelicaTest.Blocks.Limiters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.Limiters") [: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.002735/0.002735, allocations: 188.4 kB / 7.463 MB, free: 2.5 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.226/1.226, allocations: 194.2 MB / 202.1 MB, free: 8.812 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.001713/0.001713, allocations: 122.8 kB / 247.1 MB, free: 6.293 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.1805/0.1805, allocations: 39.93 MB / 331.9 MB, free: 4.91 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.102e-06/6.122e-06, allocations: 4 kB / 392.8 MB, free: 75.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1128, allocations: 54.87 MB / 447.6 MB, free: 21 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3025/0.4153, allocations: 81.01 MB / 0.5163 GB, free: 9.961 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002136/0.4155, allocations: 63.02 kB / 0.5163 GB, free: 9.961 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.01219/0.4277, allocations: 3.69 MB / 0.5199 GB, free: 9.426 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.758e-05/0.4278, allocations: 2.656 kB / 0.5199 GB, free: 9.426 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005196/0.4283, allocations: 447.7 kB / 0.5204 GB, free: 9.02 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.4284, allocations: 8.906 kB / 0.5204 GB, free: 9.02 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.923e-05/0.4284, allocations: 10.31 kB / 0.5204 GB, free: 9.016 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002519/0.4287, allocations: 211.7 kB / 0.5206 GB, free: 8.793 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.4287, allocations: 6.344 kB / 0.5206 GB, free: 8.793 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.511e-05/0.4288, allocations: 7.781 kB / 0.5206 GB, free: 8.789 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001385/0.4289, allocations: 51.95 kB / 0.5206 GB, free: 8.785 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001825/0.4291, allocations: 116 kB / 0.5208 GB, free: 8.715 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.4291, allocations: 1.312 kB / 0.5208 GB, free: 8.715 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.108e-05/0.4291, allocations: 0 / 0.5208 GB, free: 8.715 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.463e-06/0.4292, allocations: 6.469 kB / 0.5208 GB, free: 8.711 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007175/0.4299, allocations: 431.7 kB / 0.5212 GB, free: 8.387 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004279/0.4303, allocations: 167.9 kB / 0.5213 GB, free: 8.332 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.397e-05/0.4304, allocations: 25.67 kB / 0.5214 GB, free: 8.324 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.386e-05/0.4304, allocations: 4.906 kB / 0.5214 GB, free: 8.324 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.748e-05/0.4304, allocations: 35.69 kB / 0.5214 GB, free: 8.281 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.4304, allocations: 0 / 0.5214 GB, free: 8.281 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002217/0.4307, allocations: 87.7 kB / 0.5215 GB, free: 8.238 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.748e-05/0.4307, allocations: 112 kB / 0.5216 GB, free: 8.109 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.823e-05/0.4308, allocations: 123.9 kB / 0.5217 GB, free: 8.012 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.4308, allocations: 27.02 kB / 0.5217 GB, free: 7.98 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.639e-05/0.4308, allocations: 100 kB / 0.5218 GB, free: 7.887 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.33e-05/0.4309, allocations: 26.31 kB / 0.5219 GB, free: 7.867 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.023e-06/0.4309, allocations: 0 / 0.5219 GB, free: 7.867 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.598e-05/0.4309, allocations: 328.4 kB / 0.5222 GB, free: 7.543 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.687e-05/0.431, allocations: 24.12 kB / 0.5222 GB, free: 7.543 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.762e-05/0.4311, allocations: 46.94 kB / 0.5222 GB, free: 7.516 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.322e-05/0.4311, allocations: 17.91 kB / 0.5222 GB, free: 7.516 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.4311, allocations: 0 / 0.5222 GB, free: 7.516 MB / 346.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000143/0.4313, allocations: 95.44 kB / 0.5223 GB, free: 7.473 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.363e-05/0.4313, allocations: 98.92 kB / 0.5224 GB, free: 7.375 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.4313, allocations: 4 kB / 0.5224 GB, free: 7.371 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.4313, allocations: 9.234 kB / 0.5224 GB, free: 7.363 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001784/0.4315, allocations: 47.56 kB / 0.5225 GB, free: 7.352 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.008e-06/0.4315, allocations: 320 / 0.5225 GB, free: 7.352 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001495/0.4317, allocations: 38.03 kB / 0.5225 GB, free: 7.34 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.4317, allocations: 1.406 kB / 0.5225 GB, free: 7.34 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.012e-06/0.4317, allocations: 4.125 kB / 0.5225 GB, free: 7.34 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 7.799e-05/0.4318, allocations: 40.56 kB / 0.5226 GB, free: 7.332 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.974e-06/0.4318, allocations: 1.906 kB / 0.5226 GB, free: 7.332 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.495e-06/0.4318, allocations: 0 / 0.5226 GB, free: 7.332 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.075e-05/0.4319, allocations: 28.8 kB / 0.5226 GB, free: 7.32 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.104e-06/0.4319, allocations: 1.656 kB / 0.5226 GB, free: 7.32 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.078e-05/0.432, allocations: 17.73 kB / 0.5226 GB, free: 7.312 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.432, allocations: 4.656 kB / 0.5226 GB, free: 7.312 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 (8): * Single equations (assignments): 8 * 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.651e-05/0.4321, allocations: 107.4 kB / 0.5227 GB, free: 7.203 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.987e-05/0.4321, allocations: 9.719 kB / 0.5227 GB, free: 7.199 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.318e-05/0.4322, allocations: 18.11 kB / 0.5228 GB, free: 7.184 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.4322, allocations: 1.375 kB / 0.5228 GB, free: 7.184 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.4322, allocations: 0 / 0.5228 GB, free: 7.184 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.4322, allocations: 1.406 kB / 0.5228 GB, free: 7.184 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000156/0.4324, allocations: 188.7 kB / 0.5229 GB, free: 7.004 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.4324, allocations: 3.938 kB / 0.5229 GB, free: 7 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001863/0.4326, allocations: 42.19 kB / 0.523 GB, free: 6.988 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.4326, allocations: 5.156 kB / 0.523 GB, free: 6.984 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.598e-05/0.4326, allocations: 9.422 kB / 0.523 GB, free: 6.98 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.4326, allocations: 7.938 kB / 0.523 GB, free: 6.973 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.4326, allocations: 0 / 0.523 GB, free: 6.973 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002221/0.4328, allocations: 204.3 kB / 0.5232 GB, free: 6.836 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.637e-05/0.4329, allocations: 99.42 kB / 0.5233 GB, free: 6.727 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.791e-05/0.4329, allocations: 3.984 kB / 0.5233 GB, free: 6.723 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002955/0.4332, allocations: 58.95 kB / 0.5234 GB, free: 6.703 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.977e-05/0.4333, allocations: 2.75 kB / 0.5234 GB, free: 6.703 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.5e-05/0.4333, allocations: 7.141 kB / 0.5234 GB, free: 6.699 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.978e-05/0.4333, allocations: 100.6 kB / 0.5235 GB, free: 6.625 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003214/0.4337, allocations: 38.77 kB / 0.5235 GB, free: 6.613 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (slewRateLimiter.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001135/0.4338, allocations: 102.6 kB / 0.5236 GB, free: 6.516 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002016/0.434, allocations: 88.67 kB / 0.5237 GB, free: 6.508 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.434, allocations: 0 / 0.5237 GB, free: 6.508 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.498e-05/0.4341, allocations: 33.91 kB / 0.5237 GB, free: 6.504 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002072/0.4343, allocations: 11 kB / 0.5237 GB, free: 6.504 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003705/0.4346, allocations: 138.7 kB / 0.5239 GB, free: 6.406 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001719/0.4348, allocations: 0.7233 MB / 0.5246 GB, free: 5.684 MB / 346.7 MB Notification: Performance of SimCode: time 3e-07/0.4348, allocations: 0 / 0.5246 GB, free: 5.684 MB / 346.7 MB Notification: Performance of Templates: time 0.004207/0.439, allocations: 1.903 MB / 0.5264 GB, free: 4.75 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Blocks.Limiters.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Blocks.Limiters.sim & ./ModelicaTest_3.2.2_ModelicaTest.Blocks.Limiters -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Blocks.Limiters.pipe 2>&1)