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.001333/0.001333, allocations: 113 kB / 18.94 MB, free: 2.934 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.522/1.522, allocations: 230.6 MB / 252.6 MB, free: 8.312 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.001851/0.001851, allocations: 223.5 kB / 309.2 MB, free: 3.145 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.04305/0.04305, allocations: 8.915 MB / 374.6 MB, free: 1.902 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.002618/0.002618, allocations: 87.88 kB / 0.4897 GB, free: 6.848 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3135/0.3161, allocations: 55.59 MB / 0.544 GB, free: 27.1 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestDoubleLayer7over9): time 0.002041/0.3182, allocations: 1.274 MB / 0.5452 GB, free: 26.22 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001752/0.3199, allocations: 1.257 MB / 0.5464 GB, free: 25.36 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.474e-05/0.3199, allocations: 4 kB / 0.5464 GB, free: 25.36 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004344/0.3204, allocations: 80.03 kB / 0.5465 GB, free: 25.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008776/0.3213, allocations: 436.5 kB / 0.5469 GB, free: 25.1 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.819e-06/0.3213, allocations: 0 / 0.5469 GB, free: 25.1 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001134/0.3224, allocations: 0.8247 MB / 0.5477 GB, free: 24.92 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.381e-05/0.3224, allocations: 6.453 kB / 0.5478 GB, free: 24.92 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.593e-05/0.3225, allocations: 14.41 kB / 0.5478 GB, free: 24.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.381e-05/0.3225, allocations: 10.34 kB / 0.5478 GB, free: 24.91 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.021e-05/0.3225, allocations: 0 / 0.5478 GB, free: 24.91 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001391/0.3226, allocations: 56.67 kB / 0.5478 GB, free: 24.88 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.857e-05/0.3227, allocations: 20.14 kB / 0.5479 GB, free: 24.88 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.667e-05/0.3227, allocations: 22.31 kB / 0.5479 GB, free: 24.86 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001536/0.3229, allocations: 84 kB / 0.548 GB, free: 24.82 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.3229, allocations: 0 / 0.548 GB, free: 24.82 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3229, allocations: 0 / 0.548 GB, free: 24.82 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.3229, allocations: 0 / 0.548 GB, free: 24.82 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.0003161/0.3232, allocations: 311.2 kB / 0.5482 GB, free: 24.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.3232, allocations: 9.531 kB / 0.5483 GB, free: 24.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003218/0.3236, allocations: 110.4 kB / 0.5484 GB, free: 24.44 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003726/0.3239, allocations: 316.5 kB / 0.5487 GB, free: 24.18 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.86e-05/0.324, allocations: 158.1 kB / 0.5488 GB, free: 24.02 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.499e-05/0.324, allocations: 150.9 kB / 0.549 GB, free: 23.88 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.648e-05/0.324, allocations: 113.3 kB / 0.5491 GB, free: 23.76 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/0.3241, allocations: 75.28 kB / 0.5491 GB, free: 23.68 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.332e-05/0.3241, allocations: 150.6 kB / 0.5493 GB, free: 23.54 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.514e-05/0.3241, allocations: 150.6 kB / 0.5494 GB, free: 23.39 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.501e-05/0.3241, allocations: 154 kB / 0.5496 GB, free: 23.24 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001797/0.3243, allocations: 438.2 kB / 0.55 GB, free: 22.78 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.909e-05/0.3244, allocations: 172.3 kB / 0.5502 GB, free: 22.61 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.622e-05/0.3244, allocations: 80.14 kB / 0.5502 GB, free: 22.52 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.586e-05/0.3244, allocations: 75.28 kB / 0.5503 GB, free: 22.45 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.3244, allocations: 109.8 kB / 0.5504 GB, free: 22.33 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.3244, allocations: 4 kB / 0.5504 GB, free: 22.33 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 6.873e-05/0.3245, allocations: 40.16 kB / 0.5505 GB, free: 22.29 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.279e-05/0.3245, allocations: 130 kB / 0.5506 GB, free: 22.15 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.3246, allocations: 158 kB / 0.5507 GB, free: 22.04 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.982e-06/0.3246, allocations: 25.7 kB / 0.5507 GB, free: 22.01 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.231e-05/0.3247, allocations: 102.5 kB / 0.5508 GB, free: 21.91 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.615e-06/0.3247, allocations: 3.188 kB / 0.5509 GB, free: 21.91 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.66e-05/0.3247, allocations: 9.719 kB / 0.5509 GB, free: 21.89 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.358e-05/0.3247, allocations: 325.2 kB / 0.5512 GB, free: 21.57 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.038e-06/0.3247, allocations: 0 / 0.5512 GB, free: 21.57 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.675e-06/0.3248, allocations: 3.984 kB / 0.5512 GB, free: 21.57 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.535e-05/0.3248, allocations: 79.28 kB / 0.5512 GB, free: 21.49 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.896e-06/0.3248, allocations: 75.28 kB / 0.5513 GB, free: 21.42 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.772e-05/0.3248, allocations: 39.75 kB / 0.5514 GB, free: 21.38 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/0.3248, allocations: 85.44 kB / 0.5514 GB, free: 21.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.605e-05/0.3249, allocations: 79.28 kB / 0.5515 GB, free: 21.22 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.609e-05/0.3249, allocations: 150.6 kB / 0.5517 GB, free: 21.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.172e-05/0.3249, allocations: 82.34 kB / 0.5517 GB, free: 21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.565e-05/0.3249, allocations: 153.8 kB / 0.5519 GB, free: 20.85 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.952e-05/0.325, allocations: 87.2 kB / 0.552 GB, free: 20.76 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.253e-05/0.325, allocations: 78.56 kB / 0.552 GB, free: 20.69 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 7.275e-05/0.3251, allocations: 274.5 kB / 0.5523 GB, free: 20.42 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.182e-05/0.3251, allocations: 115.9 kB / 0.5524 GB, free: 20.3 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.186e-05/0.3252, allocations: 118.8 kB / 0.5525 GB, free: 20.18 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-05/0.3252, allocations: 179.5 kB / 0.5527 GB, free: 20 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.033e-05/0.3252, allocations: 183.4 kB / 0.5529 GB, free: 19.82 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.68e-05/0.3252, allocations: 184.3 kB / 0.5531 GB, free: 19.63 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001373/0.3254, allocations: 391.8 kB / 0.5534 GB, free: 19.22 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.508e-05/0.3254, allocations: 104.9 kB / 0.5535 GB, free: 19.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.513e-05/0.3254, allocations: 101 kB / 0.5536 GB, free: 19 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.681e-05/0.3254, allocations: 187.4 kB / 0.5538 GB, free: 18.82 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.924e-05/0.3255, allocations: 183.7 kB / 0.554 GB, free: 18.63 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.519e-05/0.3255, allocations: 184.2 kB / 0.5542 GB, free: 18.45 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.527e-05/0.3255, allocations: 179.4 kB / 0.5543 GB, free: 18.27 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.285e-05/0.3256, allocations: 313.5 kB / 0.5546 GB, free: 17.95 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.733e-05/0.3256, allocations: 112 kB / 0.5547 GB, free: 17.83 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.843e-05/0.3257, allocations: 188.2 kB / 0.5549 GB, free: 17.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.844e-05/0.3257, allocations: 105 kB / 0.555 GB, free: 17.53 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.404e-05/0.3258, allocations: 182.9 kB / 0.5552 GB, free: 17.35 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.571e-05/0.3258, allocations: 105.4 kB / 0.5553 GB, free: 17.24 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.219e-05/0.3258, allocations: 126.8 kB / 0.5554 GB, free: 17.15 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3258, allocations: 0 / 0.5554 GB, free: 17.15 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002423/0.3261, allocations: 3.156 kB / 0.5554 GB, free: 17.15 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.0001006/0.3262, allocations: 174.5 kB / 0.5556 GB, free: 16.98 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 4.813e-05/0.3262, allocations: 2.969 kB / 0.5556 GB, free: 16.98 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3262, allocations: 0 / 0.5556 GB, free: 16.98 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.212e-06/0.3262, allocations: 3.938 kB / 0.5556 GB, free: 16.98 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003823/0.3266, allocations: 476.9 kB / 0.556 GB, free: 16.52 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003009/0.3269, allocations: 239.7 kB / 0.5563 GB, free: 16.31 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001585/0.3271, allocations: 0.6958 MB / 0.5569 GB, free: 15.61 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.415e-05/0.3271, allocations: 6.516 kB / 0.5569 GB, free: 15.61 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2e-05/0.3271, allocations: 10.69 kB / 0.557 GB, free: 15.61 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3271, allocations: 0 / 0.557 GB, free: 15.61 MB / 382.1 MB Notification: Performance of Templates: time 0.002895/0.33, allocations: 476.1 kB / 0.5574 GB, free: 15.53 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.003497939091176] Failed to read output from testmodel.py, exit status != 0: 0.33865747298114 0.3486856 0.023109655 Calling exit ...