Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Blocks.Limiters.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.Limiters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.Limiters") translateModel(ModelicaTest.Blocks.Limiters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.Limiters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001974/0.001975, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002452/0.002452, allocations: 190.2 kB / 16.14 MB, free: 6.711 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.541/1.541, allocations: 205.1 MB / 222 MB, free: 4.754 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3508/0.3508, allocations: 37.99 MB / 307.3 MB, free: 10.1 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.001352/0.001352, allocations: 67.92 kB / 374.5 MB, free: 15.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1358, allocations: 56.47 MB / 431 MB, free: 7.066 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.00381/0.1396, allocations: 1.722 MB / 432.7 MB, free: 5.328 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001063/0.1407, allocations: 0.6089 MB / 433.3 MB, free: 4.711 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001118/0.1408, allocations: 7.938 kB / 433.4 MB, free: 4.703 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 4.162e-05/0.1409, allocations: 3.938 kB / 433.4 MB, free: 4.699 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001242/0.141, allocations: 19.8 kB / 433.4 MB, free: 4.68 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003701/0.1414, allocations: 107.9 kB / 433.5 MB, free: 4.574 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001931/0.1416, allocations: 139.6 kB / 433.6 MB, free: 4.438 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001512/0.1418, allocations: 41.28 kB / 433.7 MB, free: 4.395 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000114/0.1419, allocations: 55.78 kB / 433.7 MB, free: 4.34 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001246/0.142, allocations: 67.67 kB / 433.8 MB, free: 4.273 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.126e-05/0.1421, allocations: 12 kB / 433.8 MB, free: 4.262 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.671e-05/0.1421, allocations: 8 kB / 433.8 MB, free: 4.254 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.259e-05/0.1421, allocations: 23.91 kB / 433.8 MB, free: 4.23 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.17e-05/0.1422, allocations: 59.64 kB / 433.9 MB, free: 4.172 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001846/0.1424, allocations: 115.6 kB / 434 MB, free: 4.059 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.1424, allocations: 3.984 kB / 434 MB, free: 4.055 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.614e-06/0.1424, allocations: 0 / 434 MB, free: 4.055 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.702e-06/0.1424, allocations: 0 / 434 MB, free: 4.055 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0008088/0.1433, allocations: 458.9 kB / 434.4 MB, free: 3.559 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.1433, allocations: 8.031 kB / 434.5 MB, free: 3.551 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.249e-05/0.1434, allocations: 12.84 kB / 434.5 MB, free: 3.539 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000303/0.1437, allocations: 231.9 kB / 434.7 MB, free: 3.273 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.1437, allocations: 8.375 kB / 434.7 MB, free: 3.266 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.76e-05/0.1437, allocations: 8.375 kB / 434.7 MB, free: 3.258 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004014/0.1441, allocations: 176.4 kB / 434.9 MB, free: 3.07 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.1442, allocations: 0 / 434.9 MB, free: 3.07 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.214e-05/0.1442, allocations: 8 kB / 434.9 MB, free: 3.062 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.1442, allocations: 0 / 434.9 MB, free: 3.062 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003656/0.1446, allocations: 127.8 kB / 435 MB, free: 2.938 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008267/0.1454, allocations: 452.2 kB / 435.5 MB, free: 2.445 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005707/0.146, allocations: 198.4 kB / 435.6 MB, free: 2.242 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000192/0.1462, allocations: 72.8 kB / 435.7 MB, free: 2.168 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/0.1462, allocations: 3.984 kB / 435.7 MB, free: 2.164 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.625e-05/0.1463, allocations: 38.56 kB / 435.8 MB, free: 2.117 MB / 366.1 MB Notification: Performance of pre-optimization done (n=8): time 1.242e-06/0.1463, allocations: 0 / 435.8 MB, free: 2.117 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.001476/0.1478, allocations: 0.5643 MB / 436.3 MB, free: 1.5 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.711e-05/0.1479, allocations: 114.8 kB / 436.4 MB, free: 1.363 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001679/0.148, allocations: 171 kB / 436.6 MB, free: 1.188 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.652e-05/0.1481, allocations: 33.7 kB / 436.6 MB, free: 1.148 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.266e-05/0.1481, allocations: 108.1 kB / 436.7 MB, free: 1.039 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.918e-05/0.1482, allocations: 27.56 kB / 436.8 MB, free: 1.012 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.633e-05/0.1482, allocations: 25.7 kB / 436.8 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002303/0.1485, allocations: 326.8 kB / 437.1 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002182/0.1487, allocations: 72.8 kB / 437.2 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002921/0.149, allocations: 90.5 kB / 437.3 MB, free: 492 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003736/0.1494, allocations: 140.7 kB / 437.4 MB, free: 348 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.1494, allocations: 4.281 kB / 437.4 MB, free: 344 kB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004516/0.1499, allocations: 193.3 kB / 437.6 MB, free: 144 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.1499, allocations: 8 kB / 437.6 MB, free: 136 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.1499, allocations: 0 / 437.6 MB, free: 136 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.1499, allocations: 0 / 437.6 MB, free: 136 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001829/0.1501, allocations: 43.84 kB / 437.7 MB, free: 92 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.1501, allocations: 0 / 437.7 MB, free: 92 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001229/0.1502, allocations: 19.97 kB / 437.7 MB, free: 72 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.283e-05/0.1503, allocations: 8 kB / 437.7 MB, free: 64 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000188/0.1505, allocations: 120.1 kB / 437.8 MB, free: 15.94 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001087/0.1506, allocations: 58.55 kB / 437.9 MB, free: 15.88 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001714/0.1508, allocations: 76.75 kB / 437.9 MB, free: 15.8 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.41e-07/0.1508, allocations: 0 / 437.9 MB, free: 15.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002331/0.151, allocations: 121.5 kB / 438 MB, free: 15.67 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.193e-06/0.151, allocations: 8 kB / 438.1 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-06/0.151, allocations: 0 / 438.1 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.037e-06/0.151, allocations: 3.984 kB / 438.1 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.965e-05/0.1511, allocations: 20.36 kB / 438.1 MB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.156e-06/0.1511, allocations: 3.938 kB / 438.1 MB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.209e-05/0.1512, allocations: 11.98 kB / 438.1 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.1513, allocations: 4 kB / 438.1 MB, free: 15.62 MB / 382.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001119/0.1514, allocations: 192.2 kB / 438.3 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.842e-05/0.1514, allocations: 11.81 kB / 438.3 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.71e-05/0.1515, allocations: 17.41 kB / 438.3 MB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.1515, allocations: 11.92 kB / 438.3 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.1515, allocations: 0 / 438.3 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.1515, allocations: 0 / 438.3 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008121/0.1523, allocations: 0.5108 MB / 438.8 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.1523, allocations: 7.875 kB / 438.8 MB, free: 14.81 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001597/0.1525, allocations: 31.97 kB / 438.9 MB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.1525, allocations: 4.031 kB / 438.9 MB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.744e-05/0.1526, allocations: 7.984 kB / 438.9 MB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1526, allocations: 0 / 438.9 MB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1526, allocations: 0 / 438.9 MB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008009/0.1534, allocations: 360 kB / 439.2 MB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.302e-05/0.1534, allocations: 92.97 kB / 439.3 MB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.652e-05/0.1535, allocations: 0 / 439.3 MB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001802/0.1537, allocations: 36.03 kB / 439.4 MB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.214e-05/0.1537, allocations: 7.984 kB / 439.4 MB, free: 14.24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/0.1537, allocations: 4 kB / 439.4 MB, free: 14.24 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001905/0.1539, allocations: 123.2 kB / 439.5 MB, free: 14.12 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1539, allocations: 0 / 439.5 MB, free: 14.12 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000302/0.1542, allocations: 32 kB / 439.5 MB, free: 14.09 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (idealDerivative.u) * 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 (9): * Single equations (assignments): 9 * 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.000104/0.1543, allocations: 111.1 kB / 439.6 MB, free: 13.97 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005368/0.1549, allocations: 187.8 kB / 439.8 MB, free: 13.79 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1549, allocations: 0 / 439.8 MB, free: 13.79 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002141/0.1551, allocations: 83.94 kB / 439.9 MB, free: 13.7 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004563/0.1556, allocations: 37.16 kB / 439.9 MB, free: 13.67 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000641/0.1562, allocations: 338.8 kB / 440.3 MB, free: 13.31 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000282/0.1565, allocations: 0.7088 MB / 441 MB, free: 12.58 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.465e-05/0.1566, allocations: 20.86 kB / 441 MB, free: 12.56 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.213e-05/0.1567, allocations: 19.42 kB / 441 MB, free: 12.54 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1567, allocations: 0 / 441 MB, free: 12.54 MB / 382.1 MB Notification: Performance of Templates: time 0.004963/0.1617, allocations: 2.004 MB / 443 MB, free: 10.54 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Blocks.Limiters.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Blocks.Limiters.sim & ./ModelicaTest_3.2.1_ModelicaTest.Blocks.Limiters -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Blocks.Limiters.pipe 2>&1)