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.001351/0.001351, allocations: 93.06 kB / 19.65 MB, free: 280 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 0.9449/0.9449, allocations: 177.2 MB / 200 MB, free: 3.934 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.001191/0.001191, allocations: 167.9 kB / 256.6 MB, free: 184 kB / 234.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.02484/0.02484, allocations: 6.659 MB / 319.8 MB, free: 1.164 MB / 298.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.703e-06/1.703e-06, allocations: 0 / 391.6 MB, free: 58.27 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.33e-05/1.5e-05, allocations: 2.312 kB / 391.6 MB, free: 58.27 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestSingleLayer12over12): time 0.001306/0.001321, allocations: 1.29 MB / 392.9 MB, free: 56.98 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001171/0.002492, allocations: 1.202 MB / 394.1 MB, free: 55.77 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.158e-05/0.002524, allocations: 0 / 394.1 MB, free: 55.77 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003499/0.002874, allocations: 76.08 kB / 394.2 MB, free: 55.7 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005977/0.003471, allocations: 421.6 kB / 394.6 MB, free: 55.29 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.506e-06/0.003475, allocations: 2.062 kB / 394.6 MB, free: 55.29 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008644/0.004339, allocations: 1.057 MB / 395.7 MB, free: 54.23 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.349e-05/0.004373, allocations: 7.984 kB / 395.7 MB, free: 54.23 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.607e-05/0.004399, allocations: 15.88 kB / 395.7 MB, free: 54.21 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.844e-05/0.004427, allocations: 19.91 kB / 395.7 MB, free: 54.19 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 9.047e-06/0.004436, allocations: 0 / 395.7 MB, free: 54.19 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.847e-05/0.004535, allocations: 39.92 kB / 395.7 MB, free: 54.15 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.27e-05/0.004578, allocations: 23.91 kB / 395.8 MB, free: 54.13 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.761e-05/0.004595, allocations: 15.92 kB / 395.8 MB, free: 54.11 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001245/0.00472, allocations: 71.77 kB / 395.8 MB, free: 54.04 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.004722, allocations: 0 / 395.8 MB, free: 54.04 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.004722, allocations: 0 / 395.8 MB, free: 54.04 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.356e-06/0.004726, allocations: 0 / 395.8 MB, free: 54.04 MB / 314.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.0002215/0.004947, allocations: 420.1 kB / 396.3 MB, free: 53.6 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.129e-05/0.004978, allocations: 11.98 kB / 396.3 MB, free: 53.59 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001792/0.005158, allocations: 152 kB / 396.4 MB, free: 53.44 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002692/0.005427, allocations: 371 kB / 396.8 MB, free: 53.05 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.262e-05/0.005449, allocations: 242.7 kB / 397 MB, free: 52.81 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.846e-05/0.005468, allocations: 238.8 kB / 397.3 MB, free: 52.57 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.832e-05/0.005506, allocations: 153.4 kB / 397.4 MB, free: 52.42 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.005518, allocations: 119.4 kB / 397.5 MB, free: 52.3 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.332e-05/0.005541, allocations: 242.8 kB / 397.8 MB, free: 52.06 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.405e-05/0.005565, allocations: 242.3 kB / 398 MB, free: 51.82 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.89e-05/0.005584, allocations: 238.4 kB / 398.2 MB, free: 51.59 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000137/0.005721, allocations: 0.5954 MB / 398.8 MB, free: 50.96 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.705e-05/0.005768, allocations: 269.4 kB / 399.1 MB, free: 50.68 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.886e-05/0.005787, allocations: 130.9 kB / 399.2 MB, free: 50.55 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.21e-05/0.005799, allocations: 119.2 kB / 399.3 MB, free: 50.43 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/0.00582, allocations: 152.6 kB / 399.5 MB, free: 50.27 MB / 314.7 MB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.005821, allocations: 3.984 kB / 399.5 MB, free: 50.27 MB / 314.7 MB Notification: Performance of matching and sorting (n=0): time 4.897e-05/0.00587, allocations: 37.61 kB / 399.5 MB, free: 50.23 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.521e-05/0.005895, allocations: 182.5 kB / 399.7 MB, free: 50.04 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.005997, allocations: 222.6 kB / 399.9 MB, free: 49.8 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.316e-06/0.006, allocations: 29.64 kB / 399.9 MB, free: 49.77 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.027e-05/0.00603, allocations: 154.9 kB / 400.1 MB, free: 49.61 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.443e-06/0.006032, allocations: 0 / 400.1 MB, free: 49.61 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.355e-05/0.006045, allocations: 15.38 kB / 400.1 MB, free: 49.59 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.487e-05/0.00609, allocations: 0.4962 MB / 400.6 MB, free: 49.08 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.27e-06/0.006095, allocations: 4 kB / 400.6 MB, free: 49.07 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.655e-06/0.006098, allocations: 4 kB / 400.6 MB, free: 49.07 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.908e-06/0.006108, allocations: 119.2 kB / 400.7 MB, free: 48.95 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.177e-06/0.006117, allocations: 119.2 kB / 400.8 MB, free: 48.84 MB / 314.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.024e-05/0.006147, allocations: 37.66 kB / 400.9 MB, free: 48.79 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.006167, allocations: 129.4 kB / 401 MB, free: 48.67 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/0.00618, allocations: 123.1 kB / 401.1 MB, free: 48.55 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.156e-05/0.006212, allocations: 238.4 kB / 401.4 MB, free: 48.31 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.298e-05/0.006225, allocations: 127.2 kB / 401.5 MB, free: 48.19 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.203e-05/0.006247, allocations: 250.2 kB / 401.7 MB, free: 47.94 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.594e-05/0.006283, allocations: 123.1 kB / 401.8 MB, free: 47.82 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.006294, allocations: 127.3 kB / 402 MB, free: 47.7 MB / 314.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 5.8e-05/0.006352, allocations: 395 kB / 402.4 MB, free: 47.3 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.491e-05/0.006377, allocations: 160.9 kB / 402.5 MB, free: 47.13 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.028e-05/0.006407, allocations: 165.3 kB / 402.7 MB, free: 46.96 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-05/0.006426, allocations: 264.1 kB / 402.9 MB, free: 46.7 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.131e-05/0.006447, allocations: 272 kB / 403.2 MB, free: 46.42 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.007e-05/0.006468, allocations: 268 kB / 403.5 MB, free: 46.15 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.468e-05/0.006562, allocations: 0.5155 MB / 404 MB, free: 45.59 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.374e-05/0.006576, allocations: 148.8 kB / 404.1 MB, free: 45.44 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.185e-05/0.006588, allocations: 148.9 kB / 404.3 MB, free: 45.29 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-05/0.006609, allocations: 268.1 kB / 404.5 MB, free: 45.02 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.104e-05/0.00663, allocations: 268 kB / 404.8 MB, free: 44.75 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.13e-05/0.006651, allocations: 268.1 kB / 405.1 MB, free: 44.48 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.209e-05/0.006673, allocations: 276 kB / 405.3 MB, free: 44.2 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.128e-05/0.006734, allocations: 451.9 kB / 405.8 MB, free: 43.73 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.916e-05/0.006753, allocations: 156.8 kB / 405.9 MB, free: 43.57 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.99e-05/0.006783, allocations: 264.1 kB / 406.2 MB, free: 43.31 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.565e-05/0.006819, allocations: 152.8 kB / 406.3 MB, free: 43.15 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.437e-05/0.006843, allocations: 272.1 kB / 406.6 MB, free: 42.88 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.247e-05/0.006856, allocations: 148.8 kB / 406.7 MB, free: 42.73 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.285e-05/0.006899, allocations: 164.7 kB / 406.9 MB, free: 42.57 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006899, allocations: 0 / 406.9 MB, free: 42.57 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001538/0.007053, allocations: 4 kB / 406.9 MB, free: 42.56 MB / 314.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 7.502e-05/0.007128, allocations: 218.4 kB / 407.1 MB, free: 42.34 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 3.634e-05/0.007164, allocations: 0 / 407.1 MB, free: 42.34 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.007166, allocations: 0 / 407.1 MB, free: 42.34 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.523e-06/0.007167, allocations: 4 kB / 407.1 MB, free: 42.34 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000274/0.007441, allocations: 0.7218 MB / 407.8 MB, free: 41.61 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003714/0.007812, allocations: 289.1 kB / 408.1 MB, free: 41.3 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.271e-05/0.007835, allocations: 67.2 kB / 408.2 MB, free: 41.21 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.646e-05/0.007862, allocations: 7.984 kB / 408.2 MB, free: 41.2 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.718e-05/0.007879, allocations: 12.5 kB / 408.2 MB, free: 41.19 MB / 314.7 MB Notification: Performance of SimCode: time 4.71e-07/0.007879, allocations: 0 / 408.2 MB, free: 41.19 MB / 314.7 MB Notification: Performance of Templates: time 0.001974/0.009854, allocations: 0.5039 MB / 408.7 MB, free: 40.7 MB / 314.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: 2.8845423660241067]