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.0009435/0.0009435, allocations: 169.3 kB / 7.645 MB, free: 1.434 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03955/0.03955, allocations: 8.721 MB / 16.79 MB, free: 3.383 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 221.5 MB / 240.9 MB, free: 13.22 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.0008946/0.0008946, allocations: 92.7 kB / 293.8 MB, free: 7.203 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.539e-05/1.529e-05, allocations: 4 kB / 352.6 MB, free: 1.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1021, allocations: 52.54 MB / 405.2 MB, free: 12.67 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4782/0.5803, allocations: 79.74 MB / 484.9 MB, free: 7.59 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002429/0.5807, allocations: 68.22 kB / 485 MB, free: 7.559 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02579/0.6065, allocations: 9.51 MB / 494.5 MB, free: 14.76 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.6065, allocations: 0 / 494.5 MB, free: 14.76 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.748e-05/0.6065, allocations: 8 kB / 494.5 MB, free: 14.75 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.0004979/0.6071, allocations: 395.8 kB / 494.9 MB, free: 14.32 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.806e-05/0.6071, allocations: 15.98 kB / 494.9 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003219/0.6075, allocations: 112 kB / 495 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001849/0.6093, allocations: 0.7569 MB / 495.8 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.8e-05/0.6094, allocations: 150.6 kB / 495.9 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.203e-05/0.6095, allocations: 154.5 kB / 496.1 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.185e-05/0.6096, allocations: 154.6 kB / 496.2 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.635e-05/0.6096, allocations: 101 kB / 496.3 MB, free: 12.85 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.718e-05/0.6097, allocations: 75.28 kB / 496.4 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.401e-05/0.6098, allocations: 162.5 kB / 496.6 MB, free: 12.61 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.575e-05/0.6099, allocations: 154.5 kB / 496.7 MB, free: 12.46 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003765/0.6103, allocations: 443.9 kB / 497.1 MB, free: 11.99 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001147/0.6104, allocations: 169.1 kB / 497.3 MB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.529e-05/0.6104, allocations: 80.14 kB / 497.4 MB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.866e-05/0.6105, allocations: 79.28 kB / 497.5 MB, free: 11.66 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.313e-05/0.6106, allocations: 113.8 kB / 497.6 MB, free: 11.54 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 2.053e-06/0.6106, allocations: 0 / 497.6 MB, free: 11.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001179/0.6107, allocations: 33.61 kB / 497.6 MB, free: 11.5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.075e-05/0.6107, allocations: 55.39 kB / 497.7 MB, free: 11.43 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002056/0.611, allocations: 130.5 kB / 497.8 MB, free: 11.3 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.611, allocations: 29.69 kB / 497.8 MB, free: 11.26 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.113e-05/0.6111, allocations: 100.1 kB / 497.9 MB, free: 11.16 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.347e-06/0.6111, allocations: 3.938 kB / 497.9 MB, free: 11.16 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2e-07/0.6111, allocations: 0 / 497.9 MB, free: 11.16 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001759/0.6113, allocations: 326.8 kB / 498.2 MB, free: 10.83 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.681e-06/0.6113, allocations: 0 / 498.2 MB, free: 10.83 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.267e-06/0.6113, allocations: 6.156 kB / 498.2 MB, free: 10.82 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.221e-05/0.6114, allocations: 75.28 kB / 498.3 MB, free: 10.75 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.375e-05/0.6114, allocations: 75.28 kB / 498.4 MB, free: 10.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 8.82e-05/0.6115, allocations: 37.61 kB / 498.4 MB, free: 10.63 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.772e-05/0.6116, allocations: 79.91 kB / 498.5 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.375e-05/0.6116, allocations: 83.28 kB / 498.6 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.384e-05/0.6117, allocations: 158.5 kB / 498.7 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.409e-05/0.6118, allocations: 75.28 kB / 498.8 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001252/0.6119, allocations: 154.5 kB / 499 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001038/0.612, allocations: 79.22 kB / 499 MB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.185e-05/0.6121, allocations: 79.52 kB / 499.1 MB, free: 9.934 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 () * 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.0001607/0.6122, allocations: 263.5 kB / 499.4 MB, free: 9.668 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.963e-05/0.6123, allocations: 108.9 kB / 499.5 MB, free: 9.555 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.682e-05/0.6124, allocations: 120.9 kB / 499.6 MB, free: 9.434 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.299e-05/0.6125, allocations: 176.3 kB / 499.8 MB, free: 9.254 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.671e-05/0.6126, allocations: 177.4 kB / 499.9 MB, free: 9.074 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.522e-05/0.6127, allocations: 188.2 kB / 0.4884 GB, free: 8.883 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00034/0.6131, allocations: 401.7 kB / 0.4888 GB, free: 8.445 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-05/0.6131, allocations: 105 kB / 0.4889 GB, free: 8.336 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.612e-05/0.6132, allocations: 104.9 kB / 0.489 GB, free: 8.227 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001081/0.6133, allocations: 180.2 kB / 0.4892 GB, free: 8.043 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001199/0.6135, allocations: 176.3 kB / 0.4893 GB, free: 7.863 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001107/0.6136, allocations: 185.4 kB / 0.4895 GB, free: 7.676 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.634e-05/0.6137, allocations: 186.6 kB / 0.4897 GB, free: 7.488 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002343/0.6139, allocations: 311.6 kB / 0.49 GB, free: 7.16 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001338/0.6141, allocations: 186 kB / 0.4902 GB, free: 6.953 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001309/0.6142, allocations: 180.3 kB / 0.4903 GB, free: 6.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001241/0.6143, allocations: 108.9 kB / 0.4904 GB, free: 6.656 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001137/0.6145, allocations: 184.3 kB / 0.4906 GB, free: 6.469 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.066e-05/0.6145, allocations: 105.4 kB / 0.4907 GB, free: 6.359 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001299/0.6147, allocations: 116 kB / 0.4908 GB, free: 6.246 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6147, allocations: 0 / 0.4908 GB, free: 6.246 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004053/0.6151, allocations: 12 kB / 0.4908 GB, free: 6.234 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 () * 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.0003478/0.6154, allocations: 195.1 kB / 0.491 GB, free: 6.031 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 5.64e-05/0.6155, allocations: 0 / 0.491 GB, free: 6.031 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.88e-06/0.6155, allocations: 8 kB / 0.491 GB, free: 6.023 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.926e-06/0.6155, allocations: 0 / 0.491 GB, free: 6.023 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005995/0.6161, allocations: 0.5352 MB / 0.4915 GB, free: 5.484 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003309/0.6165, allocations: 186.9 kB / 0.4917 GB, free: 5.277 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003401/0.6168, allocations: 0.7041 MB / 0.4924 GB, free: 4.547 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.611e-05/0.6169, allocations: 8.172 kB / 0.4924 GB, free: 4.539 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.345e-05/0.6169, allocations: 7.438 kB / 0.4924 GB, free: 4.535 MB / 362.7 MB Notification: Performance of SimCode: time 3.307e-06/0.6169, allocations: 1.594 kB / 0.4924 GB, free: 4.535 MB / 362.7 MB Notification: Performance of Templates: time 0.00294/0.6199, allocations: 0.5535 MB / 0.493 GB, free: 4.016 MB / 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)