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.001057/0.001057, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.042/1.042, allocations: 177.2 MB / 200 MB, free: 5.539 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.001428/0.001428, allocations: 156.6 kB / 256.6 MB, free: 12.98 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.0508/0.0508, allocations: 6.66 MB / 319.8 MB, free: 26.51 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.563e-06/1.563e-06, allocations: 0 / 391.6 MB, free: 2.586 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.106e-05/2.262e-05, allocations: 9.969 kB / 391.6 MB, free: 2.578 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestSingleLayer12over12): time 0.001591/0.001614, allocations: 1.29 MB / 392.9 MB, free: 1.277 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001438/0.003052, allocations: 1.187 MB / 394.1 MB, free: 84 kB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.182e-05/0.003084, allocations: 0 / 394.1 MB, free: 84 kB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004222/0.003506, allocations: 87.62 kB / 394.2 MB, free: 15.99 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007264/0.004232, allocations: 418.2 kB / 394.6 MB, free: 15.59 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.436e-06/0.004236, allocations: 0 / 394.6 MB, free: 15.59 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001065/0.005301, allocations: 1.065 MB / 395.7 MB, free: 14.52 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.26e-05/0.005343, allocations: 0 / 395.7 MB, free: 14.52 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.752e-05/0.005381, allocations: 19.92 kB / 395.7 MB, free: 14.5 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.825e-05/0.005409, allocations: 11.94 kB / 395.7 MB, free: 14.49 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 9.799e-06/0.005419, allocations: 4 kB / 395.7 MB, free: 14.48 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000126/0.005545, allocations: 47.89 kB / 395.8 MB, free: 14.44 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.445e-05/0.005599, allocations: 19.92 kB / 395.8 MB, free: 14.42 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.307e-05/0.005622, allocations: 11.94 kB / 395.8 MB, free: 14.41 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001545/0.005777, allocations: 75.73 kB / 395.9 MB, free: 14.33 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.005779, allocations: 4 kB / 395.9 MB, free: 14.33 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.005781, allocations: 3.938 kB / 395.9 MB, free: 14.32 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.005785, allocations: 0 / 395.9 MB, free: 14.32 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.0003387/0.006124, allocations: 424 kB / 396.3 MB, free: 13.88 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.006162, allocations: 8.031 kB / 396.3 MB, free: 13.87 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002312/0.006394, allocations: 152 kB / 396.4 MB, free: 13.72 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003344/0.006728, allocations: 356.1 kB / 396.8 MB, free: 13.34 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.15e-05/0.006789, allocations: 242.7 kB / 397 MB, free: 13.1 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.255e-05/0.006842, allocations: 238.8 kB / 397.3 MB, free: 12.87 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.21e-05/0.006904, allocations: 149.5 kB / 397.4 MB, free: 12.71 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.185e-05/0.006936, allocations: 131.4 kB / 397.5 MB, free: 12.59 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.82e-05/0.006994, allocations: 242.8 kB / 397.8 MB, free: 12.35 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.508e-05/0.007059, allocations: 242.3 kB / 398 MB, free: 12.11 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.394e-05/0.007113, allocations: 238.4 kB / 398.2 MB, free: 11.88 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002804/0.007394, allocations: 0.5992 MB / 398.8 MB, free: 11.24 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.322e-05/0.007477, allocations: 261.4 kB / 399.1 MB, free: 10.97 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.317e-05/0.00751, allocations: 134.9 kB / 399.2 MB, free: 10.84 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.533e-05/0.007535, allocations: 119.2 kB / 399.3 MB, free: 10.72 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.075e-05/0.007576, allocations: 152.6 kB / 399.5 MB, free: 10.56 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 1.242e-06/0.007577, allocations: 0 / 399.5 MB, free: 10.56 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 6.387e-05/0.007641, allocations: 37.59 kB / 399.5 MB, free: 10.52 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.815e-05/0.007699, allocations: 186.5 kB / 399.7 MB, free: 10.32 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001549/0.007854, allocations: 222.6 kB / 399.9 MB, free: 10.09 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.777e-06/0.007863, allocations: 25.7 kB / 399.9 MB, free: 10.05 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.881e-05/0.007922, allocations: 158.9 kB / 400.1 MB, free: 9.895 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.633e-06/0.007923, allocations: 0 / 400.1 MB, free: 9.895 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.678e-05/0.00794, allocations: 15.38 kB / 400.1 MB, free: 9.871 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.008056, allocations: 0.4884 MB / 400.6 MB, free: 9.371 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.258e-06/0.00806, allocations: 0 / 400.6 MB, free: 9.371 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.387e-06/0.008064, allocations: 0 / 400.6 MB, free: 9.371 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.945e-05/0.008093, allocations: 127.2 kB / 400.7 MB, free: 9.246 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.084e-05/0.008124, allocations: 123.1 kB / 400.9 MB, free: 9.125 MB / 330.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.116e-05/0.008165, allocations: 45.59 kB / 400.9 MB, free: 9.074 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.863e-05/0.008204, allocations: 127.2 kB / 401 MB, free: 8.949 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.776e-05/0.008252, allocations: 119.2 kB / 401.1 MB, free: 8.832 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.149e-05/0.008333, allocations: 238.4 kB / 401.4 MB, free: 8.598 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.505e-05/0.008368, allocations: 123.1 kB / 401.5 MB, free: 8.477 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.092e-05/0.008419, allocations: 246.3 kB / 401.7 MB, free: 8.234 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.246e-05/0.008471, allocations: 123.2 kB / 401.9 MB, free: 8.113 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.671e-05/0.008498, allocations: 127.2 kB / 402 MB, free: 7.988 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.0001158/0.008614, allocations: 399 kB / 402.4 MB, free: 7.586 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.614e-05/0.00866, allocations: 152.8 kB / 402.5 MB, free: 7.43 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.846e-05/0.008709, allocations: 165.3 kB / 402.7 MB, free: 7.258 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.363e-05/0.008762, allocations: 268.1 kB / 402.9 MB, free: 6.988 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.283e-05/0.008825, allocations: 276 kB / 403.2 MB, free: 6.711 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.548e-05/0.008881, allocations: 264.1 kB / 403.5 MB, free: 6.445 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001602/0.009041, allocations: 0.5154 MB / 404 MB, free: 5.887 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.909e-05/0.00908, allocations: 144.9 kB / 404.1 MB, free: 5.738 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.35e-05/0.009113, allocations: 148.9 kB / 404.3 MB, free: 5.586 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.428e-05/0.009168, allocations: 276 kB / 404.5 MB, free: 5.309 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.673e-05/0.009224, allocations: 264.1 kB / 404.8 MB, free: 5.043 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.035e-05/0.009285, allocations: 276 kB / 405.1 MB, free: 4.766 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.773e-05/0.009342, allocations: 268.4 kB / 405.3 MB, free: 4.496 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00013/0.009472, allocations: 459.9 kB / 405.8 MB, free: 4.02 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.216e-05/0.009515, allocations: 160.8 kB / 405.9 MB, free: 3.855 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.276e-05/0.009587, allocations: 268 kB / 406.2 MB, free: 3.586 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.099e-05/0.009638, allocations: 144.9 kB / 406.3 MB, free: 3.438 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.178e-05/0.00971, allocations: 268.1 kB / 406.6 MB, free: 3.168 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.492e-05/0.009745, allocations: 152.8 kB / 406.7 MB, free: 3.012 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.753e-05/0.009823, allocations: 160.8 kB / 406.9 MB, free: 2.855 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009823, allocations: 0 / 406.9 MB, free: 2.855 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001528/0.009975, allocations: 4 kB / 406.9 MB, free: 2.852 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.0001647/0.01014, allocations: 226.4 kB / 407.1 MB, free: 2.621 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 4.9e-05/0.01019, allocations: 4 kB / 407.1 MB, free: 2.617 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.01019, allocations: 0 / 407.1 MB, free: 2.617 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.312e-06/0.01019, allocations: 0 / 407.1 MB, free: 2.617 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003992/0.01059, allocations: 0.7177 MB / 407.9 MB, free: 1.895 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004491/0.01104, allocations: 288.8 kB / 408.1 MB, free: 1.582 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.76e-05/0.01108, allocations: 67.33 kB / 408.2 MB, free: 1.496 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.038e-05/0.01111, allocations: 3.984 kB / 408.2 MB, free: 1.492 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.774e-05/0.01113, allocations: 16.5 kB / 408.2 MB, free: 1.477 MB / 330.7 MB Notification: Performance of SimCode: time 7.21e-07/0.01113, allocations: 0 / 408.2 MB, free: 1.477 MB / 330.7 MB Notification: Performance of Templates: time 0.002194/0.01332, allocations: 0.5403 MB / 408.8 MB, free: 0.9492 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.1515401490032673]