Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.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.001115/0.001115, allocations: 92.2 kB / 20.19 MB, free: 4.363 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 0.9687/0.9687, allocations: 177.2 MB / 200.5 MB, free: 5.551 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.001244/0.001244, allocations: 164.6 kB / 257 MB, free: 13.05 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.02383/0.02383, allocations: 6.66 MB / 320.1 MB, free: 26.61 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.TestSingleLayer12over12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.TestSingleLayer12over12") translateModel(HanserModelica.Machines.TestSingleLayer12over12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.TestSingleLayer12over12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.502e-06/1.502e-06, allocations: 0 / 391.6 MB, free: 3.012 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.009e-05/2.159e-05, allocations: 10.05 kB / 391.6 MB, free: 3.004 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestSingleLayer12over12): time 0.002013/0.002035, allocations: 1.297 MB / 392.9 MB, free: 1.695 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001705/0.00374, allocations: 1.187 MB / 394.1 MB, free: 0.5 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.763e-05/0.003787, allocations: 4 kB / 394.1 MB, free: 0.4961 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004491/0.004236, allocations: 75.58 kB / 394.2 MB, free: 432 kB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000913/0.005149, allocations: 422.3 kB / 394.6 MB, free: 8 kB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.767e-06/0.005153, allocations: 0 / 394.6 MB, free: 8 kB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001453/0.006606, allocations: 1.038 MB / 395.6 MB, free: 14.97 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.281e-05/0.006649, allocations: 11.94 kB / 395.7 MB, free: 14.96 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.634e-05/0.006685, allocations: 19.91 kB / 395.7 MB, free: 14.94 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.694e-05/0.006712, allocations: 4 kB / 395.7 MB, free: 14.93 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 8.566e-06/0.006721, allocations: 0 / 395.7 MB, free: 14.93 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001318/0.006852, allocations: 43.91 kB / 395.7 MB, free: 14.89 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.681e-05/0.006909, allocations: 31.91 kB / 395.8 MB, free: 14.86 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.126e-05/0.00693, allocations: 7.938 kB / 395.8 MB, free: 14.85 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001608/0.007091, allocations: 75.75 kB / 395.8 MB, free: 14.78 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.007094, allocations: 0 / 395.8 MB, free: 14.78 MB / 330.7 MB Notification: Performance of FrontEnd: time 6.92e-07/0.007094, allocations: 3.938 kB / 395.8 MB, free: 14.77 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.387e-06/0.007098, allocations: 0 / 395.8 MB, free: 14.77 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.0003415/0.007439, allocations: 416.1 kB / 396.3 MB, free: 14.33 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.007476, allocations: 8.031 kB / 396.3 MB, free: 14.32 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002845/0.007761, allocations: 152 kB / 396.4 MB, free: 14.18 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000401/0.008162, allocations: 368 kB / 396.8 MB, free: 13.79 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.75e-05/0.008229, allocations: 242.8 kB / 397 MB, free: 13.55 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.005e-05/0.008289, allocations: 242.7 kB / 397.2 MB, free: 13.31 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.104e-05/0.00836, allocations: 153.4 kB / 397.4 MB, free: 13.15 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.288e-05/0.008393, allocations: 119.4 kB / 397.5 MB, free: 13.04 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.29e-05/0.008456, allocations: 238.8 kB / 397.7 MB, free: 12.8 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.296e-05/0.008519, allocations: 246.3 kB / 398 MB, free: 12.56 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.394e-05/0.008583, allocations: 238.4 kB / 398.2 MB, free: 12.32 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002846/0.008867, allocations: 0.5993 MB / 398.8 MB, free: 11.69 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.38e-05/0.008961, allocations: 269.4 kB / 399.1 MB, free: 11.41 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.832e-05/0.009, allocations: 130.8 kB / 399.2 MB, free: 11.28 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.251e-05/0.009032, allocations: 123.2 kB / 399.3 MB, free: 11.16 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.836e-05/0.00908, allocations: 152.6 kB / 399.5 MB, free: 11 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 8.41e-07/0.009081, allocations: 0 / 399.5 MB, free: 11 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 6.52e-05/0.009146, allocations: 33.66 kB / 399.5 MB, free: 10.96 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.875e-05/0.009205, allocations: 174.5 kB / 399.7 MB, free: 10.78 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001749/0.00938, allocations: 234.5 kB / 399.9 MB, free: 10.53 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.578e-06/0.00939, allocations: 29.7 kB / 399.9 MB, free: 10.5 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.565e-05/0.009455, allocations: 146.9 kB / 400.1 MB, free: 10.35 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.543e-06/0.009457, allocations: 4 kB / 400.1 MB, free: 10.34 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.481e-05/0.009482, allocations: 23.36 kB / 400.1 MB, free: 10.31 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.009626, allocations: 0.4923 MB / 400.6 MB, free: 9.809 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.161e-06/0.009632, allocations: 0 / 400.6 MB, free: 9.809 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.926e-06/0.009635, allocations: 0 / 400.6 MB, free: 9.809 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.526e-05/0.009671, allocations: 119.2 kB / 400.7 MB, free: 9.691 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.448e-05/0.009705, allocations: 123.2 kB / 400.8 MB, free: 9.57 MB / 330.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.317e-05/0.009758, allocations: 37.64 kB / 400.9 MB, free: 9.527 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.349e-05/0.009802, allocations: 123.2 kB / 401 MB, free: 9.406 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.502e-05/0.009837, allocations: 127.1 kB / 401.1 MB, free: 9.281 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.416e-05/0.009911, allocations: 238.4 kB / 401.3 MB, free: 9.047 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.217e-05/0.009943, allocations: 127.1 kB / 401.5 MB, free: 8.922 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.761e-05/0.01001, allocations: 250.3 kB / 401.7 MB, free: 8.676 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.375e-05/0.01008, allocations: 119.2 kB / 401.8 MB, free: 8.559 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.509e-05/0.01012, allocations: 127.1 kB / 402 MB, free: 8.434 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.0001395/0.01026, allocations: 398.9 kB / 402.3 MB, free: 8.031 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.007e-05/0.01032, allocations: 152.8 kB / 402.5 MB, free: 7.875 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.92e-05/0.01038, allocations: 161.3 kB / 402.7 MB, free: 7.707 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.728e-05/0.01045, allocations: 268.1 kB / 402.9 MB, free: 7.438 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.795e-05/0.01051, allocations: 268 kB / 403.2 MB, free: 7.168 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.031e-05/0.01058, allocations: 272 kB / 403.4 MB, free: 6.895 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002198/0.0108, allocations: 0.5194 MB / 404 MB, free: 6.332 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.131e-05/0.01084, allocations: 152.8 kB / 404.1 MB, free: 6.176 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.971e-05/0.01088, allocations: 144.9 kB / 404.3 MB, free: 6.027 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.576e-05/0.01095, allocations: 268.1 kB / 404.5 MB, free: 5.758 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.781e-05/0.01102, allocations: 268 kB / 404.8 MB, free: 5.488 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.456e-05/0.01108, allocations: 268.1 kB / 405 MB, free: 5.219 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.804e-05/0.01115, allocations: 276.3 kB / 405.3 MB, free: 4.941 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001533/0.0113, allocations: 459.9 kB / 405.8 MB, free: 4.465 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.952e-05/0.01135, allocations: 152.8 kB / 405.9 MB, free: 4.309 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.328e-05/0.01144, allocations: 272.1 kB / 406.2 MB, free: 4.035 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.814e-05/0.01152, allocations: 152.8 kB / 406.3 MB, free: 3.879 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.274e-05/0.01159, allocations: 272.1 kB / 406.6 MB, free: 3.605 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.922e-05/0.01163, allocations: 152.8 kB / 406.7 MB, free: 3.449 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.197e-05/0.01171, allocations: 155.9 kB / 406.9 MB, free: 3.297 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01171, allocations: 0 / 406.9 MB, free: 3.297 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002509/0.01196, allocations: 4 kB / 406.9 MB, free: 3.293 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 0.0001206/0.01208, allocations: 210.4 kB / 407.1 MB, free: 3.078 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 4.335e-05/0.01212, allocations: 8 kB / 407.1 MB, free: 3.07 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01213, allocations: 0 / 407.1 MB, free: 3.07 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.464e-06/0.01213, allocations: 7.984 kB / 407.1 MB, free: 3.062 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004838/0.01261, allocations: 0.7216 MB / 407.8 MB, free: 2.336 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000538/0.01315, allocations: 288.8 kB / 408.1 MB, free: 2.023 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.788e-05/0.0132, allocations: 63.33 kB / 408.2 MB, free: 1.941 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.284e-05/0.01323, allocations: 7.984 kB / 408.2 MB, free: 1.934 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.218e-05/0.01325, allocations: 12.5 kB / 408.2 MB, free: 1.922 MB / 330.7 MB Notification: Performance of SimCode: time 7.21e-07/0.01325, allocations: 0 / 408.2 MB, free: 1.922 MB / 330.7 MB Notification: Performance of Templates: time 0.002476/0.01573, allocations: 0.5029 MB / 408.7 MB, free: 1.434 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.pipe ; mkfifo HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.pipe >> ../files/HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.sim & ./HanserModelica_HanserModelica.Machines.TestSingleLayer12over12 -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.061015772866085]