Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.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.001448/0.001448, 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.621/1.621, allocations: 230.6 MB / 252.7 MB, free: 8.102 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.001903/0.001903, allocations: 208.9 kB / 309.2 MB, free: 2.957 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.07318/0.07318, allocations: 8.918 MB / 374.6 MB, free: 1.73 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.TestDoubleLayer7over9,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9") translateModel(HanserModelica.Machines.TestDoubleLayer7over9,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9") [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.003039/0.003039, allocations: 83.88 kB / 0.4896 GB, free: 6.723 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3896/0.3926, allocations: 55.6 MB / 0.5439 GB, free: 26.89 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestDoubleLayer7over9): time 0.002933/0.3955, allocations: 1.266 MB / 0.5452 GB, free: 26.02 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002062/0.3976, allocations: 1.134 MB / 0.5463 GB, free: 25.29 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.392e-05/0.3977, allocations: 0 / 0.5463 GB, free: 25.29 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005905/0.3983, allocations: 71.91 kB / 0.5463 GB, free: 25.26 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001323/0.3996, allocations: 409.2 kB / 0.5467 GB, free: 25.06 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.013e-06/0.3996, allocations: 0 / 0.5467 GB, free: 25.06 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001193/0.4008, allocations: 0.8221 MB / 0.5475 GB, free: 24.89 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.894e-05/0.4008, allocations: 6.703 kB / 0.5475 GB, free: 24.89 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.332e-05/0.4009, allocations: 10.5 kB / 0.5475 GB, free: 24.88 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.448e-05/0.4009, allocations: 18.94 kB / 0.5476 GB, free: 24.87 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.156e-05/0.4009, allocations: 7.031 kB / 0.5476 GB, free: 24.86 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000193/0.4011, allocations: 44.88 kB / 0.5476 GB, free: 24.85 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.778e-05/0.4012, allocations: 23.72 kB / 0.5476 GB, free: 24.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.853e-05/0.4012, allocations: 14.38 kB / 0.5476 GB, free: 24.83 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002296/0.4015, allocations: 72.97 kB / 0.5477 GB, free: 24.8 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.4015, allocations: 3.156 kB / 0.5477 GB, free: 24.8 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.4015, allocations: 0 / 0.5477 GB, free: 24.8 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.568e-06/0.4015, allocations: 0 / 0.5477 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.0003878/0.4019, allocations: 313.7 kB / 0.548 GB, free: 24.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.4019, allocations: 13.34 kB / 0.548 GB, free: 24.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004583/0.4024, allocations: 106 kB / 0.5481 GB, free: 24.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004745/0.4028, allocations: 324.8 kB / 0.5484 GB, free: 24.15 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.497e-05/0.4029, allocations: 154.9 kB / 0.5486 GB, free: 24 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.556e-05/0.4029, allocations: 161.9 kB / 0.5487 GB, free: 23.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.931e-05/0.403, allocations: 105.3 kB / 0.5488 GB, free: 23.73 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/0.403, allocations: 75.28 kB / 0.5489 GB, free: 23.66 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.91e-05/0.403, allocations: 150.6 kB / 0.5491 GB, free: 23.51 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.484e-05/0.403, allocations: 157.4 kB / 0.5492 GB, free: 23.36 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.242e-05/0.4031, allocations: 150.6 kB / 0.5493 GB, free: 23.21 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002392/0.4033, allocations: 416.3 kB / 0.5497 GB, free: 22.79 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.103e-05/0.4034, allocations: 173.1 kB / 0.5499 GB, free: 22.61 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.353e-05/0.4034, allocations: 80.14 kB / 0.55 GB, free: 22.53 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.106e-05/0.4034, allocations: 78.25 kB / 0.5501 GB, free: 22.45 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.91e-05/0.4034, allocations: 105.8 kB / 0.5502 GB, free: 22.34 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 1.352e-06/0.4034, allocations: 0 / 0.5502 GB, free: 22.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 8.233e-05/0.4035, allocations: 39.59 kB / 0.5502 GB, free: 22.3 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.146e-05/0.4036, allocations: 130.6 kB / 0.5503 GB, free: 22.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001471/0.4037, allocations: 163.4 kB / 0.5505 GB, free: 22.04 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.855e-06/0.4037, allocations: 32.67 kB / 0.5505 GB, free: 22.01 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.199e-05/0.4038, allocations: 106.2 kB / 0.5506 GB, free: 21.91 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.294e-06/0.4038, allocations: 0 / 0.5506 GB, free: 21.91 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.535e-05/0.4038, allocations: 12.59 kB / 0.5506 GB, free: 21.89 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.389e-05/0.4039, allocations: 320.8 kB / 0.5509 GB, free: 21.57 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.31e-06/0.4039, allocations: 0 / 0.5509 GB, free: 21.57 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.697e-06/0.4039, allocations: 48 / 0.5509 GB, free: 21.57 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.628e-05/0.4039, allocations: 75.28 kB / 0.551 GB, free: 21.5 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.435e-05/0.4039, allocations: 79.28 kB / 0.5511 GB, free: 21.42 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.645e-05/0.404, allocations: 35.91 kB / 0.5511 GB, free: 21.39 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.994e-05/0.404, allocations: 85.78 kB / 0.5512 GB, free: 21.31 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.642e-05/0.404, allocations: 83.16 kB / 0.5513 GB, free: 21.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.764e-05/0.4041, allocations: 153.6 kB / 0.5514 GB, free: 21.08 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.831e-05/0.4041, allocations: 82.73 kB / 0.5515 GB, free: 21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.982e-05/0.4042, allocations: 150.6 kB / 0.5516 GB, free: 20.85 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.7e-05/0.4042, allocations: 82.16 kB / 0.5517 GB, free: 20.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.986e-05/0.4043, allocations: 79.22 kB / 0.5518 GB, free: 20.7 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 9.54e-05/0.4044, allocations: 268.8 kB / 0.5521 GB, free: 20.43 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.104e-05/0.4044, allocations: 111.9 kB / 0.5522 GB, free: 20.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.321e-05/0.4045, allocations: 125.6 kB / 0.5523 GB, free: 20.2 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.03e-05/0.4045, allocations: 180.3 kB / 0.5524 GB, free: 20.02 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.72e-05/0.4045, allocations: 182.3 kB / 0.5526 GB, free: 19.84 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.439e-05/0.4046, allocations: 184.2 kB / 0.5528 GB, free: 19.65 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001532/0.4047, allocations: 372.3 kB / 0.5532 GB, free: 19.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.869e-05/0.4047, allocations: 104.9 kB / 0.5533 GB, free: 19.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.901e-05/0.4048, allocations: 104.9 kB / 0.5534 GB, free: 19.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.947e-05/0.4048, allocations: 183.2 kB / 0.5535 GB, free: 18.86 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.58e-05/0.4048, allocations: 183.7 kB / 0.5537 GB, free: 18.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.37e-05/0.4049, allocations: 183.4 kB / 0.5539 GB, free: 18.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.248e-05/0.4049, allocations: 180.2 kB / 0.5541 GB, free: 18.31 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.339e-05/0.405, allocations: 316.8 kB / 0.5544 GB, free: 17.99 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.385e-05/0.405, allocations: 112.2 kB / 0.5545 GB, free: 17.88 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.345e-05/0.4051, allocations: 180.3 kB / 0.5546 GB, free: 17.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.008e-05/0.4051, allocations: 116 kB / 0.5547 GB, free: 17.58 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.519e-05/0.4052, allocations: 179.6 kB / 0.5549 GB, free: 17.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.318e-05/0.4052, allocations: 105.4 kB / 0.555 GB, free: 17.29 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.631e-05/0.4053, allocations: 122.5 kB / 0.5551 GB, free: 17.2 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4053, allocations: 3.938 kB / 0.5551 GB, free: 17.2 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002868/0.4056, allocations: 5.594 kB / 0.5551 GB, free: 17.2 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.0001306/0.4057, allocations: 172.5 kB / 0.5553 GB, free: 17.04 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 4.387e-05/0.4057, allocations: 4 kB / 0.5553 GB, free: 17.03 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4057, allocations: 0 / 0.5553 GB, free: 17.03 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.633e-06/0.4057, allocations: 0 / 0.5553 GB, free: 17.03 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004612/0.4062, allocations: 472.8 kB / 0.5558 GB, free: 16.58 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003612/0.4066, allocations: 244 kB / 0.556 GB, free: 16.36 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.71e-05/0.4066, allocations: 76.2 kB / 0.5561 GB, free: 16.29 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.569e-05/0.4067, allocations: 13.5 kB / 0.5561 GB, free: 16.29 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.401e-05/0.4067, allocations: 7.438 kB / 0.5561 GB, free: 16.28 MB / 382.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4067, allocations: 4 kB / 0.5561 GB, free: 16.28 MB / 382.1 MB Notification: Performance of Templates: time 0.003703/0.4104, allocations: 0.5417 MB / 0.5566 GB, free: 16.18 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.pipe ; mkfifo HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.pipe >> ../files/HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.sim & ./HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.38965898938477] Failed to read output from testmodel.py, exit status != 0: 0.4201571848243475 0.43438962 0.029785377000000002 Calling exit ...