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.002505/0.002505, 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.643/1.643, allocations: 230.6 MB / 252.7 MB, free: 8.094 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.00197/0.00197, allocations: 212.5 kB / 309.2 MB, free: 2.996 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.04467/0.04467, allocations: 8.918 MB / 374.6 MB, free: 1.77 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.002695/0.002695, allocations: 87.88 kB / 0.4896 GB, free: 6.715 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3537/0.3564, allocations: 55.6 MB / 0.5439 GB, free: 26.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestDoubleLayer10over12): time 0.002165/0.3586, allocations: 1.267 MB / 0.5451 GB, free: 26.05 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001781/0.3604, allocations: 1.137 MB / 0.5463 GB, free: 25.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.094e-05/0.3604, allocations: 3.188 kB / 0.5463 GB, free: 25.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000458/0.3609, allocations: 73.17 kB / 0.5463 GB, free: 25.3 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008987/0.3618, allocations: 410.5 kB / 0.5467 GB, free: 25.09 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.07e-06/0.3618, allocations: 0 / 0.5467 GB, free: 25.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001245/0.363, allocations: 1.033 MB / 0.5477 GB, free: 24.88 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.532e-05/0.3631, allocations: 0 / 0.5477 GB, free: 24.88 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.528e-05/0.3631, allocations: 14.17 kB / 0.5477 GB, free: 24.88 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.213e-05/0.3631, allocations: 21.14 kB / 0.5478 GB, free: 24.86 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.729e-06/0.3631, allocations: 3.938 kB / 0.5478 GB, free: 24.86 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001326/0.3633, allocations: 44.5 kB / 0.5478 GB, free: 24.85 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.83e-05/0.3633, allocations: 21.12 kB / 0.5478 GB, free: 24.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.515e-05/0.3634, allocations: 25.69 kB / 0.5479 GB, free: 24.82 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001666/0.3635, allocations: 73.67 kB / 0.5479 GB, free: 24.8 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.3635, allocations: 0 / 0.5479 GB, free: 24.8 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3635, allocations: 0 / 0.5479 GB, free: 24.8 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.668e-06/0.3635, allocations: 3.094 kB / 0.5479 GB, free: 24.8 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.000291/0.3638, allocations: 318 kB / 0.5482 GB, free: 24.49 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.3639, allocations: 9.438 kB / 0.5482 GB, free: 24.49 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003284/0.3642, allocations: 113 kB / 0.5483 GB, free: 24.4 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003968/0.3646, allocations: 312.9 kB / 0.5486 GB, free: 24.14 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.56e-05/0.3646, allocations: 150.9 kB / 0.5488 GB, free: 23.99 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.915e-05/0.3646, allocations: 161.8 kB / 0.5489 GB, free: 23.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.59e-05/0.3647, allocations: 105.3 kB / 0.549 GB, free: 23.73 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/0.3647, allocations: 75.28 kB / 0.5491 GB, free: 23.65 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.541e-05/0.3647, allocations: 150.6 kB / 0.5493 GB, free: 23.5 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.12e-05/0.3647, allocations: 161.2 kB / 0.5494 GB, free: 23.35 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.314e-05/0.3648, allocations: 150.6 kB / 0.5496 GB, free: 23.2 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001639/0.3649, allocations: 413.7 kB / 0.55 GB, free: 22.79 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.457e-05/0.365, allocations: 169.1 kB / 0.5501 GB, free: 22.61 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.523e-05/0.365, allocations: 88.12 kB / 0.5502 GB, free: 22.52 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.616e-05/0.365, allocations: 81.72 kB / 0.5503 GB, free: 22.45 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/0.365, allocations: 109.8 kB / 0.5504 GB, free: 22.33 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.365, allocations: 0 / 0.5504 GB, free: 22.33 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 7.267e-05/0.3651, allocations: 48.67 kB / 0.5504 GB, free: 22.28 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.706e-05/0.3651, allocations: 129.9 kB / 0.5506 GB, free: 22.14 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001283/0.3653, allocations: 163.9 kB / 0.5507 GB, free: 22.02 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.927e-06/0.3653, allocations: 28.8 kB / 0.5507 GB, free: 21.99 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.79e-05/0.3653, allocations: 110.7 kB / 0.5508 GB, free: 21.88 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.643e-06/0.3653, allocations: 0 / 0.5508 GB, free: 21.88 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.614e-05/0.3653, allocations: 16.81 kB / 0.5509 GB, free: 21.86 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.072e-05/0.3654, allocations: 321.5 kB / 0.5512 GB, free: 21.55 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.581e-06/0.3654, allocations: 0 / 0.5512 GB, free: 21.55 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.886e-06/0.3654, allocations: 0 / 0.5512 GB, free: 21.55 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.321e-05/0.3654, allocations: 75.28 kB / 0.5512 GB, free: 21.47 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.868e-06/0.3654, allocations: 75.28 kB / 0.5513 GB, free: 21.4 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.653e-05/0.3655, allocations: 39.23 kB / 0.5513 GB, free: 21.36 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.483e-05/0.3655, allocations: 81.59 kB / 0.5514 GB, free: 21.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.433e-05/0.3655, allocations: 83.16 kB / 0.5515 GB, free: 21.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.614e-05/0.3655, allocations: 153.7 kB / 0.5516 GB, free: 21.06 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.035e-05/0.3656, allocations: 79.22 kB / 0.5517 GB, free: 20.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.957e-05/0.3656, allocations: 154.6 kB / 0.5519 GB, free: 20.83 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.354e-05/0.3656, allocations: 82.34 kB / 0.552 GB, free: 20.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.3656, allocations: 82.59 kB / 0.552 GB, free: 20.67 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 6.501e-05/0.3657, allocations: 273.3 kB / 0.5523 GB, free: 20.41 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.908e-05/0.3657, allocations: 108.2 kB / 0.5524 GB, free: 20.3 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.618e-05/0.3658, allocations: 131 kB / 0.5525 GB, free: 20.17 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.599e-05/0.3658, allocations: 176.3 kB / 0.5527 GB, free: 19.99 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.788e-05/0.3658, allocations: 187.3 kB / 0.5529 GB, free: 19.8 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.487e-05/0.3659, allocations: 176.3 kB / 0.553 GB, free: 19.62 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001427/0.366, allocations: 372.4 kB / 0.5534 GB, free: 19.24 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.921e-05/0.366, allocations: 108.9 kB / 0.5535 GB, free: 19.13 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.757e-05/0.366, allocations: 107.6 kB / 0.5536 GB, free: 19.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-05/0.3661, allocations: 180.2 kB / 0.5538 GB, free: 18.84 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.282e-05/0.3661, allocations: 179.5 kB / 0.5539 GB, free: 18.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-05/0.3661, allocations: 180.2 kB / 0.5541 GB, free: 18.48 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.488e-05/0.3662, allocations: 184.2 kB / 0.5543 GB, free: 18.29 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001056/0.3663, allocations: 312.6 kB / 0.5546 GB, free: 17.97 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.061e-05/0.3663, allocations: 112.1 kB / 0.5547 GB, free: 17.86 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.678e-05/0.3663, allocations: 182.8 kB / 0.5549 GB, free: 17.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.003e-05/0.3664, allocations: 108.9 kB / 0.555 GB, free: 17.57 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.603e-05/0.3664, allocations: 184.3 kB / 0.5551 GB, free: 17.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.928e-05/0.3665, allocations: 108.7 kB / 0.5552 GB, free: 17.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.921e-05/0.3665, allocations: 124 kB / 0.5554 GB, free: 17.18 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3665, allocations: 3.938 kB / 0.5554 GB, free: 17.18 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002492/0.3668, allocations: 3.281 kB / 0.5554 GB, free: 17.18 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.0001172/0.3669, allocations: 173.9 kB / 0.5555 GB, free: 17.02 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 4.732e-05/0.3669, allocations: 0 / 0.5555 GB, free: 17.02 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.367, allocations: 0 / 0.5555 GB, free: 17.02 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.533e-06/0.367, allocations: 0 / 0.5555 GB, free: 17.02 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003865/0.3673, allocations: 480.8 kB / 0.556 GB, free: 16.55 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003107/0.3676, allocations: 249.6 kB / 0.5562 GB, free: 16.34 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.248e-05/0.3677, allocations: 81.12 kB / 0.5563 GB, free: 16.27 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.301e-05/0.3677, allocations: 7.297 kB / 0.5563 GB, free: 16.26 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.156e-05/0.3678, allocations: 10.56 kB / 0.5563 GB, free: 16.25 MB / 382.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3678, allocations: 0 / 0.5563 GB, free: 16.25 MB / 382.1 MB Notification: Performance of Templates: time 0.003204/0.371, allocations: 0.553 MB / 0.5569 GB, free: 16.15 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.5204227808862925] Failed to read output from testmodel.py, exit status != 0: 0.37900261022150517 0.38943666400000004 0.023266239 Calling exit ...