Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0015/0.0015, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.63/1.63, allocations: 230.6 MB / 252.7 MB, free: 8.102 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001682/0.001682, allocations: 215.9 kB / 309.2 MB, free: 2.953 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.04238/0.04238, allocations: 8.923 MB / 374.6 MB, free: 1.73 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(HanserModelica.Machines.TestSingleLayer12over12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.TestSingleLayer12over12") translateModel(HanserModelica.Machines.TestSingleLayer12over12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.TestSingleLayer12over12") [Timeout 660] "Notification: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002641/0.002641, allocations: 81.92 kB / 0.4896 GB, free: 4.195 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1386, allocations: 55.61 MB / 0.5439 GB, free: 4.418 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestSingleLayer12over12): time 0.003049/0.1416, allocations: 1.255 MB / 0.5451 GB, free: 3.148 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002398/0.144, allocations: 1.14 MB / 0.5462 GB, free: 2.004 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.179e-05/0.1441, allocations: 0 / 0.5462 GB, free: 2.004 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004506/0.1445, allocations: 83.58 kB / 0.5463 GB, free: 1.922 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001107/0.1456, allocations: 410.5 kB / 0.5467 GB, free: 1.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.198e-06/0.1456, allocations: 3.938 kB / 0.5467 GB, free: 1.516 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001717/0.1473, allocations: 1.034 MB / 0.5477 GB, free: 492 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.022e-05/0.1474, allocations: 4 kB / 0.5477 GB, free: 488 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.99e-05/0.1474, allocations: 11.92 kB / 0.5477 GB, free: 476 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.498e-05/0.1475, allocations: 23.81 kB / 0.5478 GB, free: 452 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.116e-05/0.1475, allocations: 0 / 0.5478 GB, free: 452 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001569/0.1476, allocations: 43.95 kB / 0.5478 GB, free: 408 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.361e-05/0.1477, allocations: 23.92 kB / 0.5478 GB, free: 384 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.948e-05/0.1477, allocations: 15.88 kB / 0.5478 GB, free: 368 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001978/0.1479, allocations: 75.67 kB / 0.5479 GB, free: 292 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.1479, allocations: 7.938 kB / 0.5479 GB, free: 284 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1479, allocations: 0 / 0.5479 GB, free: 284 kB / 350.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.1479, allocations: 0 / 0.5479 GB, free: 284 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004545/0.1484, allocations: 309.8 kB / 0.5482 GB, free: 15.95 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.1484, allocations: 15.95 kB / 0.5482 GB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003878/0.1488, allocations: 108.1 kB / 0.5483 GB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005307/0.1494, allocations: 318.2 kB / 0.5486 GB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.52e-05/0.1494, allocations: 150.9 kB / 0.5488 GB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.289e-05/0.1495, allocations: 154.9 kB / 0.5489 GB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001014/0.1496, allocations: 109.3 kB / 0.549 GB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.678e-05/0.1497, allocations: 75.28 kB / 0.5491 GB, free: 15 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.167e-05/0.1498, allocations: 150.6 kB / 0.5493 GB, free: 14.85 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.619e-05/0.1498, allocations: 150.6 kB / 0.5494 GB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.956e-05/0.1499, allocations: 150.6 kB / 0.5495 GB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003529/0.1502, allocations: 425.6 kB / 0.5499 GB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001189/0.1504, allocations: 177 kB / 0.5501 GB, free: 13.92 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.571e-05/0.1504, allocations: 80.14 kB / 0.5502 GB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.753e-05/0.1505, allocations: 75.28 kB / 0.5503 GB, free: 13.77 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.993e-05/0.1505, allocations: 109.8 kB / 0.5504 GB, free: 13.65 MB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.1505, allocations: 0 / 0.5504 GB, free: 13.65 MB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 8.632e-05/0.1506, allocations: 41.55 kB / 0.5504 GB, free: 13.6 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.543e-05/0.1507, allocations: 134.6 kB / 0.5505 GB, free: 13.46 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002218/0.1509, allocations: 176.1 kB / 0.5507 GB, free: 13.27 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.1509, allocations: 25.7 kB / 0.5507 GB, free: 13.24 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.302e-05/0.151, allocations: 100.1 kB / 0.5508 GB, free: 13.14 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.974e-06/0.151, allocations: 4 kB / 0.5508 GB, free: 13.14 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.605e-05/0.1511, allocations: 13.72 kB / 0.5508 GB, free: 13.12 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001784/0.1512, allocations: 318.8 kB / 0.5511 GB, free: 12.8 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.068e-05/0.1512, allocations: 4 kB / 0.5512 GB, free: 12.79 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.302e-06/0.1513, allocations: 4 kB / 0.5512 GB, free: 12.79 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.386e-05/0.1513, allocations: 75.28 kB / 0.5512 GB, free: 12.71 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.436e-05/0.1513, allocations: 75.28 kB / 0.5513 GB, free: 12.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.163e-05/0.1514, allocations: 33.66 kB / 0.5513 GB, free: 12.6 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.922e-05/0.1515, allocations: 83.28 kB / 0.5514 GB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.419e-05/0.1515, allocations: 83.16 kB / 0.5515 GB, free: 12.44 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.55e-05/0.1516, allocations: 154.6 kB / 0.5516 GB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.963e-05/0.1516, allocations: 83.22 kB / 0.5517 GB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.911e-05/0.1517, allocations: 154.5 kB / 0.5519 GB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.847e-05/0.1518, allocations: 75.28 kB / 0.5519 GB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.033e-05/0.1518, allocations: 87.27 kB / 0.552 GB, free: 11.89 MB / 366.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 (0): * Single equations (assignments): 0 * 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.0001831/0.152, allocations: 268.4 kB / 0.5523 GB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.305e-05/0.1521, allocations: 116.9 kB / 0.5524 GB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.236e-05/0.1522, allocations: 121.3 kB / 0.5525 GB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.543e-05/0.1523, allocations: 176.3 kB / 0.5527 GB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000101/0.1524, allocations: 180.3 kB / 0.5528 GB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.894e-05/0.1525, allocations: 188.2 kB / 0.553 GB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002826/0.1528, allocations: 372.8 kB / 0.5534 GB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.818e-05/0.1528, allocations: 104.9 kB / 0.5535 GB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.276e-05/0.1529, allocations: 105 kB / 0.5536 GB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001021/0.153, allocations: 180.2 kB / 0.5537 GB, free: 10.01 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.476e-05/0.1531, allocations: 176.3 kB / 0.5539 GB, free: 9.832 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001024/0.1532, allocations: 192.1 kB / 0.5541 GB, free: 9.637 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.661e-05/0.1533, allocations: 180.2 kB / 0.5543 GB, free: 9.453 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002119/0.1535, allocations: 311.7 kB / 0.5546 GB, free: 9.125 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.585e-05/0.1536, allocations: 120.9 kB / 0.5547 GB, free: 9 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00011/0.1537, allocations: 180.3 kB / 0.5549 GB, free: 8.816 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.393e-05/0.1538, allocations: 113.3 kB / 0.555 GB, free: 8.699 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001137/0.1539, allocations: 184.2 kB / 0.5551 GB, free: 8.512 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.237e-05/0.1539, allocations: 104.9 kB / 0.5552 GB, free: 8.402 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001278/0.1541, allocations: 127.9 kB / 0.5554 GB, free: 8.277 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1541, allocations: 0 / 0.5554 GB, free: 8.277 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000255/0.1543, allocations: 4 kB / 0.5554 GB, free: 8.273 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.0001825/0.1545, allocations: 166.5 kB / 0.5555 GB, free: 8.098 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 4.649e-05/0.1545, allocations: 4.047 kB / 0.5555 GB, free: 8.094 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.1546, allocations: 3.938 kB / 0.5555 GB, free: 8.09 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.768e-06/0.1546, allocations: 8.031 kB / 0.5555 GB, free: 8.082 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005637/0.1551, allocations: 475.7 kB / 0.556 GB, free: 7.613 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004072/0.1555, allocations: 248.7 kB / 0.5562 GB, free: 7.344 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.726e-05/0.1556, allocations: 75.33 kB / 0.5563 GB, free: 7.25 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.188e-05/0.1556, allocations: 7.984 kB / 0.5563 GB, free: 7.242 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.138e-05/0.1557, allocations: 7.438 kB / 0.5563 GB, free: 7.234 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1557, allocations: 0 / 0.5563 GB, free: 7.234 MB / 366.1 MB Notification: Performance of Templates: time 0.003218/0.1589, allocations: 0.5367 MB / 0.5568 GB, free: 6.711 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.pipe ; mkfifo HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.pipe >> ../files/HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.sim & ./HanserModelica_HanserModelica.Machines.TestSingleLayer12over12 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.3386102598160505] Failed to read output from testmodel.py, exit status != 0: 0.16756435483694077 0.183466808 0.032283723 Calling exit ...