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.001482/0.001482, allocations: 79.36 kB / 19.18 MB, free: 2.52 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.368/1.368, allocations: 177.2 MB / 199.4 MB, free: 8.445 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.001647/0.001647, allocations: 156.2 kB / 256 MB, free: 4.352 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.03998/0.03998, allocations: 6.66 MB / 319 MB, free: 5.414 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.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.262e-06/1.262e-06, allocations: 0 / 445.9 MB, free: 25.24 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.933e-05/2.059e-05, allocations: 6.219 kB / 445.9 MB, free: 25.23 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestDoubleLayer10over12): time 0.001703/0.001723, allocations: 1.275 MB / 447.2 MB, free: 23.95 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001514/0.003237, allocations: 1.137 MB / 448.3 MB, free: 22.8 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.952e-05/0.003267, allocations: 0 / 448.3 MB, free: 22.8 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003708/0.003637, allocations: 79.58 kB / 448.4 MB, free: 22.73 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008449/0.004482, allocations: 413.7 kB / 448.8 MB, free: 22.32 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.988e-06/0.004486, allocations: 0 / 448.8 MB, free: 22.32 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001354/0.00584, allocations: 1.042 MB / 449.8 MB, free: 21.28 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.298e-05/0.005883, allocations: 7.984 kB / 449.8 MB, free: 21.27 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.149e-05/0.005914, allocations: 8 kB / 449.8 MB, free: 21.27 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.073e-05/0.005945, allocations: 11.92 kB / 449.8 MB, free: 21.25 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.142e-05/0.005956, allocations: 3.938 kB / 449.8 MB, free: 21.25 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001258/0.006082, allocations: 51.91 kB / 449.9 MB, free: 21.2 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.292e-05/0.006135, allocations: 19.92 kB / 449.9 MB, free: 21.18 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.214e-05/0.006157, allocations: 11.94 kB / 449.9 MB, free: 21.17 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001494/0.006307, allocations: 83.72 kB / 450 MB, free: 21.09 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.006309, allocations: 0 / 450 MB, free: 21.09 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.00631, allocations: 0 / 450 MB, free: 21.09 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.006315, allocations: 0 / 450 MB, free: 21.09 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.0002732/0.006588, allocations: 309.8 kB / 450.3 MB, free: 20.75 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.985e-05/0.006618, allocations: 11.98 kB / 450.3 MB, free: 20.74 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003083/0.006926, allocations: 116.1 kB / 450.4 MB, free: 20.63 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003672/0.007293, allocations: 329.3 kB / 450.8 MB, free: 20.28 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/0.007312, allocations: 150.9 kB / 450.9 MB, free: 20.13 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.289e-05/0.007335, allocations: 158.9 kB / 451.1 MB, free: 19.97 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.003e-05/0.007375, allocations: 101.5 kB / 451.2 MB, free: 19.87 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.007388, allocations: 75.47 kB / 451.2 MB, free: 19.79 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.055e-05/0.007409, allocations: 150.9 kB / 451.4 MB, free: 19.64 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.809e-05/0.007427, allocations: 158.5 kB / 451.5 MB, free: 19.49 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.317e-05/0.00745, allocations: 154.5 kB / 451.7 MB, free: 19.34 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001594/0.007609, allocations: 413.6 kB / 452.1 MB, free: 18.9 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.474e-05/0.007644, allocations: 173.1 kB / 452.3 MB, free: 18.72 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.295e-05/0.007657, allocations: 84.08 kB / 452.3 MB, free: 18.64 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.518e-06/0.007667, allocations: 75.28 kB / 452.4 MB, free: 18.56 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.883e-05/0.007685, allocations: 117.8 kB / 452.5 MB, free: 18.44 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.007686, allocations: 0 / 452.5 MB, free: 18.44 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 6.598e-05/0.007752, allocations: 37.61 kB / 452.6 MB, free: 18.39 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.677e-05/0.007779, allocations: 130.6 kB / 452.7 MB, free: 18.25 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.0079, allocations: 167.3 kB / 452.9 MB, free: 18.08 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.641e-06/0.007906, allocations: 25.7 kB / 452.9 MB, free: 18.05 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.191e-05/0.007938, allocations: 104.1 kB / 453 MB, free: 17.94 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.313e-06/0.007939, allocations: 3.938 kB / 453 MB, free: 17.94 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.69e-05/0.007956, allocations: 17.7 kB / 453 MB, free: 17.91 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 4.341e-05/0.007999, allocations: 318.8 kB / 453.3 MB, free: 17.59 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.979e-06/0.008004, allocations: 0 / 453.3 MB, free: 17.59 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.234e-06/0.008007, allocations: 0 / 453.3 MB, free: 17.59 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.164e-05/0.008018, allocations: 75.28 kB / 453.4 MB, free: 17.52 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.067e-06/0.008027, allocations: 75.28 kB / 453.5 MB, free: 17.45 MB / 334.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.848e-05/0.008076, allocations: 49.62 kB / 453.5 MB, free: 17.39 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.008093, allocations: 81.31 kB / 453.6 MB, free: 17.31 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.008104, allocations: 75.28 kB / 453.7 MB, free: 17.24 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.136e-05/0.008136, allocations: 158.5 kB / 453.8 MB, free: 17.08 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.117e-05/0.008147, allocations: 83.28 kB / 453.9 MB, free: 17 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.994e-05/0.008167, allocations: 158.4 kB / 454.1 MB, free: 16.84 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.399e-05/0.008221, allocations: 79.28 kB / 454.1 MB, free: 16.77 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.876e-06/0.00823, allocations: 75.28 kB / 454.2 MB, free: 16.69 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 5.986e-05/0.00829, allocations: 272.4 kB / 454.5 MB, free: 16.41 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.579e-05/0.008325, allocations: 116.9 kB / 454.6 MB, free: 16.29 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.653e-05/0.008352, allocations: 117.3 kB / 454.7 MB, free: 16.17 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-05/0.008374, allocations: 184.2 kB / 454.9 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.569e-05/0.008399, allocations: 184.2 kB / 455.1 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.111e-05/0.00842, allocations: 176.3 kB / 455.2 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001149/0.008535, allocations: 376.8 kB / 455.6 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.478e-05/0.00855, allocations: 109 kB / 455.7 MB, free: 15.1 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.344e-05/0.008564, allocations: 104.9 kB / 455.8 MB, free: 14.99 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.172e-05/0.008585, allocations: 176.3 kB / 456 MB, free: 14.81 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.693e-05/0.008612, allocations: 188.3 kB / 456.2 MB, free: 14.62 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.226e-05/0.008635, allocations: 184.5 kB / 456.3 MB, free: 14.43 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-05/0.008655, allocations: 180.3 kB / 456.5 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.029e-05/0.008715, allocations: 319.7 kB / 456.8 MB, free: 13.91 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.23e-05/0.008738, allocations: 112.9 kB / 456.9 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.084e-05/0.008768, allocations: 184.2 kB / 457.1 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.449e-05/0.008823, allocations: 105 kB / 457.2 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.204e-05/0.008855, allocations: 184.2 kB / 457.4 MB, free: 13.31 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.347e-05/0.008868, allocations: 112.9 kB / 457.5 MB, free: 13.19 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.723e-05/0.008946, allocations: 123.9 kB / 457.6 MB, free: 13.07 MB / 334.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.008946, allocations: 0 / 457.6 MB, free: 13.07 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002498/0.009196, allocations: 7.938 kB / 457.6 MB, free: 13.06 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 8.667e-05/0.009282, allocations: 170.5 kB / 457.8 MB, free: 12.89 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 3.775e-05/0.00932, allocations: 0 / 457.8 MB, free: 12.89 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.009321, allocations: 3.938 kB / 457.8 MB, free: 12.88 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.102e-06/0.009322, allocations: 0 / 457.8 MB, free: 12.88 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000339/0.009661, allocations: 475.7 kB / 458.3 MB, free: 12.41 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002381/0.009899, allocations: 239.9 kB / 458.5 MB, free: 12.15 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.705e-05/0.009946, allocations: 87.05 kB / 458.6 MB, free: 12.05 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.933e-05/0.009976, allocations: 4 kB / 458.6 MB, free: 12.04 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.665e-05/0.009992, allocations: 12.48 kB / 458.6 MB, free: 12.03 MB / 334.1 MB Notification: Performance of SimCode: time 4.91e-07/0.009993, allocations: 4 kB / 458.6 MB, free: 12.02 MB / 334.1 MB Notification: Performance of Templates: time 0.002978/0.01297, allocations: 0.4903 MB / 459.1 MB, free: 11.55 MB / 334.1 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.300301257520914] Failed to read output from testmodel.py, exit status != 0: 0.019442889839410782 0.030983083 0.021660207 Calling exit ...