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.001441/0.001441, allocations: 78.72 kB / 19.18 MB, free: 2.523 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.364/1.364, allocations: 177.1 MB / 199.4 MB, free: 8.438 MB / 190.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.001623/0.001623, allocations: 165.9 kB / 256 MB, free: 4.312 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.03854/0.03854, allocations: 6.655 MB / 319 MB, free: 5.375 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.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.432e-06/1.432e-06, allocations: 0 / 445.9 MB, free: 25.21 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.851e-05/1.995e-05, allocations: 6.281 kB / 445.9 MB, free: 25.21 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestSingleLayer12over12): time 0.001598/0.001618, allocations: 1.257 MB / 447.1 MB, free: 23.94 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001559/0.003177, allocations: 1.144 MB / 448.3 MB, free: 22.79 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.244e-05/0.00322, allocations: 0 / 448.3 MB, free: 22.79 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003923/0.003612, allocations: 83.52 kB / 448.4 MB, free: 22.71 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008735/0.004485, allocations: 418.2 kB / 448.8 MB, free: 22.3 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.589e-06/0.00449, allocations: 0 / 448.8 MB, free: 22.3 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001377/0.005867, allocations: 1.046 MB / 449.8 MB, free: 21.25 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.345e-05/0.00591, allocations: 4 kB / 449.8 MB, free: 21.25 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.17e-05/0.005942, allocations: 11.97 kB / 449.8 MB, free: 21.23 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.46e-05/0.005977, allocations: 11.94 kB / 449.8 MB, free: 21.22 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.063e-05/0.005987, allocations: 0 / 449.8 MB, free: 21.22 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001234/0.006111, allocations: 43.91 kB / 449.9 MB, free: 21.18 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.389e-05/0.006165, allocations: 27.91 kB / 449.9 MB, free: 21.15 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.182e-05/0.006186, allocations: 11.94 kB / 449.9 MB, free: 21.14 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001484/0.006335, allocations: 79.73 kB / 450 MB, free: 21.06 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.006337, allocations: 3.938 kB / 450 MB, free: 21.06 MB / 334.1 MB Notification: Performance of FrontEnd: time 5.01e-07/0.006338, allocations: 0 / 450 MB, free: 21.06 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.978e-06/0.006348, allocations: 0 / 450 MB, free: 21.06 MB / 334.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.0002991/0.006647, allocations: 313.8 kB / 450.3 MB, free: 20.72 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.006682, allocations: 11.98 kB / 450.3 MB, free: 20.71 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003216/0.007004, allocations: 116.1 kB / 450.4 MB, free: 20.6 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003863/0.00739, allocations: 317.4 kB / 450.7 MB, free: 20.26 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.543e-05/0.007415, allocations: 154.9 kB / 450.9 MB, free: 20.11 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.545e-05/0.007441, allocations: 150.9 kB / 451 MB, free: 19.96 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.617e-05/0.007487, allocations: 105.5 kB / 451.2 MB, free: 19.85 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.693e-05/0.007504, allocations: 75.47 kB / 451.2 MB, free: 19.77 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.344e-05/0.007527, allocations: 154.9 kB / 451.4 MB, free: 19.62 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.331e-05/0.007551, allocations: 154.5 kB / 451.5 MB, free: 19.47 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.655e-05/0.007577, allocations: 150.6 kB / 451.7 MB, free: 19.32 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001793/0.007756, allocations: 417.6 kB / 452.1 MB, free: 18.88 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.984e-05/0.007816, allocations: 177.1 kB / 452.3 MB, free: 18.7 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.841e-05/0.007835, allocations: 80.14 kB / 452.3 MB, free: 18.62 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.552e-05/0.00785, allocations: 75.28 kB / 452.4 MB, free: 18.54 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/0.007872, allocations: 105.8 kB / 452.5 MB, free: 18.43 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.007873, allocations: 0 / 452.5 MB, free: 18.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 6.894e-05/0.007942, allocations: 45.55 kB / 452.6 MB, free: 18.38 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.085e-05/0.007983, allocations: 134.6 kB / 452.7 MB, free: 18.23 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/0.008115, allocations: 167.3 kB / 452.8 MB, free: 18.06 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.041e-06/0.008121, allocations: 29.64 kB / 452.9 MB, free: 18.02 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.702e-05/0.008158, allocations: 108.1 kB / 453 MB, free: 17.91 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.412e-06/0.008159, allocations: 4 kB / 453 MB, free: 17.91 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.749e-05/0.008177, allocations: 13.72 kB / 453 MB, free: 17.89 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 5.331e-05/0.00823, allocations: 318.8 kB / 453.3 MB, free: 17.57 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.54e-06/0.008235, allocations: 4 kB / 453.3 MB, free: 17.57 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.885e-06/0.008238, allocations: 0 / 453.3 MB, free: 17.57 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.471e-05/0.008253, allocations: 75.28 kB / 453.4 MB, free: 17.49 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.105e-05/0.008264, allocations: 75.28 kB / 453.5 MB, free: 17.42 MB / 334.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.749e-05/0.008312, allocations: 33.66 kB / 453.5 MB, free: 17.38 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.008335, allocations: 87.22 kB / 453.6 MB, free: 17.29 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.419e-05/0.008349, allocations: 79.33 kB / 453.7 MB, free: 17.21 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.631e-05/0.008386, allocations: 154.6 kB / 453.8 MB, free: 17.06 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.168e-05/0.008397, allocations: 83.22 kB / 453.9 MB, free: 16.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.013e-05/0.008417, allocations: 162.5 kB / 454 MB, free: 16.82 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.323e-05/0.008471, allocations: 79.22 kB / 454.1 MB, free: 16.74 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.008482, allocations: 75.28 kB / 454.2 MB, free: 16.67 MB / 334.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 6.789e-05/0.00855, allocations: 272.4 kB / 454.5 MB, free: 16.39 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.511e-05/0.008585, allocations: 112.9 kB / 454.6 MB, free: 16.27 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.767e-05/0.008613, allocations: 121.2 kB / 454.7 MB, free: 16.15 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.478e-05/0.008637, allocations: 176.3 kB / 454.9 MB, free: 15.97 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.784e-05/0.008665, allocations: 192.1 kB / 455.1 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.574e-05/0.008691, allocations: 180.3 kB / 455.2 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001228/0.008814, allocations: 372.8 kB / 455.6 MB, free: 15.19 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.622e-05/0.00883, allocations: 104.9 kB / 455.7 MB, free: 15.08 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.611e-05/0.008846, allocations: 105 kB / 455.8 MB, free: 14.97 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.781e-05/0.008874, allocations: 180.2 kB / 456 MB, free: 14.79 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.058e-05/0.008904, allocations: 180.3 kB / 456.2 MB, free: 14.6 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.653e-05/0.008931, allocations: 192.2 kB / 456.3 MB, free: 14.41 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-05/0.008955, allocations: 180.6 kB / 456.5 MB, free: 14.22 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.489e-05/0.00904, allocations: 315.7 kB / 456.8 MB, free: 13.89 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.298e-05/0.009063, allocations: 112.9 kB / 456.9 MB, free: 13.77 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.477e-05/0.009098, allocations: 180.3 kB / 457.1 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.022e-05/0.009158, allocations: 112.9 kB / 457.2 MB, free: 13.47 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.968e-05/0.009198, allocations: 176.3 kB / 457.4 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.684e-05/0.009215, allocations: 108.9 kB / 457.5 MB, free: 13.18 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.384e-05/0.009279, allocations: 131.9 kB / 457.6 MB, free: 13.05 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.009279, allocations: 0 / 457.6 MB, free: 13.05 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002515/0.00953, allocations: 4 kB / 457.6 MB, free: 13.05 MB / 334.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.0001066/0.009637, allocations: 166.5 kB / 457.8 MB, free: 12.88 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 3.982e-05/0.009677, allocations: 4 kB / 457.8 MB, free: 12.87 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.009678, allocations: 0 / 457.8 MB, free: 12.87 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.082e-06/0.009679, allocations: 4 kB / 457.8 MB, free: 12.87 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003475/0.01003, allocations: 471.6 kB / 458.3 MB, free: 12.4 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002653/0.01029, allocations: 247.8 kB / 458.5 MB, free: 12.13 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.103e-05/0.01034, allocations: 87.06 kB / 458.6 MB, free: 12.03 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.652e-05/0.01037, allocations: 3.984 kB / 458.6 MB, free: 12.02 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.629e-05/0.01039, allocations: 12.5 kB / 458.6 MB, free: 12.01 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.01039, allocations: 0 / 458.6 MB, free: 12.01 MB / 334.1 MB Notification: Performance of Templates: time 0.003038/0.01342, allocations: 0.5001 MB / 459.1 MB, free: 11.53 MB / 334.1 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=480 -lv LOG_STATS > HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.263995468616486] Failed to read output from testmodel.py, exit status != 0: 0.019760970026254654 0.031223003000000003 0.021688029 Calling exit ...