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/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.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 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.2_ModelicaTest.Blocks.Limiters") translateModel(ModelicaTest.Blocks.Limiters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.Limiters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009455/0.0009454, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005718/0.005718, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.425/1.425, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3172/0.3172, allocations: 40 MB / 310.7 MB, free: 9.57 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.2. 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.0005959/0.0005961, allocations: 15.98 kB / 379.4 MB, free: 11.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1244, allocations: 57.96 MB / 437.4 MB, free: 1.914 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.00214/0.1266, allocations: 1.388 MB / 438.8 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001208/0.1278, allocations: 0.6361 MB / 439.4 MB, free: 15.87 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001354/0.128, allocations: 0 / 439.4 MB, free: 15.87 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.288e-05/0.128, allocations: 11.86 kB / 439.4 MB, free: 15.86 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001442/0.1282, allocations: 15.86 kB / 439.5 MB, free: 15.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004955/0.1287, allocations: 119.9 kB / 439.6 MB, free: 15.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002376/0.1289, allocations: 159.5 kB / 439.7 MB, free: 15.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001541/0.1291, allocations: 25.39 kB / 439.8 MB, free: 15.54 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001574/0.1293, allocations: 59.81 kB / 439.8 MB, free: 15.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001291/0.1294, allocations: 59.62 kB / 439.9 MB, free: 15.43 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.544e-05/0.1294, allocations: 8 kB / 439.9 MB, free: 15.42 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.072e-05/0.1295, allocations: 8 kB / 439.9 MB, free: 15.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.526e-05/0.1295, allocations: 27.91 kB / 439.9 MB, free: 15.38 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.479e-05/0.1296, allocations: 77.36 kB / 440 MB, free: 15.3 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001703/0.1298, allocations: 127.5 kB / 440.1 MB, free: 15.18 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.1298, allocations: 0 / 440.1 MB, free: 15.18 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1298, allocations: 0 / 440.1 MB, free: 15.18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.605e-06/0.1298, allocations: 0 / 440.1 MB, free: 15.18 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0007123/0.1305, allocations: 447 kB / 440.5 MB, free: 14.69 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.1306, allocations: 12.03 kB / 440.6 MB, free: 14.68 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.24e-05/0.1306, allocations: 16.75 kB / 440.6 MB, free: 14.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002776/0.1309, allocations: 223.9 kB / 440.8 MB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.312e-05/0.131, allocations: 8.375 kB / 440.8 MB, free: 14.4 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.535e-05/0.131, allocations: 20.12 kB / 440.8 MB, free: 14.38 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004614/0.1315, allocations: 192 kB / 441 MB, free: 14.18 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.1315, allocations: 3.984 kB / 441 MB, free: 14.17 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.434e-05/0.1315, allocations: 4 kB / 441 MB, free: 14.17 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.1315, allocations: 4 kB / 441 MB, free: 14.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004467/0.132, allocations: 159.9 kB / 441.2 MB, free: 14.01 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008942/0.1329, allocations: 472.3 kB / 441.6 MB, free: 13.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006582/0.1336, allocations: 246.5 kB / 441.9 MB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002419/0.1338, allocations: 88.8 kB / 442 MB, free: 13.16 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.188e-05/0.1339, allocations: 4 kB / 442 MB, free: 13.15 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.1339, allocations: 46.42 kB / 442 MB, free: 13.1 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.202e-06/0.1339, allocations: 0 / 442 MB, free: 13.1 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.001624/0.1355, allocations: 0.6662 MB / 442.7 MB, free: 12.38 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.595e-05/0.1356, allocations: 102.8 kB / 442.8 MB, free: 12.25 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001507/0.1358, allocations: 167 kB / 442.9 MB, free: 12.08 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/0.1358, allocations: 29.7 kB / 443 MB, free: 12.05 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.928e-05/0.1359, allocations: 108 kB / 443.1 MB, free: 11.94 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.581e-05/0.1359, allocations: 31.64 kB / 443.1 MB, free: 11.91 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.348e-05/0.136, allocations: 21.66 kB / 443.1 MB, free: 11.88 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.1361, allocations: 322.8 kB / 443.4 MB, free: 11.55 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002444/0.1363, allocations: 87.88 kB / 443.5 MB, free: 11.47 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002539/0.1366, allocations: 118.5 kB / 443.6 MB, free: 11.34 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004585/0.137, allocations: 172.8 kB / 443.8 MB, free: 11.17 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1371, allocations: 0 / 443.8 MB, free: 11.17 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005478/0.1376, allocations: 229.4 kB / 444 MB, free: 10.94 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.704e-05/0.1377, allocations: 92.94 kB / 444.1 MB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.1377, allocations: 4.156 kB / 444.1 MB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.1377, allocations: 0 / 444.1 MB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002049/0.1379, allocations: 51.91 kB / 444.2 MB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.138, allocations: 3.984 kB / 444.2 MB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001521/0.1381, allocations: 35.97 kB / 444.2 MB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.1381, allocations: 0 / 444.2 MB, free: 10.75 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.837e-06/0.1382, allocations: 4 kB / 444.2 MB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002449/0.1384, allocations: 104.2 kB / 444.3 MB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.365e-06/0.1384, allocations: 3.938 kB / 444.3 MB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-06/0.1384, allocations: 0 / 444.3 MB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.1385, allocations: 23.98 kB / 444.4 MB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.838e-06/0.1385, allocations: 3.938 kB / 444.4 MB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.407e-05/0.1386, allocations: 15.98 kB / 444.4 MB, free: 10.6 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-06/0.1386, allocations: 8 kB / 444.4 MB, free: 10.59 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.0001248/0.1388, allocations: 193.1 kB / 444.6 MB, free: 10.39 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.621e-05/0.1388, allocations: 11.81 kB / 444.6 MB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.378e-05/0.1389, allocations: 21.39 kB / 444.6 MB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.1389, allocations: 3.938 kB / 444.6 MB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.1389, allocations: 4 kB / 444.6 MB, free: 10.35 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.1389, allocations: 0 / 444.6 MB, free: 10.35 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009371/0.1399, allocations: 0.5538 MB / 445.2 MB, free: 9.738 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/0.1399, allocations: 7.938 kB / 445.2 MB, free: 9.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001833/0.1401, allocations: 47.91 kB / 445.2 MB, free: 9.684 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.1401, allocations: 0 / 445.2 MB, free: 9.684 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.1401, allocations: 0 / 445.2 MB, free: 9.684 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.1401, allocations: 0 / 445.2 MB, free: 9.684 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.1401, allocations: 4 kB / 445.2 MB, free: 9.68 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008183/0.1409, allocations: 420 kB / 445.6 MB, free: 9.25 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.264e-05/0.141, allocations: 93.05 kB / 445.7 MB, free: 9.141 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.512e-05/0.141, allocations: 0 / 445.7 MB, free: 9.141 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002773/0.1413, allocations: 59.95 kB / 445.8 MB, free: 9.082 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.28e-05/0.1414, allocations: 7.969 kB / 445.8 MB, free: 9.074 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.321e-05/0.1414, allocations: 7.984 kB / 445.8 MB, free: 9.066 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001054/0.1415, allocations: 127.2 kB / 445.9 MB, free: 8.941 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1415, allocations: 0 / 445.9 MB, free: 8.941 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003113/0.1418, allocations: 36 kB / 446 MB, free: 8.906 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.0001197/0.142, allocations: 99.12 kB / 446.1 MB, free: 8.801 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006788/0.1426, allocations: 244.1 kB / 446.3 MB, free: 8.562 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.1427, allocations: 4 kB / 446.3 MB, free: 8.559 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002523/0.1429, allocations: 95.94 kB / 446.4 MB, free: 8.465 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004293/0.1434, allocations: 35.91 kB / 446.4 MB, free: 8.43 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006911/0.1441, allocations: 352.6 kB / 446.8 MB, free: 8.055 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002618/0.1443, allocations: 0.7126 MB / 447.5 MB, free: 7.316 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.157e-05/0.1444, allocations: 16.88 kB / 447.5 MB, free: 7.297 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.737e-05/0.1445, allocations: 19.42 kB / 447.5 MB, free: 7.277 MB / 382.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1445, allocations: 0 / 447.5 MB, free: 7.277 MB / 382.1 MB Notification: Performance of Templates: time 0.005199/0.1497, allocations: 2.084 MB / 449.6 MB, free: 5.207 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Blocks.Limiters.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: