Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.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.0008223/0.0008223, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.8474/0.8474, allocations: 177.2 MB / 200.2 MB, free: 5.949 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.0009589/0.0009589, allocations: 164.2 kB / 256.7 MB, free: 13.35 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.02191/0.02191, allocations: 6.661 MB / 319.8 MB, free: 26.78 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.TestDoubleLayer7over9,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9") translateModel(HanserModelica.Machines.TestDoubleLayer7over9,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 446.6 MB, free: 37.16 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.164e-05/1.306e-05, allocations: 2.281 kB / 446.6 MB, free: 37.16 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestDoubleLayer7over9): time 0.00112/0.001133, allocations: 1.264 MB / 447.9 MB, free: 35.89 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009587/0.002092, allocations: 1.156 MB / 449.1 MB, free: 34.72 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.834e-05/0.00212, allocations: 0 / 449.1 MB, free: 34.72 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003191/0.002439, allocations: 79.52 kB / 449.1 MB, free: 34.64 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005509/0.00299, allocations: 425.8 kB / 449.6 MB, free: 34.23 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.128e-06/0.002994, allocations: 0 / 449.6 MB, free: 34.23 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00065/0.003644, allocations: 0.8308 MB / 450.4 MB, free: 33.4 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.483e-05/0.003679, allocations: 8 kB / 450.4 MB, free: 33.39 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.674e-05/0.003706, allocations: 11.92 kB / 450.4 MB, free: 33.38 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.329e-05/0.003729, allocations: 11.98 kB / 450.4 MB, free: 33.37 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 8.376e-06/0.003737, allocations: 0 / 450.4 MB, free: 33.37 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.405e-05/0.003831, allocations: 43.97 kB / 450.5 MB, free: 33.32 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.068e-05/0.003872, allocations: 19.91 kB / 450.5 MB, free: 33.3 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 1.646e-05/0.003888, allocations: 15.94 kB / 450.5 MB, free: 33.29 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001161/0.004004, allocations: 75.67 kB / 450.6 MB, free: 33.21 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.004007, allocations: 4 kB / 450.6 MB, free: 33.21 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.004008, allocations: 3.984 kB / 450.6 MB, free: 33.21 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.004011, allocations: 0 / 450.6 MB, free: 33.21 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.0002069/0.004218, allocations: 313.8 kB / 450.9 MB, free: 32.87 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.945e-05/0.004248, allocations: 8.031 kB / 450.9 MB, free: 32.86 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000184/0.004432, allocations: 108.1 kB / 451 MB, free: 32.76 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000258/0.00469, allocations: 316.6 kB / 451.3 MB, free: 32.42 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.004704, allocations: 150.9 kB / 451.5 MB, free: 32.27 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.738e-06/0.004714, allocations: 154.9 kB / 451.6 MB, free: 32.12 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.179e-05/0.004746, allocations: 105.5 kB / 451.7 MB, free: 32.01 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.004755, allocations: 79.47 kB / 451.8 MB, free: 31.93 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.004767, allocations: 154.9 kB / 451.9 MB, free: 31.78 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.004778, allocations: 154.5 kB / 452.1 MB, free: 31.63 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.184e-05/0.00479, allocations: 150.6 kB / 452.2 MB, free: 31.48 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001214/0.004911, allocations: 417.6 kB / 452.6 MB, free: 31.04 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.313e-05/0.004944, allocations: 169.1 kB / 452.8 MB, free: 30.87 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.769e-06/0.004954, allocations: 84.14 kB / 452.9 MB, free: 30.78 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.676e-06/0.004963, allocations: 75.28 kB / 453 MB, free: 30.71 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.487e-05/0.004978, allocations: 105.8 kB / 453.1 MB, free: 30.59 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.004979, allocations: 0 / 453.1 MB, free: 30.59 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 4.858e-05/0.005027, allocations: 41.7 kB / 453.1 MB, free: 30.55 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.134e-05/0.005048, allocations: 142.5 kB / 453.2 MB, free: 30.39 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.603e-05/0.005134, allocations: 162.3 kB / 453.4 MB, free: 30.23 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.915e-06/0.005137, allocations: 25.7 kB / 453.4 MB, free: 30.2 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.268e-05/0.00516, allocations: 100.1 kB / 453.5 MB, free: 30.09 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.382e-06/0.005161, allocations: 0 / 453.5 MB, free: 30.09 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.329e-05/0.005175, allocations: 13.72 kB / 453.5 MB, free: 30.07 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.611e-05/0.005201, allocations: 314.8 kB / 453.8 MB, free: 29.76 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.018e-06/0.005205, allocations: 0 / 453.8 MB, free: 29.76 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.194e-06/0.005207, allocations: 0 / 453.8 MB, free: 29.76 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.555e-06/0.005215, allocations: 83.28 kB / 453.9 MB, free: 29.68 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.00522, allocations: 83.22 kB / 454 MB, free: 29.59 MB / 330.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 2.586e-05/0.005245, allocations: 37.64 kB / 454 MB, free: 29.55 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.005259, allocations: 83.28 kB / 454.1 MB, free: 29.47 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.005266, allocations: 79.22 kB / 454.2 MB, free: 29.39 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.005283, allocations: 150.6 kB / 454.4 MB, free: 29.24 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.531e-06/0.005289, allocations: 83.22 kB / 454.4 MB, free: 29.16 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.293e-05/0.005302, allocations: 158.5 kB / 454.6 MB, free: 29 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.046e-05/0.005332, allocations: 75.28 kB / 454.7 MB, free: 28.93 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.561e-06/0.005338, allocations: 83.2 kB / 454.7 MB, free: 28.85 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.131e-05/0.005379, allocations: 268.4 kB / 455 MB, free: 28.57 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.786e-05/0.005397, allocations: 116.9 kB / 455.1 MB, free: 28.45 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.596e-05/0.005413, allocations: 116.5 kB / 455.2 MB, free: 28.33 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.186e-05/0.005425, allocations: 184.3 kB / 455.4 MB, free: 28.14 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.376e-05/0.005439, allocations: 184.2 kB / 455.6 MB, free: 27.96 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.259e-05/0.005451, allocations: 180.2 kB / 455.8 MB, free: 27.77 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.923e-05/0.00552, allocations: 368.9 kB / 456.1 MB, free: 27.38 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/0.005528, allocations: 108.9 kB / 456.2 MB, free: 27.26 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.605e-06/0.005536, allocations: 109 kB / 456.3 MB, free: 27.15 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-05/0.005547, allocations: 180.2 kB / 456.5 MB, free: 26.96 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.005561, allocations: 180.3 kB / 456.7 MB, free: 26.78 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.026e-05/0.005571, allocations: 180.3 kB / 456.9 MB, free: 26.6 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.096e-05/0.005582, allocations: 184.2 kB / 457.1 MB, free: 26.41 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.885e-05/0.005621, allocations: 319.6 kB / 457.4 MB, free: 26.07 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.359e-05/0.005635, allocations: 109.3 kB / 457.5 MB, free: 25.96 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.937e-05/0.005654, allocations: 176.3 kB / 457.6 MB, free: 25.78 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.01e-05/0.005684, allocations: 116.9 kB / 457.8 MB, free: 25.66 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.971e-05/0.005704, allocations: 184.2 kB / 457.9 MB, free: 25.47 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.285e-06/0.005712, allocations: 108.9 kB / 458 MB, free: 25.36 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.014e-05/0.005752, allocations: 124.1 kB / 458.2 MB, free: 25.24 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005753, allocations: 0 / 458.2 MB, free: 25.24 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001564/0.005909, allocations: 4 kB / 458.2 MB, free: 25.23 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 6.648e-05/0.005975, allocations: 178.5 kB / 458.3 MB, free: 25.05 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 3.04e-05/0.006006, allocations: 0 / 458.3 MB, free: 25.05 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.006007, allocations: 0 / 458.3 MB, free: 25.05 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.62e-07/0.006008, allocations: 0 / 458.3 MB, free: 25.05 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000229/0.006237, allocations: 467.7 kB / 458.8 MB, free: 24.59 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000199/0.006436, allocations: 261.6 kB / 459.1 MB, free: 24.3 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.489e-05/0.006471, allocations: 85.72 kB / 459.1 MB, free: 24.2 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.4e-05/0.006485, allocations: 16.5 kB / 459.2 MB, free: 24.18 MB / 330.7 MB Notification: Performance of SimCode: time 4.41e-07/0.006485, allocations: 0 / 459.2 MB, free: 24.18 MB / 330.7 MB Notification: Performance of Templates: time 0.001306/0.007792, allocations: 0.8588 MB / 460 MB, free: 23.32 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.pipe ; mkfifo HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.pipe >> ../files/HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.sim & ./HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.071130235679448] Failed to read output from testmodel.py, exit status != 0: 0.011276290751993656 0.017163918 0.011897497 Calling exit ...