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.001652/0.001652, 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.49/1.49, allocations: 230.6 MB / 253.4 MB, free: 14.27 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.001666/0.001666, allocations: 212.2 kB / 310 MB, free: 3.035 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.04258/0.04258, allocations: 8.924 MB / 375.3 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.002578/0.002578, allocations: 91.86 kB / 0.4904 GB, free: 44.25 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09539/0.09797, allocations: 55.61 MB / 0.5447 GB, free: 4.539 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestDoubleLayer10over12): time 0.002539/0.1005, allocations: 1.262 MB / 0.5459 GB, free: 3.27 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002048/0.1026, allocations: 1.137 MB / 0.547 GB, free: 2.125 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.403e-05/0.1026, allocations: 0 / 0.547 GB, free: 2.125 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004006/0.103, allocations: 75.64 kB / 0.5471 GB, free: 2.051 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001027/0.104, allocations: 410.5 kB / 0.5475 GB, free: 1.648 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.777e-06/0.104, allocations: 0 / 0.5475 GB, free: 1.648 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001596/0.1056, allocations: 1.046 MB / 0.5485 GB, free: 0.6016 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.419e-05/0.1057, allocations: 0 / 0.5485 GB, free: 0.6016 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.524e-05/0.1057, allocations: 19.92 kB / 0.5485 GB, free: 0.582 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.325e-05/0.1057, allocations: 7.938 kB / 0.5485 GB, free: 0.5742 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.117e-05/0.1057, allocations: 0 / 0.5485 GB, free: 0.5742 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001385/0.1059, allocations: 47.97 kB / 0.5486 GB, free: 0.5273 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.228e-05/0.1059, allocations: 19.91 kB / 0.5486 GB, free: 0.5078 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.444e-05/0.106, allocations: 11.88 kB / 0.5486 GB, free: 0.4961 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001871/0.1061, allocations: 91.55 kB / 0.5487 GB, free: 416 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1061, allocations: 0 / 0.5487 GB, free: 416 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1061, allocations: 0 / 0.5487 GB, free: 416 kB / 366.1 MB Notification: Performance of Transformations before backend: time 1.008e-05/0.1062, allocations: 0 / 0.5487 GB, free: 416 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.0004042/0.1066, allocations: 309.8 kB / 0.549 GB, free: 76 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.1066, allocations: 15.98 kB / 0.549 GB, free: 60 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003683/0.107, allocations: 112.1 kB / 0.5491 GB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004829/0.1074, allocations: 322 kB / 0.5494 GB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.476e-05/0.1075, allocations: 154.9 kB / 0.5496 GB, free: 15.45 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.796e-05/0.1076, allocations: 154.9 kB / 0.5497 GB, free: 15.3 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.462e-05/0.1077, allocations: 105.3 kB / 0.5498 GB, free: 15.19 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.672e-05/0.1077, allocations: 75.28 kB / 0.5499 GB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.6e-05/0.1078, allocations: 154.6 kB / 0.55 GB, free: 14.96 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.637e-05/0.1079, allocations: 150.6 kB / 0.5502 GB, free: 14.82 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.505e-05/0.1079, allocations: 162.5 kB / 0.5503 GB, free: 14.66 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003071/0.1082, allocations: 413.6 kB / 0.5507 GB, free: 14.22 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.717e-05/0.1083, allocations: 173.1 kB / 0.5509 GB, free: 14.04 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.878e-05/0.1084, allocations: 80.14 kB / 0.551 GB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.541e-05/0.1084, allocations: 79.22 kB / 0.551 GB, free: 13.88 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.983e-05/0.1085, allocations: 109.8 kB / 0.5511 GB, free: 13.77 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.1085, allocations: 0 / 0.5511 GB, free: 13.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 8.457e-05/0.1086, allocations: 49.47 kB / 0.5512 GB, free: 13.71 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.365e-05/0.1086, allocations: 130.7 kB / 0.5513 GB, free: 13.57 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001929/0.1088, allocations: 159.3 kB / 0.5515 GB, free: 13.4 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.445e-05/0.1089, allocations: 25.7 kB / 0.5515 GB, free: 13.37 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.362e-05/0.1089, allocations: 108.1 kB / 0.5516 GB, free: 13.26 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.465e-06/0.1089, allocations: 0 / 0.5516 GB, free: 13.26 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.262e-05/0.109, allocations: 9.719 kB / 0.5516 GB, free: 13.25 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.1091, allocations: 322.8 kB / 0.5519 GB, free: 12.92 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.208e-06/0.1091, allocations: 48 / 0.5519 GB, free: 12.92 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.3e-06/0.1091, allocations: 4 kB / 0.5519 GB, free: 12.92 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.775e-05/0.1092, allocations: 75.28 kB / 0.552 GB, free: 12.84 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.012e-05/0.1092, allocations: 75.28 kB / 0.5521 GB, free: 12.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.202e-05/0.1093, allocations: 45.59 kB / 0.5521 GB, free: 12.72 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.239e-05/0.1093, allocations: 79.28 kB / 0.5522 GB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.766e-05/0.1094, allocations: 83.22 kB / 0.5523 GB, free: 12.56 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.028e-05/0.1095, allocations: 158.5 kB / 0.5524 GB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.317e-05/0.1095, allocations: 79.22 kB / 0.5525 GB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.325e-05/0.1096, allocations: 150.6 kB / 0.5526 GB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.041e-05/0.1097, allocations: 83.22 kB / 0.5527 GB, free: 12.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.265e-05/0.1097, allocations: 79.22 kB / 0.5528 GB, free: 12.02 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.0001615/0.1098, allocations: 272.4 kB / 0.553 GB, free: 11.74 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.158e-05/0.1099, allocations: 112.9 kB / 0.5531 GB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.616e-05/0.11, allocations: 125.4 kB / 0.5533 GB, free: 11.49 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.523e-05/0.1101, allocations: 180.3 kB / 0.5534 GB, free: 11.31 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.744e-05/0.1102, allocations: 180.2 kB / 0.5536 GB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.536e-05/0.1103, allocations: 176.3 kB / 0.5538 GB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002675/0.1105, allocations: 376.8 kB / 0.5541 GB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.515e-05/0.1106, allocations: 105 kB / 0.5542 GB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.275e-05/0.1106, allocations: 105 kB / 0.5543 GB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.15e-05/0.1107, allocations: 192.2 kB / 0.5545 GB, free: 10.12 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.821e-05/0.1108, allocations: 180.3 kB / 0.5547 GB, free: 9.941 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001146/0.1109, allocations: 184.1 kB / 0.5549 GB, free: 9.754 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.453e-05/0.111, allocations: 176.6 kB / 0.555 GB, free: 9.574 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002077/0.1112, allocations: 323.7 kB / 0.5553 GB, free: 9.234 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.949e-05/0.1113, allocations: 112.9 kB / 0.5555 GB, free: 9.117 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001088/0.1114, allocations: 184.2 kB / 0.5556 GB, free: 8.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.099e-05/0.1115, allocations: 104.9 kB / 0.5557 GB, free: 8.82 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.801e-05/0.1116, allocations: 180.3 kB / 0.5559 GB, free: 8.637 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.785e-05/0.1116, allocations: 112.9 kB / 0.556 GB, free: 8.52 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001284/0.1118, allocations: 124.8 kB / 0.5561 GB, free: 8.398 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1118, allocations: 0 / 0.5561 GB, free: 8.398 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002605/0.112, allocations: 4 kB / 0.5561 GB, free: 8.395 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.0001699/0.1122, allocations: 178.5 kB / 0.5563 GB, free: 8.207 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 4.223e-05/0.1122, allocations: 0 / 0.5563 GB, free: 8.207 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1123, allocations: 0 / 0.5563 GB, free: 8.207 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.232e-06/0.1123, allocations: 0 / 0.5563 GB, free: 8.207 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005249/0.1128, allocations: 469.5 kB / 0.5567 GB, free: 7.746 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003766/0.1132, allocations: 266.5 kB / 0.557 GB, free: 7.453 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.382e-05/0.1132, allocations: 79.31 kB / 0.5571 GB, free: 7.355 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.001e-05/0.1133, allocations: 11.44 kB / 0.5571 GB, free: 7.344 MB / 382.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1133, allocations: 4 kB / 0.5571 GB, free: 7.34 MB / 382.1 MB Notification: Performance of Templates: time 0.002728/0.116, allocations: 0.874 MB / 0.5579 GB, free: 6.465 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: 7.337975163012743] Failed to read output from testmodel.py, exit status != 0: 0.12391885183751583 0.314044058 0.205143092 Calling exit ...