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.0008703/0.0008703, allocations: 73.97 kB / 20.65 MB, free: 3.852 MB / 18.57 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.029/1.029, allocations: 177.1 MB / 201 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] 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.001255/0.001255, allocations: 152.7 kB / 257.7 MB, free: 12.8 MB / 250.7 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.02698/0.02698, allocations: 6.654 MB / 320.9 MB, free: 26.35 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 392.9 MB, free: 2.285 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.92e-05/2.068e-05, allocations: 2.312 kB / 392.9 MB, free: 2.281 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestDoubleLayer7over9): time 0.005279/0.005299, allocations: 1.301 MB / 394.2 MB, free: 0.9688 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001663/0.006963, allocations: 1.176 MB / 395.3 MB, free: 15.79 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.893e-05/0.007002, allocations: 0 / 395.3 MB, free: 15.79 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004355/0.007437, allocations: 87.5 kB / 395.4 MB, free: 15.7 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009165/0.008353, allocations: 410.3 kB / 395.8 MB, free: 15.3 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.058e-06/0.008358, allocations: 0 / 395.8 MB, free: 15.3 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001131/0.009489, allocations: 0.8387 MB / 396.7 MB, free: 14.46 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.767e-05/0.009527, allocations: 0 / 396.7 MB, free: 14.46 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.457e-05/0.009561, allocations: 19.92 kB / 396.7 MB, free: 14.44 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.261e-05/0.009594, allocations: 15.92 kB / 396.7 MB, free: 14.42 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 8.857e-06/0.009603, allocations: 0 / 396.7 MB, free: 14.42 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000135/0.009738, allocations: 47.84 kB / 396.7 MB, free: 14.38 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.743e-05/0.009785, allocations: 23.91 kB / 396.8 MB, free: 14.35 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 1.699e-05/0.009802, allocations: 12 kB / 396.8 MB, free: 14.34 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001481/0.00995, allocations: 75.69 kB / 396.9 MB, free: 14.27 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.009952, allocations: 0 / 396.9 MB, free: 14.27 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.51e-07/0.009953, allocations: 0 / 396.9 MB, free: 14.27 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.009957, allocations: 0 / 396.9 MB, free: 14.27 MB / 330.7 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.0003015/0.01026, allocations: 412.2 kB / 397.3 MB, free: 13.83 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.0103, allocations: 8.031 kB / 397.3 MB, free: 13.82 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002459/0.01054, allocations: 152 kB / 397.4 MB, free: 13.67 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003247/0.01087, allocations: 363.2 kB / 397.8 MB, free: 13.29 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.967e-05/0.01092, allocations: 238.8 kB / 398 MB, free: 13.05 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.725e-05/0.01096, allocations: 238.8 kB / 398.2 MB, free: 12.82 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.254e-05/0.01102, allocations: 157.4 kB / 398.4 MB, free: 12.66 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.048e-05/0.01105, allocations: 123.3 kB / 398.5 MB, free: 12.54 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.826e-05/0.01109, allocations: 238.8 kB / 398.7 MB, free: 12.3 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-05/0.01115, allocations: 242.3 kB / 399 MB, free: 12.07 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.023e-05/0.0112, allocations: 250.4 kB / 399.2 MB, free: 11.82 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002073/0.01141, allocations: 0.5609 MB / 399.8 MB, free: 11.23 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.827e-05/0.01149, allocations: 261.4 kB / 400 MB, free: 10.96 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.137e-05/0.01152, allocations: 142.8 kB / 400.2 MB, free: 10.82 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.609e-05/0.01154, allocations: 123.2 kB / 400.3 MB, free: 10.7 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.087e-05/0.01158, allocations: 164.5 kB / 400.5 MB, free: 10.53 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.01158, allocations: 0 / 400.5 MB, free: 10.53 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 4.587e-05/0.01163, allocations: 33.66 kB / 400.5 MB, free: 10.49 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.141e-05/0.01168, allocations: 170.6 kB / 400.7 MB, free: 10.31 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.01179, allocations: 217.8 kB / 400.9 MB, free: 10.08 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.592e-06/0.0118, allocations: 25.7 kB / 400.9 MB, free: 10.05 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.765e-05/0.01185, allocations: 154.8 kB / 401 MB, free: 9.891 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.11e-07/0.01185, allocations: 0 / 401 MB, free: 9.891 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.608e-05/0.01186, allocations: 19.38 kB / 401.1 MB, free: 9.863 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0003741/0.01224, allocations: 0.5 MB / 401.6 MB, free: 9.352 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.454e-06/0.01224, allocations: 0 / 401.6 MB, free: 9.352 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.136e-06/0.01224, allocations: 0 / 401.6 MB, free: 9.352 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.467e-05/0.01227, allocations: 119.2 kB / 401.7 MB, free: 9.234 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.281e-05/0.01229, allocations: 119.2 kB / 401.8 MB, free: 9.117 MB / 330.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.993e-05/0.01233, allocations: 37.64 kB / 401.8 MB, free: 9.074 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.219e-05/0.01236, allocations: 127.2 kB / 402 MB, free: 8.949 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.595e-05/0.01239, allocations: 123.1 kB / 402.1 MB, free: 8.828 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.303e-05/0.01244, allocations: 238.4 kB / 402.3 MB, free: 8.594 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.358e-05/0.01247, allocations: 123.2 kB / 402.4 MB, free: 8.473 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.716e-05/0.01251, allocations: 246.3 kB / 402.7 MB, free: 8.23 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.927e-05/0.01256, allocations: 123.1 kB / 402.8 MB, free: 8.109 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.535e-05/0.01259, allocations: 127.1 kB / 402.9 MB, free: 7.984 MB / 330.7 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.0001006/0.01269, allocations: 398.9 kB / 403.3 MB, free: 7.582 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.729e-05/0.01274, allocations: 152.8 kB / 403.5 MB, free: 7.426 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.427e-05/0.01278, allocations: 152.7 kB / 403.6 MB, free: 7.266 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.498e-05/0.01283, allocations: 272 kB / 403.9 MB, free: 6.992 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.519e-05/0.01289, allocations: 268.1 kB / 404.1 MB, free: 6.723 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.483e-05/0.01294, allocations: 279.9 kB / 404.4 MB, free: 6.441 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001565/0.0131, allocations: 492.5 kB / 404.9 MB, free: 5.926 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-05/0.01313, allocations: 148.9 kB / 405 MB, free: 5.773 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.34e-05/0.01316, allocations: 156.9 kB / 405.2 MB, free: 5.613 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.409e-05/0.01322, allocations: 272.1 kB / 405.5 MB, free: 5.34 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.441e-05/0.01327, allocations: 272 kB / 405.7 MB, free: 5.066 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.241e-05/0.01333, allocations: 264.4 kB / 406 MB, free: 4.801 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.549e-05/0.01338, allocations: 272 kB / 406.2 MB, free: 4.527 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001169/0.0135, allocations: 452 kB / 406.7 MB, free: 4.059 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.122e-05/0.01354, allocations: 160.8 kB / 406.8 MB, free: 3.895 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.949e-05/0.0136, allocations: 268.1 kB / 407.1 MB, free: 3.625 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.291e-05/0.01365, allocations: 148.8 kB / 407.2 MB, free: 3.473 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.449e-05/0.01371, allocations: 264.1 kB / 407.5 MB, free: 3.207 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.991e-05/0.01374, allocations: 152.9 kB / 407.7 MB, free: 3.051 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.567e-05/0.01379, allocations: 156 kB / 407.8 MB, free: 2.898 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01379, allocations: 0 / 407.8 MB, free: 2.898 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000153/0.01394, allocations: 4 kB / 407.8 MB, free: 2.895 MB / 330.7 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.718e-05/0.01404, allocations: 214.4 kB / 408 MB, free: 2.676 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 3.217e-05/0.01407, allocations: 11.92 kB / 408 MB, free: 2.664 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.293e-06/0.01408, allocations: 0 / 408 MB, free: 2.664 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.02e-07/0.01408, allocations: 0 / 408 MB, free: 2.664 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003448/0.01442, allocations: 0.7217 MB / 408.8 MB, free: 1.938 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006008/0.01502, allocations: 276.9 kB / 409 MB, free: 1.637 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.915e-05/0.01506, allocations: 74.39 kB / 409.1 MB, free: 1.547 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.819e-05/0.01509, allocations: 4 kB / 409.1 MB, free: 1.543 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.483e-05/0.01513, allocations: 74.2 kB / 409.2 MB, free: 1.469 MB / 330.7 MB Notification: Performance of SimCode: time 6.12e-07/0.01513, allocations: 0 / 409.2 MB, free: 1.469 MB / 330.7 MB Notification: Performance of Templates: time 0.001894/0.01703, allocations: 0.5383 MB / 409.7 MB, free: 0.9453 MB / 330.7 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=240 -lv LOG_STATS > HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1261323960497975]