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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package HanserModelica with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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 3.2.3+maint.om/package.mo): time 0.001625/0.001625, allocations: 180.5 kB / 16.12 MB, free: 5.57 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo): time 0.04542/0.04542, allocations: 8.77 MB / 25.63 MB, free: 3.418 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.605/1.605, allocations: 205.4 MB / 233.9 MB, free: 14.52 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007767/0.0007767, allocations: 96.92 kB / 284.4 MB, free: 14.59 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004213/0.0004213, allocations: 12 kB / 344.8 MB, free: 2.125 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2774/0.2778, allocations: 49.71 MB / 394.5 MB, free: 36.77 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09672/0.3746, allocations: 79.69 MB / 474.2 MB, free: 4.961 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002738/0.3749, allocations: 71.97 kB / 474.3 MB, free: 4.891 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02326/0.3982, allocations: 9.796 MB / 484.1 MB, free: 11.05 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3982, allocations: 0 / 484.1 MB, free: 11.05 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.468e-06/0.3983, allocations: 4 kB / 484.1 MB, free: 11.04 MB / 362.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.0004428/0.3987, allocations: 419 kB / 484.5 MB, free: 10.58 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.3988, allocations: 12.03 kB / 484.5 MB, free: 10.57 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002741/0.3991, allocations: 108.1 kB / 484.6 MB, free: 10.46 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002512/0.3993, allocations: 288.9 kB / 484.9 MB, free: 10.14 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.984e-05/0.3994, allocations: 154.9 kB / 485 MB, free: 9.988 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.866e-05/0.3994, allocations: 150.9 kB / 485.2 MB, free: 9.84 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.181e-05/0.3995, allocations: 109.5 kB / 485.3 MB, free: 9.727 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.336e-05/0.3995, allocations: 75.47 kB / 485.4 MB, free: 9.652 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.279e-05/0.3996, allocations: 154.5 kB / 485.5 MB, free: 9.5 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.444e-05/0.3997, allocations: 154.6 kB / 485.7 MB, free: 9.348 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.475e-05/0.3998, allocations: 150.6 kB / 485.8 MB, free: 9.199 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003336/0.4001, allocations: 477.9 kB / 486.3 MB, free: 8.684 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.2e-05/0.4002, allocations: 169.1 kB / 486.4 MB, free: 8.508 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.343e-05/0.4002, allocations: 84.14 kB / 486.5 MB, free: 8.422 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.123e-05/0.4003, allocations: 79.27 kB / 486.6 MB, free: 8.344 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.076e-05/0.4003, allocations: 109.8 kB / 486.7 MB, free: 8.227 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 1.543e-06/0.4003, allocations: 0 / 486.7 MB, free: 8.227 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 8.949e-05/0.4004, allocations: 37.55 kB / 486.7 MB, free: 8.184 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.164e-05/0.4005, allocations: 130.7 kB / 486.9 MB, free: 8.043 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002191/0.4007, allocations: 191.3 kB / 487.1 MB, free: 7.844 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.4008, allocations: 33.58 kB / 487.1 MB, free: 7.805 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.963e-05/0.4008, allocations: 108.1 kB / 487.2 MB, free: 7.695 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.555e-06/0.4008, allocations: 0 / 487.2 MB, free: 7.695 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.3e-07/0.4008, allocations: 0 / 487.2 MB, free: 7.695 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.401, allocations: 318.8 kB / 487.5 MB, free: 7.375 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.647e-06/0.401, allocations: 0 / 487.5 MB, free: 7.375 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.396e-06/0.401, allocations: 0 / 487.5 MB, free: 7.375 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.292e-05/0.401, allocations: 83.27 kB / 487.6 MB, free: 7.293 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.812e-05/0.4011, allocations: 75.28 kB / 487.7 MB, free: 7.219 MB / 362.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.728e-05/0.4011, allocations: 37.61 kB / 487.7 MB, free: 7.176 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.147e-05/0.4012, allocations: 79.28 kB / 487.8 MB, free: 7.098 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.076e-05/0.4012, allocations: 83.16 kB / 487.9 MB, free: 7.016 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.323e-05/0.4013, allocations: 154.6 kB / 488 MB, free: 6.863 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.772e-05/0.4014, allocations: 79.28 kB / 488.1 MB, free: 6.785 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-05/0.4014, allocations: 158.5 kB / 488.2 MB, free: 6.629 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001086/0.4015, allocations: 87.2 kB / 488.3 MB, free: 6.543 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.715e-05/0.4016, allocations: 79.22 kB / 488.4 MB, free: 6.465 MB / 362.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.0001478/0.4017, allocations: 276.4 kB / 488.7 MB, free: 6.184 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.596e-05/0.4018, allocations: 112.9 kB / 488.8 MB, free: 6.066 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.742e-05/0.4019, allocations: 133.2 kB / 488.9 MB, free: 5.926 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.086e-05/0.402, allocations: 180.3 kB / 489.1 MB, free: 5.742 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.625e-05/0.402, allocations: 176.3 kB / 489.3 MB, free: 5.562 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.788e-05/0.4021, allocations: 184.2 kB / 489.4 MB, free: 5.375 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002647/0.4024, allocations: 425.2 kB / 489.9 MB, free: 4.902 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.806e-05/0.4024, allocations: 106.4 kB / 490 MB, free: 4.793 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.902e-05/0.4025, allocations: 105 kB / 490.1 MB, free: 4.684 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.593e-05/0.4025, allocations: 180.3 kB / 490.2 MB, free: 4.5 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.425e-05/0.4026, allocations: 192.1 kB / 490.4 MB, free: 4.305 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.895e-05/0.4027, allocations: 176.3 kB / 490.6 MB, free: 4.125 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.18e-05/0.4028, allocations: 184.2 kB / 490.8 MB, free: 3.938 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001814/0.403, allocations: 311.7 kB / 491.1 MB, free: 3.609 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.416e-05/0.4031, allocations: 193.9 kB / 491.3 MB, free: 3.395 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.527e-05/0.4031, allocations: 180.2 kB / 491.4 MB, free: 3.211 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.4033, allocations: 116.9 kB / 491.6 MB, free: 3.09 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.893e-05/0.4033, allocations: 180.2 kB / 491.7 MB, free: 2.906 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.21e-05/0.4034, allocations: 105.5 kB / 491.8 MB, free: 2.797 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000144/0.4035, allocations: 139.9 kB / 492 MB, free: 2.66 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.747e-06/0.4035, allocations: 0 / 492 MB, free: 2.66 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004515/0.404, allocations: 19.94 kB / 492 MB, free: 2.641 MB / 362.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.0002806/0.4043, allocations: 206.5 kB / 492.2 MB, free: 2.43 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 4.251e-05/0.4044, allocations: 4.016 kB / 492.2 MB, free: 2.426 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.4044, allocations: 0 / 492.2 MB, free: 2.426 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.915e-06/0.4044, allocations: 3.938 kB / 492.2 MB, free: 2.422 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006407/0.405, allocations: 0.5341 MB / 492.7 MB, free: 1.883 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004837/0.4055, allocations: 247.9 kB / 493 MB, free: 1.613 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003523/0.4059, allocations: 0.7004 MB / 493.7 MB, free: 0.8867 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.122e-05/0.406, allocations: 7.938 kB / 493.7 MB, free: 0.8789 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.425e-05/0.406, allocations: 7.438 kB / 493.7 MB, free: 0.8711 MB / 362.7 MB Notification: Performance of SimCode: time 3.91e-07/0.406, allocations: 0 / 493.7 MB, free: 0.8711 MB / 362.7 MB Notification: Performance of Templates: time 0.00366/0.4097, allocations: 1.145 MB / 494.8 MB, free: 15.73 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)