Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.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.TestSingleLayer12over12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.TestSingleLayer12over12") translateModel(HanserModelica.Machines.TestSingleLayer12over12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.TestSingleLayer12over12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 174.7 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.03959/0.03959, allocations: 8.699 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.346/1.346, 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.001033/0.001033, allocations: 94.86 kB / 299.1 MB, free: 3.012 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.561e-05/3.571e-05, allocations: 4 kB / 359.5 MB, free: 6.543 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2479/0.248, allocations: 52.53 MB / 412 MB, free: 22.57 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09387/0.3419, allocations: 80.34 MB / 492.4 MB, free: 6.125 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002083/0.3421, allocations: 67.97 kB / 492.5 MB, free: 6.059 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02328/0.3654, allocations: 9.793 MB / 0.4905 GB, free: 12.24 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3655, allocations: 0 / 0.4905 GB, free: 12.24 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.997e-06/0.3655, allocations: 4 kB / 0.4905 GB, free: 12.24 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.0003887/0.3659, allocations: 406.1 kB / 0.4909 GB, free: 11.8 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.3659, allocations: 8.031 kB / 0.4909 GB, free: 11.79 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002781/0.3662, allocations: 107.1 kB / 0.491 GB, free: 11.68 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001759/0.368, allocations: 0.7717 MB / 0.4917 GB, free: 10.87 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.792e-05/0.3681, allocations: 154.6 kB / 0.4919 GB, free: 10.71 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.893e-05/0.3681, allocations: 154.6 kB / 0.492 GB, free: 10.56 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.726e-05/0.3682, allocations: 101 kB / 0.4921 GB, free: 10.46 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.831e-05/0.3682, allocations: 75.28 kB / 0.4922 GB, free: 10.38 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.905e-05/0.3683, allocations: 154.5 kB / 0.4923 GB, free: 10.23 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.431e-05/0.3684, allocations: 154.6 kB / 0.4925 GB, free: 10.08 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.059e-05/0.3684, allocations: 162.5 kB / 0.4926 GB, free: 9.918 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002801/0.3687, allocations: 461.9 kB / 0.4931 GB, free: 9.418 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.266e-05/0.3688, allocations: 165.1 kB / 0.4932 GB, free: 9.246 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.62e-05/0.3689, allocations: 80.14 kB / 0.4933 GB, free: 9.164 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.633e-05/0.3689, allocations: 79.28 kB / 0.4934 GB, free: 9.086 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.954e-05/0.3689, allocations: 109.8 kB / 0.4935 GB, free: 8.969 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 3.025e-06/0.3689, allocations: 0 / 0.4935 GB, free: 8.969 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 8.623e-05/0.369, allocations: 41.55 kB / 0.4935 GB, free: 8.922 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.242e-05/0.3691, allocations: 130.7 kB / 0.4937 GB, free: 8.781 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001521/0.3693, allocations: 144.4 kB / 0.4938 GB, free: 8.633 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.335e-05/0.3693, allocations: 29.7 kB / 0.4938 GB, free: 8.598 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.85e-05/0.3693, allocations: 108.1 kB / 0.4939 GB, free: 8.488 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.743e-06/0.3693, allocations: 0 / 0.4939 GB, free: 8.488 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.2e-07/0.3693, allocations: 0 / 0.4939 GB, free: 8.488 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.3695, allocations: 322.8 kB / 0.4942 GB, free: 8.164 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.076e-06/0.3695, allocations: 0 / 0.4942 GB, free: 8.164 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.635e-06/0.3695, allocations: 0 / 0.4942 GB, free: 8.164 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.497e-05/0.3695, allocations: 79.27 kB / 0.4943 GB, free: 8.086 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-05/0.3695, allocations: 75.28 kB / 0.4944 GB, free: 8.012 MB / 378.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.137e-05/0.3696, allocations: 45.55 kB / 0.4944 GB, free: 7.961 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.289e-05/0.3696, allocations: 79.28 kB / 0.4945 GB, free: 7.883 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.369e-05/0.3697, allocations: 75.28 kB / 0.4946 GB, free: 7.809 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.13e-05/0.3697, allocations: 158.5 kB / 0.4947 GB, free: 7.652 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.297e-05/0.3698, allocations: 75.52 kB / 0.4948 GB, free: 7.578 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.487e-05/0.3698, allocations: 162.5 kB / 0.495 GB, free: 7.418 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.418e-05/0.3699, allocations: 83.22 kB / 0.495 GB, free: 7.336 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.43e-05/0.3699, allocations: 83.27 kB / 0.4951 GB, free: 7.254 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.0001063/0.37, allocations: 255.5 kB / 0.4954 GB, free: 6.996 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.583e-05/0.3701, allocations: 112.8 kB / 0.4955 GB, free: 6.879 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.923e-05/0.3702, allocations: 113.5 kB / 0.4956 GB, free: 6.758 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.833e-05/0.3702, allocations: 180.2 kB / 0.4957 GB, free: 6.574 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.14e-05/0.3703, allocations: 188.2 kB / 0.4959 GB, free: 6.383 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.776e-05/0.3704, allocations: 176.3 kB / 0.4961 GB, free: 6.203 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002317/0.3706, allocations: 429.1 kB / 0.4965 GB, free: 5.727 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.047e-05/0.3706, allocations: 101 kB / 0.4966 GB, free: 5.621 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.44e-05/0.3707, allocations: 101 kB / 0.4967 GB, free: 5.516 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.158e-05/0.3707, allocations: 188.2 kB / 0.4969 GB, free: 5.324 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.23e-05/0.3708, allocations: 180.3 kB / 0.497 GB, free: 5.141 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.947e-05/0.3709, allocations: 185.1 kB / 0.4972 GB, free: 4.953 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.727e-05/0.3709, allocations: 180.2 kB / 0.4974 GB, free: 4.77 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001245/0.3711, allocations: 323.6 kB / 0.4977 GB, free: 4.43 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.72e-05/0.3712, allocations: 194 kB / 0.4979 GB, free: 4.215 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.084e-05/0.3712, allocations: 180.2 kB / 0.4981 GB, free: 4.031 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.917e-05/0.3713, allocations: 101 kB / 0.4982 GB, free: 3.926 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.917e-05/0.3714, allocations: 180.7 kB / 0.4983 GB, free: 3.742 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.054e-05/0.3714, allocations: 109 kB / 0.4984 GB, free: 3.629 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001007/0.3715, allocations: 132.2 kB / 0.4986 GB, free: 3.5 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3715, allocations: 0 / 0.4986 GB, free: 3.5 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000238/0.3718, allocations: 4 kB / 0.4986 GB, free: 3.496 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.0001954/0.372, allocations: 189.7 kB / 0.4987 GB, free: 3.305 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 2.834e-05/0.372, allocations: 8.031 kB / 0.4988 GB, free: 3.297 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.372, allocations: 0 / 0.4988 GB, free: 3.297 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.075e-06/0.372, allocations: 3.938 kB / 0.4988 GB, free: 3.293 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003568/0.3724, allocations: 0.5379 MB / 0.4993 GB, free: 2.75 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002421/0.3726, allocations: 188.1 kB / 0.4995 GB, free: 2.543 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000253/0.3729, allocations: 0.7004 MB / 0.5001 GB, free: 1.816 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 3.514e-05/0.3729, allocations: 4.188 kB / 0.5001 GB, free: 1.812 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.66e-05/0.373, allocations: 11.44 kB / 0.5002 GB, free: 1.801 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.373, allocations: 0 / 0.5002 GB, free: 1.801 MB / 378.7 MB Notification: Performance of Templates: time 0.002769/0.3757, allocations: 0.7615 MB / 0.5009 GB, free: 1.043 MB / 378.7 MB make -j1 -f HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.makefile (rm -f HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.pipe ; mkfifo HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.pipe >> ../files/HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.sim & ./HanserModelica_HanserModelica.Machines.TestSingleLayer12over12 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.pipe 2>&1)