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.001362/0.001362, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.491/1.491, allocations: 230.6 MB / 253.4 MB, free: 14.48 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.001645/0.001645, allocations: 217.5 kB / 310 MB, free: 2.973 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.04167/0.04167, allocations: 8.911 MB / 375.3 MB, free: 6.594 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.002599/0.002599, allocations: 87.88 kB / 0.4903 GB, free: 44.27 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1084, allocations: 55.62 MB / 0.5447 GB, free: 4.551 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestSingleLayer12over12): time 0.002452/0.1109, allocations: 1.253 MB / 0.5459 GB, free: 3.285 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002101/0.113, allocations: 1.135 MB / 0.547 GB, free: 2.145 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.733e-05/0.113, allocations: 4 kB / 0.547 GB, free: 2.141 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000456/0.1134, allocations: 75.64 kB / 0.5471 GB, free: 2.066 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001105/0.1146, allocations: 409.1 kB / 0.5475 GB, free: 1.668 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.489e-06/0.1146, allocations: 3.938 kB / 0.5475 GB, free: 1.664 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001708/0.1163, allocations: 1.046 MB / 0.5485 GB, free: 0.6172 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.13e-05/0.1163, allocations: 0 / 0.5485 GB, free: 0.6172 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.822e-05/0.1163, allocations: 11.94 kB / 0.5485 GB, free: 0.6055 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.133e-05/0.1164, allocations: 15.86 kB / 0.5485 GB, free: 0.5898 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.016e-05/0.1164, allocations: 4 kB / 0.5485 GB, free: 0.5859 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000148/0.1165, allocations: 43.97 kB / 0.5486 GB, free: 0.543 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.632e-05/0.1166, allocations: 15.98 kB / 0.5486 GB, free: 0.5273 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.162e-05/0.1166, allocations: 19.8 kB / 0.5486 GB, free: 0.5078 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001875/0.1168, allocations: 87.61 kB / 0.5487 GB, free: 432 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1168, allocations: 0 / 0.5487 GB, free: 432 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1168, allocations: 0 / 0.5487 GB, free: 432 kB / 366.1 MB Notification: Performance of Transformations before backend: time 5.07e-06/0.1168, allocations: 0 / 0.5487 GB, free: 432 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.0004185/0.1172, allocations: 313.8 kB / 0.549 GB, free: 88 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.1173, allocations: 11.98 kB / 0.549 GB, free: 76 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003941/0.1177, allocations: 112.1 kB / 0.5491 GB, free: 15.96 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005351/0.1182, allocations: 326.1 kB / 0.5494 GB, free: 15.62 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.2e-05/0.1183, allocations: 150.9 kB / 0.5495 GB, free: 15.47 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.221e-05/0.1183, allocations: 150.9 kB / 0.5497 GB, free: 15.32 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001028/0.1185, allocations: 109.3 kB / 0.5498 GB, free: 15.21 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.554e-05/0.1185, allocations: 75.28 kB / 0.5499 GB, free: 15.13 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.101e-05/0.1186, allocations: 158.5 kB / 0.55 GB, free: 14.98 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.55e-05/0.1186, allocations: 154.6 kB / 0.5502 GB, free: 14.82 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.57e-05/0.1187, allocations: 162.5 kB / 0.5503 GB, free: 14.66 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000383/0.1191, allocations: 409.6 kB / 0.5507 GB, free: 14.23 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001173/0.1192, allocations: 173.1 kB / 0.5509 GB, free: 14.05 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.992e-05/0.1193, allocations: 80.14 kB / 0.5509 GB, free: 13.97 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.901e-05/0.1193, allocations: 75.28 kB / 0.551 GB, free: 13.9 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.206e-05/0.1194, allocations: 105.8 kB / 0.5511 GB, free: 13.79 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 1.232e-06/0.1194, allocations: 0 / 0.5511 GB, free: 13.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 9.712e-05/0.1195, allocations: 53.47 kB / 0.5512 GB, free: 13.73 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.796e-05/0.1195, allocations: 126.7 kB / 0.5513 GB, free: 13.59 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001985/0.1197, allocations: 163.3 kB / 0.5514 GB, free: 13.42 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.1198, allocations: 33.64 kB / 0.5515 GB, free: 13.38 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.905e-05/0.1198, allocations: 100.1 kB / 0.5516 GB, free: 13.28 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.833e-06/0.1198, allocations: 0 / 0.5516 GB, free: 13.28 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.604e-05/0.1199, allocations: 13.72 kB / 0.5516 GB, free: 13.26 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.12, allocations: 322.8 kB / 0.5519 GB, free: 12.93 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.489e-06/0.12, allocations: 0 / 0.5519 GB, free: 12.93 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.566e-06/0.12, allocations: 0 / 0.5519 GB, free: 12.93 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.641e-05/0.1201, allocations: 75.28 kB / 0.552 GB, free: 12.86 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001018/0.1202, allocations: 75.28 kB / 0.552 GB, free: 12.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 7.179e-05/0.1203, allocations: 45.64 kB / 0.5521 GB, free: 12.73 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.948e-05/0.1203, allocations: 83.28 kB / 0.5522 GB, free: 12.65 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.844e-05/0.1204, allocations: 87.2 kB / 0.5522 GB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.116e-05/0.1205, allocations: 150.6 kB / 0.5524 GB, free: 12.42 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.682e-05/0.1205, allocations: 83.22 kB / 0.5525 GB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001526/0.1207, allocations: 154.5 kB / 0.5526 GB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.654e-05/0.1207, allocations: 79.22 kB / 0.5527 GB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.493e-05/0.1208, allocations: 79.28 kB / 0.5528 GB, free: 12.03 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.0001663/0.121, allocations: 272.4 kB / 0.553 GB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.905e-05/0.1211, allocations: 112.9 kB / 0.5531 GB, free: 11.63 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.101e-05/0.1212, allocations: 121.4 kB / 0.5533 GB, free: 11.51 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.452e-05/0.1213, allocations: 180.3 kB / 0.5534 GB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.778e-05/0.1214, allocations: 188.2 kB / 0.5536 GB, free: 11.13 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.523e-05/0.1215, allocations: 176.3 kB / 0.5538 GB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002736/0.1217, allocations: 376.8 kB / 0.5541 GB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.887e-05/0.1218, allocations: 105 kB / 0.5542 GB, free: 10.44 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.549e-05/0.1218, allocations: 105 kB / 0.5543 GB, free: 10.33 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.962e-05/0.1219, allocations: 184.2 kB / 0.5545 GB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.435e-05/0.122, allocations: 180.3 kB / 0.5547 GB, free: 9.957 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.181e-05/0.1221, allocations: 188.1 kB / 0.5549 GB, free: 9.766 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.716e-05/0.1222, allocations: 176.3 kB / 0.555 GB, free: 9.586 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001795/0.1224, allocations: 320 kB / 0.5553 GB, free: 9.25 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.505e-05/0.1225, allocations: 121 kB / 0.5554 GB, free: 9.125 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.037e-05/0.1225, allocations: 180.2 kB / 0.5556 GB, free: 8.941 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.1226, allocations: 108.9 kB / 0.5557 GB, free: 8.828 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.17e-05/0.1227, allocations: 184.2 kB / 0.5559 GB, free: 8.641 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-05/0.1228, allocations: 104.9 kB / 0.556 GB, free: 8.531 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001167/0.1229, allocations: 128.8 kB / 0.5561 GB, free: 8.406 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1229, allocations: 0 / 0.5561 GB, free: 8.406 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002798/0.1232, allocations: 4 kB / 0.5561 GB, free: 8.402 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.0001552/0.1233, allocations: 170.5 kB / 0.5563 GB, free: 8.223 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 3.723e-05/0.1234, allocations: 8 kB / 0.5563 GB, free: 8.215 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1234, allocations: 0 / 0.5563 GB, free: 8.215 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.483e-06/0.1234, allocations: 0 / 0.5563 GB, free: 8.215 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005121/0.1239, allocations: 468.7 kB / 0.5567 GB, free: 7.754 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000414/0.1243, allocations: 266.5 kB / 0.557 GB, free: 7.461 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.667e-05/0.1244, allocations: 79.31 kB / 0.5571 GB, free: 7.363 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.424e-05/0.1244, allocations: 11.44 kB / 0.5571 GB, free: 7.352 MB / 382.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1244, allocations: 0 / 0.5571 GB, free: 7.352 MB / 382.1 MB Notification: Performance of Templates: time 0.002489/0.1269, allocations: 0.8811 MB / 0.5579 GB, free: 6.469 MB / 382.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: 7.388543997425586] Failed to read output from testmodel.py, exit status != 0: 0.13454476883634925 0.333549505 0.21407567300000002 Calling exit ...