Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.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.0007284/0.0007284, allocations: 76.55 kB / 19.93 MB, free: 4.621 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.8625/0.8625, allocations: 177.2 MB / 200.2 MB, free: 5.914 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.0009926/0.0009926, allocations: 160.6 kB / 256.7 MB, free: 13.32 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.02245/0.02245, allocations: 6.666 MB / 319.8 MB, free: 26.76 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.TestDoubleLayer10over12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12") translateModel(HanserModelica.Machines.TestDoubleLayer10over12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 446.6 MB, free: 37.15 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.245e-05/2.398e-05, allocations: 2.281 kB / 446.6 MB, free: 37.15 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestDoubleLayer10over12): time 0.001402/0.001426, allocations: 1.265 MB / 447.9 MB, free: 35.88 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.00114/0.002566, allocations: 1.144 MB / 449 MB, free: 34.72 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.294e-05/0.002599, allocations: 4 kB / 449.1 MB, free: 34.72 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003657/0.002965, allocations: 79.58 kB / 449.1 MB, free: 34.64 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007384/0.003703, allocations: 425.8 kB / 449.5 MB, free: 34.23 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.579e-06/0.003707, allocations: 0 / 449.5 MB, free: 34.23 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008449/0.004552, allocations: 1.038 MB / 450.6 MB, free: 33.19 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.044e-05/0.004593, allocations: 3.938 kB / 450.6 MB, free: 33.18 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.624e-05/0.004629, allocations: 15.98 kB / 450.6 MB, free: 33.17 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.889e-05/0.004658, allocations: 19.91 kB / 450.6 MB, free: 33.15 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.035e-05/0.004668, allocations: 0 / 450.6 MB, free: 33.15 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001189/0.004787, allocations: 35.98 kB / 450.7 MB, free: 33.11 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.54e-05/0.004833, allocations: 19.92 kB / 450.7 MB, free: 33.09 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 1.81e-05/0.004851, allocations: 15.92 kB / 450.7 MB, free: 33.08 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001415/0.004992, allocations: 87.66 kB / 450.8 MB, free: 32.99 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.004995, allocations: 4 kB / 450.8 MB, free: 32.99 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.004996, allocations: 0 / 450.8 MB, free: 32.99 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.005001, allocations: 0 / 450.8 MB, free: 32.99 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.0002372/0.005238, allocations: 313.8 kB / 451.1 MB, free: 32.65 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.005271, allocations: 12.03 kB / 451.1 MB, free: 32.64 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002308/0.005502, allocations: 108.1 kB / 451.2 MB, free: 32.54 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003148/0.005817, allocations: 317.4 kB / 451.5 MB, free: 32.2 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.005832, allocations: 154.9 kB / 451.7 MB, free: 32.04 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.608e-06/0.005842, allocations: 154.9 kB / 451.8 MB, free: 31.89 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.475e-05/0.005876, allocations: 101.5 kB / 451.9 MB, free: 31.79 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.946e-06/0.005885, allocations: 79.47 kB / 452 MB, free: 31.71 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.005898, allocations: 150.9 kB / 452.1 MB, free: 31.56 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.152e-05/0.00591, allocations: 158.4 kB / 452.3 MB, free: 31.4 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.409e-05/0.005924, allocations: 150.6 kB / 452.4 MB, free: 31.25 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001308/0.006055, allocations: 417.6 kB / 452.9 MB, free: 30.82 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.674e-05/0.006092, allocations: 165.1 kB / 453 MB, free: 30.64 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.084e-05/0.006102, allocations: 84.14 kB / 453.1 MB, free: 30.56 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.698e-06/0.006112, allocations: 75.28 kB / 453.2 MB, free: 30.48 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.745e-05/0.00613, allocations: 117.8 kB / 453.3 MB, free: 30.36 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 8.11e-07/0.00613, allocations: 0 / 453.3 MB, free: 30.36 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 5.755e-05/0.006188, allocations: 37.61 kB / 453.3 MB, free: 30.32 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.513e-05/0.006213, allocations: 134.6 kB / 453.5 MB, free: 30.17 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.006318, allocations: 172.2 kB / 453.6 MB, free: 29.99 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.376e-06/0.006321, allocations: 25.7 kB / 453.6 MB, free: 29.96 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.518e-05/0.006347, allocations: 96.14 kB / 453.7 MB, free: 29.86 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.893e-06/0.006348, allocations: 3.938 kB / 453.7 MB, free: 29.86 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.463e-05/0.006363, allocations: 9.719 kB / 453.8 MB, free: 29.84 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.788e-05/0.006391, allocations: 322.8 kB / 454.1 MB, free: 29.52 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.019e-06/0.006396, allocations: 4 kB / 454.1 MB, free: 29.52 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.256e-06/0.006399, allocations: 0 / 454.1 MB, free: 29.52 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.857e-06/0.006408, allocations: 91.22 kB / 454.2 MB, free: 29.43 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.006414, allocations: 79.22 kB / 454.2 MB, free: 29.35 MB / 330.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.073e-05/0.006445, allocations: 37.64 kB / 454.3 MB, free: 29.3 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.006461, allocations: 83.28 kB / 454.4 MB, free: 29.22 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.006468, allocations: 75.28 kB / 454.4 MB, free: 29.15 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/0.006489, allocations: 154.5 kB / 454.6 MB, free: 29 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.41e-06/0.006495, allocations: 75.28 kB / 454.7 MB, free: 28.92 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/0.006506, allocations: 162.4 kB / 454.8 MB, free: 28.76 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.41e-05/0.00654, allocations: 75.28 kB / 454.9 MB, free: 28.69 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.97e-06/0.006545, allocations: 79.33 kB / 455 MB, free: 28.61 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 4.932e-05/0.006594, allocations: 276.4 kB / 455.2 MB, free: 28.33 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.133e-05/0.006616, allocations: 112.9 kB / 455.3 MB, free: 28.21 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.959e-05/0.006635, allocations: 125.2 kB / 455.5 MB, free: 28.08 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-05/0.006648, allocations: 180.2 kB / 455.6 MB, free: 27.9 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.39e-05/0.006662, allocations: 180.2 kB / 455.8 MB, free: 27.71 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.419e-05/0.006676, allocations: 188.2 kB / 456 MB, free: 27.52 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.57e-05/0.006752, allocations: 372.8 kB / 456.4 MB, free: 27.12 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.795e-06/0.00676, allocations: 101 kB / 456.5 MB, free: 27.02 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.428e-06/0.006769, allocations: 108.9 kB / 456.6 MB, free: 26.9 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-05/0.006784, allocations: 184.3 kB / 456.8 MB, free: 26.71 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.539e-05/0.006799, allocations: 176.3 kB / 456.9 MB, free: 26.54 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.267e-05/0.006812, allocations: 180.2 kB / 457.1 MB, free: 26.35 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.357e-05/0.006825, allocations: 180.3 kB / 457.3 MB, free: 26.17 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.943e-05/0.006875, allocations: 323.6 kB / 457.6 MB, free: 25.83 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.609e-05/0.006891, allocations: 109.3 kB / 457.7 MB, free: 25.71 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.073e-05/0.006911, allocations: 184.2 kB / 457.9 MB, free: 25.53 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.05e-05/0.006942, allocations: 101 kB / 458 MB, free: 25.42 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.884e-05/0.006961, allocations: 196.2 kB / 458.2 MB, free: 25.22 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.006969, allocations: 104.9 kB / 458.3 MB, free: 25.11 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.938e-05/0.007018, allocations: 131.9 kB / 458.4 MB, free: 24.98 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007018, allocations: 0 / 458.4 MB, free: 24.98 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001671/0.007185, allocations: 7.938 kB / 458.4 MB, free: 24.98 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 8.797e-05/0.007273, allocations: 170.5 kB / 458.6 MB, free: 24.8 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 3.652e-05/0.00731, allocations: 3.938 kB / 458.6 MB, free: 24.8 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.007312, allocations: 4 kB / 458.6 MB, free: 24.79 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.22e-07/0.007313, allocations: 0 / 458.6 MB, free: 24.79 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002462/0.007559, allocations: 467.7 kB / 459 MB, free: 24.33 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002282/0.007787, allocations: 269.6 kB / 459.3 MB, free: 24.04 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.986e-05/0.007827, allocations: 87.06 kB / 459.4 MB, free: 23.93 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.731e-05/0.007844, allocations: 8.5 kB / 459.4 MB, free: 23.92 MB / 330.7 MB Notification: Performance of SimCode: time 4.41e-07/0.007845, allocations: 0 / 459.4 MB, free: 23.92 MB / 330.7 MB Notification: Performance of Templates: time 0.001491/0.009336, allocations: 0.8796 MB / 460.3 MB, free: 23.04 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.pipe ; mkfifo HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.pipe >> ../files/HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.sim & ./HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.147559275850654] Failed to read output from testmodel.py, exit status != 0: 0.01418756227940321 0.02086970399999994 0.01443820299999994 Calling exit ...