Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Blocks.StrictLimiters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.StrictLimiters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.StrictLimiters") translateModel(ModelicaTest.Blocks.StrictLimiters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.StrictLimiters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01052/0.01052, allocations: 99.41 kB / 15.73 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001921/0.001921, allocations: 195.1 kB / 16.67 MB, free: 5.527 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.765/1.765, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1877/0.1877, allocations: 38.01 MB / 307.9 MB, free: 5.984 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 69.94 kB / 433 MB, free: 14.43 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1223, allocations: 56.48 MB / 489.5 MB, free: 5.875 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.004868/0.1272, allocations: 3.532 MB / 493 MB, free: 2.316 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002555/0.1298, allocations: 1.435 MB / 494.4 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000374/0.1302, allocations: 27.81 kB / 494.4 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003113/0.1306, allocations: 118.7 kB / 494.6 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005016/0.1311, allocations: 162.5 kB / 494.7 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001069/0.1322, allocations: 0.5966 MB / 495.3 MB, free: 15.97 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008898/0.133, allocations: 0.9483 MB / 496.3 MB, free: 15.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000429/0.1335, allocations: 308.3 kB / 496.6 MB, free: 14.7 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004524/0.1339, allocations: 370.4 kB / 496.9 MB, free: 14.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003459/0.1343, allocations: 366 kB / 497.3 MB, free: 13.98 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001018/0.1344, allocations: 72 kB / 497.4 MB, free: 13.91 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.157e-05/0.1345, allocations: 72 kB / 497.4 MB, free: 13.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001379/0.1347, allocations: 179.2 kB / 497.6 MB, free: 13.66 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002846/0.1349, allocations: 365.8 kB / 498 MB, free: 13.3 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000741/0.1357, allocations: 0.8443 MB / 498.8 MB, free: 12.45 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.1357, allocations: 4 kB / 498.8 MB, free: 12.45 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1357, allocations: 0 / 498.8 MB, free: 12.45 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.766e-06/0.1357, allocations: 0 / 498.8 MB, free: 12.45 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.002192/0.1379, allocations: 1.207 MB / 0.4883 GB, free: 11.19 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.138, allocations: 11.89 kB / 0.4883 GB, free: 11.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001512/0.1381, allocations: 99.72 kB / 0.4884 GB, free: 11.08 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009017/0.139, allocations: 0.609 MB / 0.489 GB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.377e-05/0.1391, allocations: 41.38 kB / 0.489 GB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.21e-05/0.1392, allocations: 52.36 kB / 0.4891 GB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00139/0.1406, allocations: 0.7074 MB / 0.4898 GB, free: 9.582 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/0.1406, allocations: 0 / 0.4898 GB, free: 9.582 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.726e-05/0.1407, allocations: 20 kB / 0.4898 GB, free: 9.562 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.304e-05/0.1407, allocations: 23.94 kB / 0.4898 GB, free: 9.539 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001469/0.1422, allocations: 0.5542 MB / 0.4904 GB, free: 8.984 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003205/0.1454, allocations: 2.294 MB / 0.4926 GB, free: 6.602 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00177/0.1472, allocations: 0.7138 MB / 0.4933 GB, free: 5.852 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008236/0.148, allocations: 330.2 kB / 0.4936 GB, free: 5.523 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.717e-05/0.1481, allocations: 8.375 kB / 0.4936 GB, free: 5.516 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.704e-05/0.1481, allocations: 50.86 kB / 0.4937 GB, free: 5.457 MB / 382.1 MB Notification: Performance of pre-optimization done (n=48): time 2.896e-06/0.1481, allocations: 0 / 0.4937 GB, free: 5.457 MB / 382.1 MB Notification: Performance of matching and sorting (n=50): time 0.004917/0.1531, allocations: 1.925 MB / 0.4955 GB, free: 3.48 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001284/0.1532, allocations: 192.3 kB / 0.4957 GB, free: 3.25 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007944/0.154, allocations: 0.5864 MB / 0.4963 GB, free: 2.656 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.571e-05/0.1541, allocations: 33.7 kB / 0.4963 GB, free: 2.617 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003463/0.1545, allocations: 364.8 kB / 0.4967 GB, free: 2.254 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001782/0.1546, allocations: 173.5 kB / 0.4969 GB, free: 2.082 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002003/0.1549, allocations: 110.1 kB / 0.497 GB, free: 1.965 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001919/0.1551, allocations: 330 kB / 0.4973 GB, free: 1.637 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008748/0.1559, allocations: 302.8 kB / 0.4976 GB, free: 1.34 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000953/0.1569, allocations: 418 kB / 0.498 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001701/0.1586, allocations: 0.6473 MB / 0.4986 GB, free: 216 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.1586, allocations: 0 / 0.4986 GB, free: 216 kB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002061/0.1607, allocations: 0.7986 MB / 0.4994 GB, free: 15.4 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.542e-05/0.1607, allocations: 8 kB / 0.4994 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.446e-05/0.1608, allocations: 0 / 0.4994 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.867e-05/0.1608, allocations: 11.94 kB / 0.4994 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009496/0.1618, allocations: 191.8 kB / 0.4996 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.13e-05/0.1618, allocations: 8 kB / 0.4996 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000602/0.1624, allocations: 79.91 kB / 0.4997 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.361e-05/0.1625, allocations: 19.98 kB / 0.4997 GB, free: 15.09 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008028/0.1633, allocations: 369 kB / 0.5 GB, free: 14.72 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006458/0.1639, allocations: 355.6 kB / 0.5004 GB, free: 14.32 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001179/0.1651, allocations: 0.5359 MB / 0.5009 GB, free: 13.75 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.354e-06/0.1651, allocations: 0 / 0.5009 GB, free: 13.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.001573/0.1667, allocations: 0.6629 MB / 0.5015 GB, free: 13.08 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.1668, allocations: 4 kB / 0.5015 GB, free: 13.08 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.1668, allocations: 4 kB / 0.5015 GB, free: 13.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.839e-06/0.1668, allocations: 8.25 kB / 0.5016 GB, free: 13.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000698/0.1675, allocations: 167.8 kB / 0.5017 GB, free: 12.9 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/0.1675, allocations: 11.88 kB / 0.5017 GB, free: 12.89 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005011/0.168, allocations: 63.88 kB / 0.5018 GB, free: 12.83 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.398e-05/0.1681, allocations: 20 kB / 0.5018 GB, free: 12.81 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 4 (PID2.I.local_reset,PID1.I.local_reset,limIntegrator2.local_reset,limIntegrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002868/0.1684, allocations: 212.1 kB / 0.502 GB, free: 12.59 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001309/0.1685, allocations: 75.06 kB / 0.5021 GB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002577/0.1688, allocations: 87.52 kB / 0.5022 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/0.1688, allocations: 11.94 kB / 0.5022 GB, free: 12.42 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.321e-05/0.1688, allocations: 0 / 0.5022 GB, free: 12.42 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/0.1688, allocations: 3.984 kB / 0.5022 GB, free: 12.41 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002807/0.1716, allocations: 1.458 MB / 0.5036 GB, free: 10.9 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.1716, allocations: 4 kB / 0.5036 GB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007174/0.1724, allocations: 151.8 kB / 0.5037 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.024e-05/0.1724, allocations: 12.05 kB / 0.5038 GB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.201e-05/0.1724, allocations: 15.98 kB / 0.5038 GB, free: 10.72 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.1724, allocations: 4 kB / 0.5038 GB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.1725, allocations: 0 / 0.5038 GB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002833/0.1753, allocations: 1.253 MB / 0.505 GB, free: 9.438 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002424/0.1755, allocations: 184.2 kB / 0.5052 GB, free: 9.238 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.113e-05/0.1756, allocations: 12 kB / 0.5052 GB, free: 9.227 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005657/0.1762, allocations: 79.91 kB / 0.5053 GB, free: 9.148 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/0.1763, allocations: 47.88 kB / 0.5053 GB, free: 9.102 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.906e-05/0.1764, allocations: 19.98 kB / 0.5053 GB, free: 9.082 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004814/0.1769, allocations: 407.1 kB / 0.5057 GB, free: 8.688 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1769, allocations: 0 / 0.5057 GB, free: 8.688 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007038/0.1776, allocations: 180 kB / 0.5059 GB, free: 8.512 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (der1.u,der2.u,limIntegrator1.y,limIntegrator2.y,PID1.I.y,PID1.D.x,PID2.I.y,PID2.D.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001418/0.1777, allocations: 111.1 kB / 0.506 GB, free: 8.395 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002547/0.1803, allocations: 0.985 MB / 0.507 GB, free: 7.41 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/0.1803, allocations: 0 / 0.507 GB, free: 7.41 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008902/0.1812, allocations: 355.7 kB / 0.5073 GB, free: 7.062 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001059/0.1823, allocations: 208.9 kB / 0.5075 GB, free: 6.871 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003321/0.1856, allocations: 1.504 MB / 0.509 GB, free: 5.324 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004927/0.1861, allocations: 0.9296 MB / 0.5099 GB, free: 4.367 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003964/0.1865, allocations: 97.16 kB / 0.51 GB, free: 4.27 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001889/0.1867, allocations: 55.42 kB / 0.51 GB, free: 4.215 MB / 398.1 MB Notification: Performance of SimCode: time 8.81e-07/0.1867, allocations: 0 / 0.51 GB, free: 4.215 MB / 398.1 MB Notification: Performance of Templates: time 0.01511/0.2018, allocations: 8.801 MB / 0.5186 GB, free: 11.43 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Blocks.StrictLimiters.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Blocks.StrictLimiters.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Blocks.StrictLimiters.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Blocks.StrictLimiters.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Blocks.StrictLimiters.sim & ./ModelicaTest_3.2.1_ModelicaTest.Blocks.StrictLimiters -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Blocks.StrictLimiters.pipe 2>&1)