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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(HanserModelica.Machines.TestDoubleLayer10over12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12") translateModel(HanserModelica.Machines.TestDoubleLayer10over12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004834/0.004834, allocations: 170.6 kB / 15.11 MB, free: 5.992 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03604/0.03604, allocations: 8.804 MB / 24.65 MB, free: 4.07 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.24/1.24, allocations: 223.2 MB / 250.7 MB, free: 6.535 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008292/0.0008293, allocations: 96.38 kB / 304 MB, free: 4 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004194/0.0004194, allocations: 12 kB / 367.1 MB, free: 4.938 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2199/0.2204, allocations: 52.54 MB / 419.6 MB, free: 48.23 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08462/0.305, allocations: 80.48 MB / 0.4884 GB, free: 8.613 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001864/0.3053, allocations: 71.97 kB / 0.4884 GB, free: 8.543 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02341/0.3287, allocations: 10.42 MB / 0.4986 GB, free: 14.09 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3287, allocations: 0 / 0.4986 GB, free: 14.09 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.3287, allocations: 4 kB / 0.4986 GB, free: 14.08 MB / 378.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.0003349/0.3291, allocations: 430.7 kB / 0.499 GB, free: 13.61 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.3291, allocations: 8.562 kB / 0.499 GB, free: 13.61 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002571/0.3294, allocations: 115.1 kB / 0.4991 GB, free: 13.49 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001667/0.331, allocations: 0.7639 MB / 0.4999 GB, free: 12.68 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.216e-05/0.3311, allocations: 158.6 kB / 0.5 GB, free: 12.53 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.694e-05/0.3311, allocations: 150.6 kB / 0.5002 GB, free: 12.38 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.931e-05/0.3312, allocations: 101 kB / 0.5003 GB, free: 12.27 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.803e-05/0.3312, allocations: 83.27 kB / 0.5004 GB, free: 12.19 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.783e-05/0.3313, allocations: 150.6 kB / 0.5005 GB, free: 12.04 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.189e-05/0.3313, allocations: 158.5 kB / 0.5007 GB, free: 11.89 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.538e-05/0.3314, allocations: 158.5 kB / 0.5008 GB, free: 11.73 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002466/0.3316, allocations: 465.9 kB / 0.5013 GB, free: 11.23 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.913e-05/0.3317, allocations: 169.1 kB / 0.5014 GB, free: 11.05 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.162e-05/0.3317, allocations: 75.28 kB / 0.5015 GB, free: 10.98 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.3318, allocations: 117.8 kB / 0.5016 GB, free: 10.85 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 1.392e-06/0.3318, allocations: 0 / 0.5016 GB, free: 10.85 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 7.233e-05/0.3319, allocations: 33.61 kB / 0.5016 GB, free: 10.81 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.821e-05/0.3319, allocations: 130.7 kB / 0.5018 GB, free: 10.67 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001415/0.3321, allocations: 155.7 kB / 0.5019 GB, free: 10.51 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.516e-06/0.3321, allocations: 25.7 kB / 0.5019 GB, free: 10.48 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.315e-05/0.3321, allocations: 100.1 kB / 0.502 GB, free: 10.38 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.513e-06/0.3321, allocations: 4 kB / 0.502 GB, free: 10.38 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.41e-07/0.3322, allocations: 3.938 kB / 0.502 GB, free: 10.37 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.289e-05/0.3323, allocations: 326.8 kB / 0.5023 GB, free: 10.04 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.356e-06/0.3323, allocations: 0 / 0.5023 GB, free: 10.04 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.605e-06/0.3323, allocations: 0 / 0.5023 GB, free: 10.04 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.082e-05/0.3323, allocations: 75.28 kB / 0.5024 GB, free: 9.969 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.749e-05/0.3323, allocations: 75.28 kB / 0.5025 GB, free: 9.895 MB / 378.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.764e-05/0.3324, allocations: 41.55 kB / 0.5025 GB, free: 9.848 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.243e-05/0.3324, allocations: 87.27 kB / 0.5026 GB, free: 9.762 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.279e-05/0.3324, allocations: 79.28 kB / 0.5027 GB, free: 9.684 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.999e-05/0.3325, allocations: 154.5 kB / 0.5028 GB, free: 9.531 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.968e-05/0.3325, allocations: 79.28 kB / 0.5029 GB, free: 9.453 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.262e-05/0.3326, allocations: 150.6 kB / 0.5031 GB, free: 9.305 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.018e-05/0.3326, allocations: 79.22 kB / 0.5031 GB, free: 9.227 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.994e-05/0.3327, allocations: 79.52 kB / 0.5032 GB, free: 9.148 MB / 378.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001076/0.3328, allocations: 280.3 kB / 0.5035 GB, free: 8.863 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.347e-05/0.3328, allocations: 112.8 kB / 0.5036 GB, free: 8.746 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.82e-05/0.3329, allocations: 117.5 kB / 0.5037 GB, free: 8.621 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.35e-05/0.3329, allocations: 184.2 kB / 0.5039 GB, free: 8.434 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.048e-05/0.333, allocations: 180.3 kB / 0.504 GB, free: 8.25 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-05/0.333, allocations: 180.2 kB / 0.5042 GB, free: 8.066 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001945/0.3332, allocations: 425.1 kB / 0.5046 GB, free: 7.594 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.562e-05/0.3333, allocations: 101 kB / 0.5047 GB, free: 7.488 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.024e-05/0.3333, allocations: 112.9 kB / 0.5048 GB, free: 7.371 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.692e-05/0.3334, allocations: 180.3 kB / 0.505 GB, free: 7.188 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.675e-05/0.3334, allocations: 180.3 kB / 0.5052 GB, free: 7.004 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.51e-05/0.3335, allocations: 185.1 kB / 0.5053 GB, free: 6.816 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.627e-05/0.3335, allocations: 180.3 kB / 0.5055 GB, free: 6.633 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001069/0.3336, allocations: 315.6 kB / 0.5058 GB, free: 6.301 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.149e-05/0.3337, allocations: 190 kB / 0.506 GB, free: 6.09 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.837e-05/0.3338, allocations: 180.2 kB / 0.5062 GB, free: 5.906 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.537e-05/0.3338, allocations: 109 kB / 0.5063 GB, free: 5.793 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.455e-05/0.3339, allocations: 184.2 kB / 0.5064 GB, free: 5.605 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.019e-05/0.3339, allocations: 105.5 kB / 0.5065 GB, free: 5.496 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.142e-05/0.334, allocations: 123.9 kB / 0.5067 GB, free: 5.375 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.334, allocations: 0 / 0.5067 GB, free: 5.375 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002321/0.3343, allocations: 12 kB / 0.5067 GB, free: 5.363 MB / 378.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001457/0.3344, allocations: 198.5 kB / 0.5069 GB, free: 5.16 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 2.786e-05/0.3345, allocations: 4.016 kB / 0.5069 GB, free: 5.156 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.3345, allocations: 0 / 0.5069 GB, free: 5.156 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.685e-06/0.3345, allocations: 3.938 kB / 0.5069 GB, free: 5.152 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003047/0.3348, allocations: 0.5331 MB / 0.5074 GB, free: 4.617 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002835/0.3351, allocations: 252.8 kB / 0.5076 GB, free: 4.34 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002028/0.3353, allocations: 0.6965 MB / 0.5083 GB, free: 3.617 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 3.473e-05/0.3353, allocations: 12.16 kB / 0.5083 GB, free: 3.605 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.463e-05/0.3353, allocations: 15.44 kB / 0.5083 GB, free: 3.594 MB / 378.7 MB Notification: Performance of SimCode: time 3.2e-07/0.3354, allocations: 0 / 0.5083 GB, free: 3.594 MB / 378.7 MB Notification: Performance of Templates: time 0.002586/0.3379, allocations: 0.8486 MB / 0.5092 GB, free: 2.754 MB / 378.7 MB make -j1 -f HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.makefile (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)