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.001391/0.001391, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.558/1.558, allocations: 230.6 MB / 252.6 MB, free: 8.297 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.001932/0.001932, allocations: 214.4 kB / 309.2 MB, free: 3.148 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.04164/0.04164, allocations: 8.911 MB / 374.6 MB, free: 1.906 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.003042/0.003042, allocations: 83.86 kB / 0.4897 GB, free: 6.863 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3501/0.3532, allocations: 55.6 MB / 0.544 GB, free: 27.09 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestDoubleLayer10over12): time 0.002497/0.3557, allocations: 1.275 MB / 0.5452 GB, free: 26.2 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001809/0.3575, allocations: 1.253 MB / 0.5464 GB, free: 25.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.645e-05/0.3575, allocations: 3.031 kB / 0.5464 GB, free: 25.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000465/0.358, allocations: 78.52 kB / 0.5465 GB, free: 25.31 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001054/0.359, allocations: 431.8 kB / 0.5469 GB, free: 25.09 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.611e-06/0.359, allocations: 0 / 0.5469 GB, free: 25.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0013/0.3603, allocations: 1.046 MB / 0.548 GB, free: 24.86 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.274e-05/0.3604, allocations: 3.344 kB / 0.548 GB, free: 24.86 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.265e-05/0.3604, allocations: 11.45 kB / 0.548 GB, free: 24.86 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.437e-05/0.3604, allocations: 13.31 kB / 0.548 GB, free: 24.85 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.051e-05/0.3605, allocations: 0 / 0.548 GB, free: 24.85 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001396/0.3606, allocations: 47.7 kB / 0.548 GB, free: 24.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.916e-05/0.3606, allocations: 23.95 kB / 0.5481 GB, free: 24.83 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.622e-05/0.3607, allocations: 26.33 kB / 0.5481 GB, free: 24.81 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001634/0.3608, allocations: 79.64 kB / 0.5482 GB, free: 24.78 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.3608, allocations: 8 kB / 0.5482 GB, free: 24.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.3608, allocations: 0 / 0.5482 GB, free: 24.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.3608, allocations: 3.125 kB / 0.5482 GB, free: 24.77 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.000302/0.3611, allocations: 302.7 kB / 0.5485 GB, free: 24.47 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.3612, allocations: 8.719 kB / 0.5485 GB, free: 24.47 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000355/0.3615, allocations: 117.9 kB / 0.5486 GB, free: 24.38 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003924/0.3619, allocations: 324.3 kB / 0.5489 GB, free: 24.11 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.898e-05/0.362, allocations: 154.5 kB / 0.549 GB, free: 23.96 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.347e-05/0.362, allocations: 158.2 kB / 0.5492 GB, free: 23.81 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.361e-05/0.362, allocations: 113.2 kB / 0.5493 GB, free: 23.69 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.362, allocations: 75.28 kB / 0.5494 GB, free: 23.62 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.181e-05/0.3621, allocations: 154.6 kB / 0.5495 GB, free: 23.46 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.949e-05/0.3621, allocations: 150.6 kB / 0.5496 GB, free: 23.32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.189e-05/0.3621, allocations: 154.5 kB / 0.5498 GB, free: 23.16 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001833/0.3623, allocations: 433.8 kB / 0.5502 GB, free: 22.71 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.511e-05/0.3623, allocations: 172.2 kB / 0.5504 GB, free: 22.54 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.695e-05/0.3624, allocations: 84.14 kB / 0.5505 GB, free: 22.45 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.168e-05/0.3624, allocations: 75.28 kB / 0.5505 GB, free: 22.38 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.02e-05/0.3624, allocations: 109.8 kB / 0.5506 GB, free: 22.26 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.3624, allocations: 0 / 0.5506 GB, free: 22.26 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 6.812e-05/0.3625, allocations: 43.64 kB / 0.5507 GB, free: 22.22 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.696e-05/0.3625, allocations: 130.7 kB / 0.5508 GB, free: 22.08 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001583/0.3626, allocations: 169.6 kB / 0.551 GB, free: 21.96 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.621e-06/0.3626, allocations: 25.7 kB / 0.551 GB, free: 21.93 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.78e-05/0.3627, allocations: 102.7 kB / 0.5511 GB, free: 21.83 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.883e-06/0.3627, allocations: 3.188 kB / 0.5511 GB, free: 21.83 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.758e-05/0.3627, allocations: 9.719 kB / 0.5511 GB, free: 21.81 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.546e-05/0.3627, allocations: 321.3 kB / 0.5514 GB, free: 21.5 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.328e-06/0.3627, allocations: 0 / 0.5514 GB, free: 21.5 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.138e-06/0.3628, allocations: 4 kB / 0.5514 GB, free: 21.49 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.266e-05/0.3628, allocations: 79.28 kB / 0.5515 GB, free: 21.41 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.081e-05/0.3628, allocations: 75.28 kB / 0.5516 GB, free: 21.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.172e-05/0.3628, allocations: 39.91 kB / 0.5516 GB, free: 21.3 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.53e-05/0.3629, allocations: 87.44 kB / 0.5517 GB, free: 21.22 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/0.3629, allocations: 75.28 kB / 0.5517 GB, free: 21.15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.976e-05/0.3629, allocations: 161.9 kB / 0.5519 GB, free: 20.99 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.678e-06/0.3629, allocations: 78.5 kB / 0.552 GB, free: 20.92 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.795e-05/0.3629, allocations: 154.6 kB / 0.5521 GB, free: 20.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.295e-05/0.363, allocations: 79.22 kB / 0.5522 GB, free: 20.69 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.363, allocations: 78.31 kB / 0.5523 GB, free: 20.61 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.711e-05/0.3631, allocations: 269.8 kB / 0.5525 GB, free: 20.35 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.982e-05/0.3631, allocations: 119.2 kB / 0.5526 GB, free: 20.23 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.993e-05/0.3631, allocations: 127.7 kB / 0.5528 GB, free: 20.11 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.342e-05/0.3632, allocations: 176.3 kB / 0.5529 GB, free: 19.93 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.018e-05/0.3632, allocations: 186.6 kB / 0.5531 GB, free: 19.74 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.073e-05/0.3632, allocations: 180.2 kB / 0.5533 GB, free: 19.56 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001398/0.3633, allocations: 395.7 kB / 0.5537 GB, free: 19.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.377e-05/0.3634, allocations: 108.9 kB / 0.5538 GB, free: 19.03 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.39e-05/0.3634, allocations: 101 kB / 0.5539 GB, free: 18.92 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.467e-05/0.3634, allocations: 191.6 kB / 0.554 GB, free: 18.73 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.569e-05/0.3634, allocations: 179.3 kB / 0.5542 GB, free: 18.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.187e-05/0.3634, allocations: 180.2 kB / 0.5544 GB, free: 18.37 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.105e-05/0.3635, allocations: 176.3 kB / 0.5546 GB, free: 18.19 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.462e-05/0.3635, allocations: 319.7 kB / 0.5549 GB, free: 17.86 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.617e-05/0.3636, allocations: 111.5 kB / 0.555 GB, free: 17.75 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.337e-05/0.3636, allocations: 180.2 kB / 0.5551 GB, free: 17.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.591e-05/0.3637, allocations: 107.3 kB / 0.5552 GB, free: 17.46 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.696e-05/0.3637, allocations: 188.2 kB / 0.5554 GB, free: 17.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/0.3637, allocations: 108.1 kB / 0.5555 GB, free: 17.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.292e-05/0.3638, allocations: 124 kB / 0.5556 GB, free: 17.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3638, allocations: 0 / 0.5556 GB, free: 17.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002447/0.364, allocations: 2.875 kB / 0.5556 GB, free: 17.07 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 9.885e-05/0.3641, allocations: 173.1 kB / 0.5558 GB, free: 16.91 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 3.642e-05/0.3641, allocations: 0 / 0.5558 GB, free: 16.91 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.3641, allocations: 4 kB / 0.5558 GB, free: 16.91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.953e-06/0.3641, allocations: 3.938 kB / 0.5558 GB, free: 16.9 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003516/0.3645, allocations: 468.7 kB / 0.5563 GB, free: 16.45 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002846/0.3648, allocations: 247.6 kB / 0.5565 GB, free: 16.23 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000146/0.3649, allocations: 0.7013 MB / 0.5572 GB, free: 15.54 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.361e-05/0.365, allocations: 6.828 kB / 0.5572 GB, free: 15.53 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.859e-05/0.365, allocations: 10.44 kB / 0.5572 GB, free: 15.52 MB / 382.1 MB Notification: Performance of SimCode: time 5.21e-07/0.365, allocations: 0 / 0.5572 GB, free: 15.52 MB / 382.1 MB Notification: Performance of Templates: time 0.003064/0.368, allocations: 478.9 kB / 0.5577 GB, free: 15.45 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.087684293044731] Failed to read output from testmodel.py, exit status != 0: 0.3768751819152385 0.38788273999999995 0.024050440000000003 Calling exit ...