Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.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.001689/0.001689, allocations: 101.1 kB / 18.99 MB, free: 2.461 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.604/1.604, allocations: 230.7 MB / 252.7 MB, free: 14.24 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.00257/0.00257, allocations: 202.5 kB / 309.3 MB, free: 3.121 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.06913/0.06913, allocations: 8.92 MB / 374.7 MB, free: 6.574 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.TestDoubleLayer10over12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12") translateModel(HanserModelica.Machines.TestDoubleLayer10over12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12") [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.003277/0.003277, allocations: 87.88 kB / 0.4897 GB, free: 44.22 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1237, allocations: 55.6 MB / 0.544 GB, free: 4.516 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestDoubleLayer10over12): time 0.00287/0.1265, allocations: 1.257 MB / 0.5453 GB, free: 3.246 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002171/0.1287, allocations: 1.145 MB / 0.5464 GB, free: 2.094 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.452e-05/0.1287, allocations: 0 / 0.5464 GB, free: 2.094 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004385/0.1292, allocations: 75.7 kB / 0.5464 GB, free: 2.02 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001091/0.1303, allocations: 413.6 kB / 0.5468 GB, free: 1.617 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.857e-06/0.1303, allocations: 0 / 0.5468 GB, free: 1.617 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001941/0.1322, allocations: 1.046 MB / 0.5479 GB, free: 0.5703 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.422e-05/0.1323, allocations: 4 kB / 0.5479 GB, free: 0.5664 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.026e-05/0.1323, allocations: 11.94 kB / 0.5479 GB, free: 0.5547 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.648e-05/0.1323, allocations: 15.92 kB / 0.5479 GB, free: 0.5391 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.134e-05/0.1324, allocations: 0 / 0.5479 GB, free: 0.5391 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001528/0.1325, allocations: 39.97 kB / 0.5479 GB, free: 0.5 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.216e-05/0.1326, allocations: 27.84 kB / 0.548 GB, free: 484 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.489e-05/0.1326, allocations: 19.81 kB / 0.548 GB, free: 464 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002029/0.1328, allocations: 75.67 kB / 0.548 GB, free: 388 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.1328, allocations: 0 / 0.548 GB, free: 388 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1328, allocations: 4 kB / 0.548 GB, free: 384 kB / 366.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.1328, allocations: 4 kB / 0.5481 GB, free: 380 kB / 366.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.0005684/0.1334, allocations: 309.8 kB / 0.5483 GB, free: 40 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.311e-05/0.1335, allocations: 15.98 kB / 0.5484 GB, free: 24 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005087/0.134, allocations: 112.1 kB / 0.5485 GB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005841/0.1345, allocations: 318.1 kB / 0.5488 GB, free: 15.57 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.839e-05/0.1346, allocations: 150.9 kB / 0.5489 GB, free: 15.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.624e-05/0.1347, allocations: 162.9 kB / 0.5491 GB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.853e-05/0.1348, allocations: 105.3 kB / 0.5492 GB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.596e-05/0.1349, allocations: 75.28 kB / 0.5492 GB, free: 15.08 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.217e-05/0.1349, allocations: 158.6 kB / 0.5494 GB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.108e-05/0.135, allocations: 150.6 kB / 0.5495 GB, free: 14.78 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.437e-05/0.1351, allocations: 154.5 kB / 0.5497 GB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003742/0.1355, allocations: 413.6 kB / 0.5501 GB, free: 14.19 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001295/0.1356, allocations: 165.1 kB / 0.5502 GB, free: 14.02 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.34e-05/0.1357, allocations: 80.14 kB / 0.5503 GB, free: 13.94 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.401e-05/0.1357, allocations: 79.28 kB / 0.5504 GB, free: 13.86 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.933e-05/0.1358, allocations: 121.7 kB / 0.5505 GB, free: 13.73 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.1358, allocations: 4 kB / 0.5505 GB, free: 13.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 9.935e-05/0.1359, allocations: 41.55 kB / 0.5505 GB, free: 13.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.715e-05/0.136, allocations: 126.7 kB / 0.5507 GB, free: 13.54 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002299/0.1362, allocations: 167.3 kB / 0.5508 GB, free: 13.37 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.126e-05/0.1362, allocations: 25.7 kB / 0.5509 GB, free: 13.34 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.302e-05/0.1363, allocations: 100.1 kB / 0.5509 GB, free: 13.23 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.034e-06/0.1363, allocations: 0 / 0.5509 GB, free: 13.23 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.29e-05/0.1363, allocations: 9.719 kB / 0.551 GB, free: 13.22 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002665/0.1366, allocations: 322.8 kB / 0.5513 GB, free: 12.89 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.005e-05/0.1366, allocations: 4.047 kB / 0.5513 GB, free: 12.89 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.434e-06/0.1366, allocations: 11.94 kB / 0.5513 GB, free: 12.88 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.214e-05/0.1367, allocations: 79.28 kB / 0.5514 GB, free: 12.8 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-05/0.1367, allocations: 79.22 kB / 0.5514 GB, free: 12.72 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.312e-05/0.1368, allocations: 37.64 kB / 0.5515 GB, free: 12.68 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.189e-05/0.1368, allocations: 79.28 kB / 0.5515 GB, free: 12.6 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.033e-05/0.1369, allocations: 83.22 kB / 0.5516 GB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002041/0.1371, allocations: 154.5 kB / 0.5518 GB, free: 12.37 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.062e-05/0.1371, allocations: 75.28 kB / 0.5518 GB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.558e-05/0.1372, allocations: 162.5 kB / 0.552 GB, free: 12.13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.597e-05/0.1373, allocations: 75.28 kB / 0.5521 GB, free: 12.06 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.356e-05/0.1373, allocations: 75.28 kB / 0.5521 GB, free: 11.98 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 (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.0002112/0.1375, allocations: 276.4 kB / 0.5524 GB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002068/0.1377, allocations: 116.9 kB / 0.5525 GB, free: 11.58 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.934e-05/0.1378, allocations: 117.4 kB / 0.5526 GB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001837/0.138, allocations: 184.2 kB / 0.5528 GB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.455e-05/0.1381, allocations: 176.3 kB / 0.553 GB, free: 11.09 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001795/0.1383, allocations: 184.2 kB / 0.5531 GB, free: 10.91 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000282/0.1385, allocations: 372.8 kB / 0.5535 GB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.595e-05/0.1386, allocations: 101 kB / 0.5536 GB, free: 10.4 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.951e-05/0.1387, allocations: 108.9 kB / 0.5537 GB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001031/0.1388, allocations: 184.3 kB / 0.5539 GB, free: 10.1 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002035/0.139, allocations: 180.3 kB / 0.5541 GB, free: 9.914 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.181e-05/0.1391, allocations: 188.1 kB / 0.5542 GB, free: 9.723 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.915e-05/0.1391, allocations: 180.6 kB / 0.5544 GB, free: 9.539 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001872/0.1393, allocations: 315.7 kB / 0.5547 GB, free: 9.207 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.661e-05/0.1394, allocations: 116.9 kB / 0.5548 GB, free: 9.086 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/0.1395, allocations: 180.2 kB / 0.555 GB, free: 8.902 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.1396, allocations: 108.9 kB / 0.5551 GB, free: 8.789 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/0.1397, allocations: 184.2 kB / 0.5553 GB, free: 8.602 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.119e-05/0.1398, allocations: 101 kB / 0.5554 GB, free: 8.496 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001055/0.1399, allocations: 128.9 kB / 0.5555 GB, free: 8.371 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1399, allocations: 7.938 kB / 0.5555 GB, free: 8.363 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003078/0.1402, allocations: 4 kB / 0.5555 GB, free: 8.359 MB / 382.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.0002122/0.1404, allocations: 170.5 kB / 0.5557 GB, free: 8.18 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 4.61e-05/0.1404, allocations: 7.938 kB / 0.5557 GB, free: 8.172 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.1404, allocations: 0 / 0.5557 GB, free: 8.172 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.112e-06/0.1404, allocations: 7.938 kB / 0.5557 GB, free: 8.164 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005635/0.141, allocations: 477.5 kB / 0.5561 GB, free: 7.695 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000365/0.1414, allocations: 232.7 kB / 0.5564 GB, free: 7.441 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.592e-05/0.1415, allocations: 91.31 kB / 0.5564 GB, free: 7.332 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.715e-05/0.1415, allocations: 7.984 kB / 0.5564 GB, free: 7.324 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.036e-05/0.1415, allocations: 8.5 kB / 0.5565 GB, free: 7.316 MB / 382.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1415, allocations: 0 / 0.5565 GB, free: 7.316 MB / 382.1 MB Notification: Performance of Templates: time 0.003469/0.145, allocations: 490.9 kB / 0.5569 GB, free: 6.848 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.pipe ; mkfifo HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.pipe >> ../files/HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.sim & ./HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.443463769741356] Failed to read output from testmodel.py, exit status != 0: 0.15365101676434278 0.37622407199999996 0.23983319200000003 Calling exit ...