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/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.TestDoubleLayer7over9,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9") translateModel(HanserModelica.Machines.TestDoubleLayer7over9,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001426/0.001427, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.06504/0.06504, allocations: 8.7 MB / 21.96 MB, free: 3.367 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.416/1.416, allocations: 221.4 MB / 246 MB, free: 3.609 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.0008862/0.0008862, allocations: 94.91 kB / 299.1 MB, free: 3 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.443e-05/3.472e-05, allocations: 7.984 kB / 359.5 MB, free: 6.523 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2341/0.2342, allocations: 52.53 MB / 412.1 MB, free: 22.55 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1017/0.3359, allocations: 80.42 MB / 492.5 MB, free: 6.023 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000183/0.3361, allocations: 63.97 kB / 492.5 MB, free: 5.961 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02446/0.3606, allocations: 9.617 MB / 0.4904 GB, free: 12.3 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3606, allocations: 4 kB / 0.4904 GB, free: 12.29 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.335e-05/0.3606, allocations: 7.938 kB / 0.4904 GB, free: 12.29 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.0003988/0.361, allocations: 402.1 kB / 0.4908 GB, free: 11.85 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.3611, allocations: 8.031 kB / 0.4908 GB, free: 11.84 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002861/0.3614, allocations: 115.1 kB / 0.4909 GB, free: 11.73 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001748/0.3631, allocations: 0.7566 MB / 0.4916 GB, free: 10.93 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.361e-05/0.3632, allocations: 154.6 kB / 0.4918 GB, free: 10.78 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.216e-05/0.3633, allocations: 154.6 kB / 0.4919 GB, free: 10.62 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.121e-05/0.3634, allocations: 101 kB / 0.492 GB, free: 10.52 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.794e-05/0.3634, allocations: 75.28 kB / 0.4921 GB, free: 10.45 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.586e-05/0.3635, allocations: 150.6 kB / 0.4922 GB, free: 10.3 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.882e-05/0.3635, allocations: 150.6 kB / 0.4924 GB, free: 10.15 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.705e-05/0.3636, allocations: 166.5 kB / 0.4925 GB, free: 9.984 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002987/0.3639, allocations: 461.9 kB / 0.493 GB, free: 9.484 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.26e-05/0.364, allocations: 165.1 kB / 0.4931 GB, free: 9.312 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.974e-05/0.364, allocations: 80.14 kB / 0.4932 GB, free: 9.23 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.57e-05/0.3641, allocations: 83.22 kB / 0.4933 GB, free: 9.148 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.905e-05/0.3641, allocations: 117.8 kB / 0.4934 GB, free: 9.023 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 1.413e-06/0.3641, allocations: 0 / 0.4934 GB, free: 9.023 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 7.128e-05/0.3642, allocations: 33.61 kB / 0.4934 GB, free: 8.984 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.596e-05/0.3642, allocations: 130.7 kB / 0.4936 GB, free: 8.844 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001453/0.3644, allocations: 141.3 kB / 0.4937 GB, free: 8.699 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.047e-06/0.3644, allocations: 25.7 kB / 0.4937 GB, free: 8.668 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.224e-05/0.3645, allocations: 104.1 kB / 0.4938 GB, free: 8.562 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.983e-06/0.3645, allocations: 4 kB / 0.4938 GB, free: 8.559 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.6e-07/0.3645, allocations: 0 / 0.4938 GB, free: 8.559 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.3646, allocations: 322.8 kB / 0.4941 GB, free: 8.234 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.677e-06/0.3646, allocations: 0 / 0.4941 GB, free: 8.234 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.577e-06/0.3646, allocations: 4 kB / 0.4941 GB, free: 8.23 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.502e-05/0.3647, allocations: 75.28 kB / 0.4942 GB, free: 8.156 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-05/0.3647, allocations: 79.28 kB / 0.4943 GB, free: 8.078 MB / 378.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.275e-05/0.3648, allocations: 37.55 kB / 0.4943 GB, free: 8.035 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.511e-05/0.3648, allocations: 83.28 kB / 0.4944 GB, free: 7.953 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.943e-05/0.3648, allocations: 79.28 kB / 0.4945 GB, free: 7.875 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.807e-05/0.3649, allocations: 158.5 kB / 0.4946 GB, free: 7.719 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.865e-05/0.365, allocations: 75.52 kB / 0.4947 GB, free: 7.645 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.735e-05/0.365, allocations: 158.5 kB / 0.4949 GB, free: 7.488 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.893e-05/0.3651, allocations: 79.28 kB / 0.4949 GB, free: 7.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.762e-05/0.3651, allocations: 79.28 kB / 0.495 GB, free: 7.332 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 () * 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.000116/0.3653, allocations: 259.5 kB / 0.4953 GB, free: 7.07 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.838e-05/0.3653, allocations: 112.8 kB / 0.4954 GB, free: 6.953 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.492e-05/0.3654, allocations: 112.6 kB / 0.4955 GB, free: 6.836 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.318e-05/0.3655, allocations: 180.2 kB / 0.4956 GB, free: 6.652 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.221e-05/0.3655, allocations: 188.3 kB / 0.4958 GB, free: 6.461 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.273e-05/0.3656, allocations: 176.3 kB / 0.496 GB, free: 6.281 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002398/0.3659, allocations: 433.1 kB / 0.4964 GB, free: 5.801 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.319e-05/0.3659, allocations: 101 kB / 0.4965 GB, free: 5.695 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.914e-05/0.3659, allocations: 104.9 kB / 0.4966 GB, free: 5.586 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.587e-05/0.366, allocations: 180.2 kB / 0.4968 GB, free: 5.402 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.33e-05/0.3661, allocations: 184.3 kB / 0.4969 GB, free: 5.215 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.227e-05/0.3661, allocations: 181.1 kB / 0.4971 GB, free: 5.031 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.085e-05/0.3662, allocations: 180.3 kB / 0.4973 GB, free: 4.848 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001313/0.3663, allocations: 323.5 kB / 0.4976 GB, free: 4.508 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.577e-05/0.3664, allocations: 186 kB / 0.4978 GB, free: 4.301 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.279e-05/0.3665, allocations: 188.2 kB / 0.498 GB, free: 4.109 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.028e-05/0.3666, allocations: 105 kB / 0.4981 GB, free: 4 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.247e-05/0.3667, allocations: 184.6 kB / 0.4982 GB, free: 3.812 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.068e-05/0.3667, allocations: 101 kB / 0.4983 GB, free: 3.707 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.849e-05/0.3668, allocations: 124.1 kB / 0.4984 GB, free: 3.586 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3668, allocations: 0 / 0.4984 GB, free: 3.586 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002582/0.3671, allocations: 12 kB / 0.4985 GB, free: 3.574 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 () * 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.0001751/0.3672, allocations: 202 kB / 0.4986 GB, free: 3.371 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 2.732e-05/0.3673, allocations: 8.031 kB / 0.4987 GB, free: 3.363 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.3673, allocations: 0 / 0.4987 GB, free: 3.363 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.352e-06/0.3673, allocations: 3.938 kB / 0.4987 GB, free: 3.359 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003939/0.3677, allocations: 0.5432 MB / 0.4992 GB, free: 2.812 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002318/0.3679, allocations: 180.2 kB / 0.4994 GB, free: 2.609 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002542/0.3682, allocations: 0.6965 MB / 0.5 GB, free: 1.887 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 2.851e-05/0.3682, allocations: 4.188 kB / 0.5 GB, free: 1.883 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.753e-05/0.3683, allocations: 7.438 kB / 0.5001 GB, free: 1.875 MB / 378.7 MB Notification: Performance of SimCode: time 3.71e-07/0.3683, allocations: 0 / 0.5001 GB, free: 1.875 MB / 378.7 MB Notification: Performance of Templates: time 0.0029/0.3712, allocations: 0.9448 MB / 0.501 GB, free: 0.9336 MB / 378.7 MB make -j1 -f HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.makefile (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)