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 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.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 3.2.3+maint.om/package.mo): time 0.001642/0.001642, allocations: 173 kB / 16.11 MB, free: 5.695 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo): time 0.06226/0.06226, allocations: 8.769 MB / 25.63 MB, free: 3.824 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.68/1.68, allocations: 205.4 MB / 233.9 MB, free: 12.47 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.0007202/0.0007202, allocations: 90.3 kB / 284.4 MB, free: 14.32 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005905/0.0005907, allocations: 12 kB / 344.8 MB, free: 1.863 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3144/0.315, allocations: 49.71 MB / 394.5 MB, free: 36.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1378/0.4529, allocations: 79.7 MB / 474.2 MB, free: 4.945 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003191/0.4533, allocations: 75.89 kB / 474.3 MB, free: 4.871 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03411/0.4874, allocations: 9.144 MB / 483.4 MB, free: 11.68 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.466e-06/0.4875, allocations: 0 / 483.4 MB, free: 11.68 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.734e-05/0.4875, allocations: 4 kB / 483.4 MB, free: 11.68 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.00065/0.4881, allocations: 411.7 kB / 483.8 MB, free: 11.22 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.955e-05/0.4882, allocations: 8.031 kB / 483.8 MB, free: 11.21 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004038/0.4886, allocations: 116.1 kB / 484 MB, free: 11.1 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002955/0.4889, allocations: 287.3 kB / 484.2 MB, free: 10.78 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001013/0.4891, allocations: 154.9 kB / 484.4 MB, free: 10.63 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.613e-05/0.4891, allocations: 154.9 kB / 484.5 MB, free: 10.48 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.63e-05/0.4892, allocations: 101.5 kB / 484.6 MB, free: 10.37 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.771e-05/0.4893, allocations: 75.47 kB / 484.7 MB, free: 10.3 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.088e-05/0.4894, allocations: 162.4 kB / 484.9 MB, free: 10.14 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-05/0.4895, allocations: 154.6 kB / 485 MB, free: 9.984 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.955e-05/0.4895, allocations: 150.6 kB / 485.2 MB, free: 9.836 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004773/0.49, allocations: 473.9 kB / 485.6 MB, free: 9.324 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001025/0.4901, allocations: 169.1 kB / 485.8 MB, free: 9.148 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.061e-05/0.4902, allocations: 88.08 kB / 485.9 MB, free: 9.059 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.485e-05/0.4903, allocations: 75.28 kB / 486 MB, free: 8.984 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.005e-05/0.4903, allocations: 109.8 kB / 486.1 MB, free: 8.867 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 2.174e-06/0.4903, allocations: 0 / 486.1 MB, free: 8.867 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001147/0.4905, allocations: 37.55 kB / 486.1 MB, free: 8.824 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.861e-05/0.4905, allocations: 126.7 kB / 486.2 MB, free: 8.688 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003046/0.4909, allocations: 182.2 kB / 486.4 MB, free: 8.5 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.4909, allocations: 29.7 kB / 486.4 MB, free: 8.465 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.785e-05/0.491, allocations: 104.1 kB / 486.5 MB, free: 8.359 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.146e-06/0.491, allocations: 4 kB / 486.5 MB, free: 8.355 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.3e-07/0.491, allocations: 0 / 486.5 MB, free: 8.355 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002065/0.4912, allocations: 314.8 kB / 486.8 MB, free: 8.039 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.412e-06/0.4912, allocations: 0 / 486.8 MB, free: 8.039 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.48e-06/0.4913, allocations: 7.938 kB / 486.8 MB, free: 8.031 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.323e-05/0.4913, allocations: 79.28 kB / 486.9 MB, free: 7.953 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-05/0.4914, allocations: 79.28 kB / 487 MB, free: 7.875 MB / 362.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0001082/0.4915, allocations: 33.61 kB / 487 MB, free: 7.836 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.318e-05/0.4915, allocations: 79.28 kB / 487.1 MB, free: 7.758 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.299e-05/0.4916, allocations: 87.16 kB / 487.2 MB, free: 7.672 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.957e-05/0.4917, allocations: 154.5 kB / 487.3 MB, free: 7.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.052e-05/0.4917, allocations: 75.28 kB / 487.4 MB, free: 7.445 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.221e-05/0.4918, allocations: 154.5 kB / 487.6 MB, free: 7.293 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001439/0.492, allocations: 87.27 kB / 487.7 MB, free: 7.207 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.124e-05/0.492, allocations: 79.28 kB / 487.7 MB, free: 7.129 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.0001734/0.4922, allocations: 276.3 kB / 488 MB, free: 6.848 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.252e-05/0.4923, allocations: 116.9 kB / 488.1 MB, free: 6.727 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001012/0.4924, allocations: 124.6 kB / 488.2 MB, free: 6.598 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.726e-05/0.4925, allocations: 184.2 kB / 488.4 MB, free: 6.41 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.514e-05/0.4926, allocations: 180.3 kB / 488.6 MB, free: 6.227 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.932e-05/0.4927, allocations: 184.2 kB / 488.8 MB, free: 6.039 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003901/0.4931, allocations: 425.2 kB / 489.2 MB, free: 5.566 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-05/0.4932, allocations: 106.5 kB / 489.3 MB, free: 5.457 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.043e-05/0.4933, allocations: 104.9 kB / 489.4 MB, free: 5.348 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001033/0.4934, allocations: 180.3 kB / 489.6 MB, free: 5.164 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001151/0.4935, allocations: 184.1 kB / 489.8 MB, free: 4.977 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001344/0.4937, allocations: 180.3 kB / 489.9 MB, free: 4.793 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.867e-05/0.4938, allocations: 180.2 kB / 490.1 MB, free: 4.609 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002647/0.494, allocations: 311.7 kB / 490.4 MB, free: 4.281 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002004/0.4943, allocations: 201.9 kB / 490.6 MB, free: 4.059 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001409/0.4944, allocations: 180.2 kB / 490.8 MB, free: 3.875 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001621/0.4946, allocations: 109 kB / 490.9 MB, free: 3.762 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001452/0.4947, allocations: 184.2 kB / 491.1 MB, free: 3.574 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.708e-05/0.4948, allocations: 101.5 kB / 491.2 MB, free: 3.469 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002187/0.4951, allocations: 144 kB / 491.3 MB, free: 3.328 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.4951, allocations: 0 / 491.3 MB, free: 3.328 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006259/0.4957, allocations: 20 kB / 491.3 MB, free: 3.309 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.0004853/0.4962, allocations: 202.5 kB / 491.5 MB, free: 3.098 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.718e-05/0.4963, allocations: 3.938 kB / 491.5 MB, free: 3.094 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.4963, allocations: 4 kB / 491.5 MB, free: 3.09 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.851e-06/0.4963, allocations: 48 / 491.5 MB, free: 3.09 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008436/0.4972, allocations: 0.5302 MB / 492.1 MB, free: 2.555 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005164/0.4977, allocations: 248 kB / 492.3 MB, free: 2.285 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003588/0.4981, allocations: 0.6926 MB / 493 MB, free: 1.566 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.276e-05/0.4982, allocations: 7.984 kB / 493 MB, free: 1.559 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.481e-05/0.4982, allocations: 11.44 kB / 493 MB, free: 1.547 MB / 362.7 MB Notification: Performance of SimCode: time 5.21e-07/0.4982, allocations: 0 / 493 MB, free: 1.547 MB / 362.7 MB Notification: Performance of Templates: time 0.005213/0.5034, allocations: 1.139 MB / 494.2 MB, free: 416 kB / 362.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)