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 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.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 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 182.8 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03888/0.03888, allocations: 8.794 MB / 25.52 MB, free: 3.754 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.32/1.32, allocations: 222.9 MB / 251.3 MB, free: 7.457 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.0009198/0.0009198, allocations: 110.1 kB / 303.6 MB, free: 14.5 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001098/0.001098, allocations: 67.89 kB / 366 MB, free: 172 kB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1892/0.1903, allocations: 51.55 MB / 417.5 MB, free: 20.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestDoubleLayer10over12): time 0.002007/0.1924, allocations: 1.306 MB / 418.8 MB, free: 19.59 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001422/0.1938, allocations: 1.181 MB / 420 MB, free: 18.4 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.437e-05/0.1939, allocations: 4 kB / 420 MB, free: 18.4 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003467/0.1942, allocations: 71.75 kB / 420.1 MB, free: 18.33 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006499/0.1949, allocations: 344.5 kB / 420.4 MB, free: 17.99 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.296e-06/0.1949, allocations: 0 / 420.4 MB, free: 17.99 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001048/0.1959, allocations: 0.9735 MB / 421.4 MB, free: 17.02 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.7e-05/0.196, allocations: 8 kB / 421.4 MB, free: 17.01 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.876e-05/0.196, allocations: 11.88 kB / 421.4 MB, free: 17 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.746e-05/0.1961, allocations: 11.88 kB / 421.4 MB, free: 16.99 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.868e-06/0.1961, allocations: 0 / 421.4 MB, free: 16.99 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001163/0.1962, allocations: 51.95 kB / 421.5 MB, free: 16.94 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.644e-05/0.1963, allocations: 15.92 kB / 421.5 MB, free: 16.92 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.596e-05/0.1963, allocations: 19.81 kB / 421.5 MB, free: 16.9 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001338/0.1964, allocations: 79.67 kB / 421.6 MB, free: 16.82 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.1964, allocations: 0 / 421.6 MB, free: 16.82 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.041e-06/0.1964, allocations: 0 / 421.6 MB, free: 16.82 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.1965, allocations: 0 / 421.6 MB, free: 16.82 MB / 298.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.000294/0.1968, allocations: 391 kB / 422 MB, free: 16.39 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.1968, allocations: 12.03 kB / 422 MB, free: 16.38 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003087/0.1971, allocations: 112 kB / 422.1 MB, free: 16.27 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003408/0.1975, allocations: 341.7 kB / 422.4 MB, free: 15.9 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.411e-05/0.1975, allocations: 154.9 kB / 422.6 MB, free: 15.75 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.256e-05/0.1975, allocations: 158.9 kB / 422.7 MB, free: 15.59 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.937e-05/0.1976, allocations: 109.2 kB / 422.8 MB, free: 15.48 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.1976, allocations: 75.28 kB / 422.9 MB, free: 15.4 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.831e-05/0.1976, allocations: 150.6 kB / 423.1 MB, free: 15.25 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.843e-05/0.1976, allocations: 150.6 kB / 423.2 MB, free: 15.11 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.007e-05/0.1977, allocations: 158.5 kB / 423.4 MB, free: 14.95 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002008/0.1979, allocations: 465.9 kB / 423.8 MB, free: 14.45 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.451e-05/0.1979, allocations: 173.1 kB / 424 MB, free: 14.27 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.648e-05/0.1979, allocations: 80.14 kB / 424.1 MB, free: 14.18 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.565e-05/0.198, allocations: 79.28 kB / 424.1 MB, free: 14.11 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.39e-05/0.198, allocations: 109.8 kB / 424.3 MB, free: 13.99 MB / 298.7 MB Notification: Performance of pre-optimization done (n=0): time 9.41e-07/0.198, allocations: 0 / 424.3 MB, free: 13.99 MB / 298.7 MB Notification: Performance of matching and sorting (n=0): time 6.628e-05/0.1981, allocations: 33.61 kB / 424.3 MB, free: 13.95 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.879e-05/0.1981, allocations: 134.6 kB / 424.4 MB, free: 13.8 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/0.1982, allocations: 171.3 kB / 424.6 MB, free: 13.62 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.97e-06/0.1982, allocations: 29.64 kB / 424.6 MB, free: 13.59 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.984e-05/0.1983, allocations: 104.1 kB / 424.7 MB, free: 13.48 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.483e-06/0.1983, allocations: 0 / 424.7 MB, free: 13.48 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.514e-05/0.1983, allocations: 13.7 kB / 424.7 MB, free: 13.46 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.053e-05/0.1983, allocations: 318.8 kB / 425 MB, free: 13.14 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.977e-06/0.1983, allocations: 0 / 425 MB, free: 13.14 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.114e-06/0.1984, allocations: 0 / 425 MB, free: 13.14 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.101e-05/0.1984, allocations: 79.33 kB / 425.1 MB, free: 13.07 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.338e-06/0.1984, allocations: 79.28 kB / 425.2 MB, free: 12.99 MB / 298.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.363e-05/0.1984, allocations: 45.59 kB / 425.2 MB, free: 12.94 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.1985, allocations: 83.22 kB / 425.3 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.1985, allocations: 87.3 kB / 425.4 MB, free: 12.77 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.143e-05/0.1985, allocations: 154.6 kB / 425.6 MB, free: 12.62 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.318e-06/0.1985, allocations: 79.22 kB / 425.6 MB, free: 12.54 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.825e-05/0.1985, allocations: 150.6 kB / 425.8 MB, free: 12.39 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.25e-05/0.1986, allocations: 79.28 kB / 425.9 MB, free: 12.31 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.1986, allocations: 87.22 kB / 425.9 MB, free: 12.23 MB / 298.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.163e-05/0.1987, allocations: 268.9 kB / 426.2 MB, free: 11.95 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.522e-05/0.1987, allocations: 120.8 kB / 426.3 MB, free: 11.83 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.397e-05/0.1987, allocations: 117.5 kB / 426.4 MB, free: 11.71 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.808e-05/0.1988, allocations: 176.3 kB / 426.6 MB, free: 11.53 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.193e-05/0.1988, allocations: 184.2 kB / 426.8 MB, free: 11.34 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.358e-05/0.1988, allocations: 184.2 kB / 427 MB, free: 11.15 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001245/0.199, allocations: 417.2 kB / 427.4 MB, free: 10.69 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.334e-05/0.199, allocations: 112.9 kB / 427.5 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.277e-05/0.199, allocations: 101 kB / 427.6 MB, free: 10.46 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.072e-05/0.199, allocations: 184.2 kB / 427.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.272e-05/0.199, allocations: 184.2 kB / 427.9 MB, free: 10.09 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.223e-05/0.1991, allocations: 184.3 kB / 428.1 MB, free: 9.902 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.292e-05/0.1991, allocations: 184.2 kB / 428.3 MB, free: 9.715 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001644/0.1993, allocations: 0.8685 MB / 429.2 MB, free: 8.781 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.411e-05/0.1993, allocations: 190 kB / 429.4 MB, free: 8.57 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.009e-05/0.1993, allocations: 184.1 kB / 429.5 MB, free: 8.383 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.269e-05/0.1994, allocations: 101 kB / 429.6 MB, free: 8.277 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.468e-05/0.1994, allocations: 184.2 kB / 429.8 MB, free: 8.09 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/0.1995, allocations: 105 kB / 429.9 MB, free: 7.98 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.692e-05/0.1995, allocations: 131.9 kB / 430.1 MB, free: 7.852 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1995, allocations: 0 / 430.1 MB, free: 7.852 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003626/0.1999, allocations: 0 / 430.1 MB, free: 7.852 MB / 298.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.272e-05/0.2, allocations: 178.5 kB / 430.2 MB, free: 7.664 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 2.445e-05/0.2, allocations: 3.938 kB / 430.2 MB, free: 7.66 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.2, allocations: 0 / 430.2 MB, free: 7.66 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.42e-07/0.2, allocations: 8 kB / 430.2 MB, free: 7.652 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003362/0.2004, allocations: 0.5307 MB / 430.8 MB, free: 7.121 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002355/0.2006, allocations: 250.6 kB / 431 MB, free: 6.852 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001119/0.2007, allocations: 0.6965 MB / 431.7 MB, free: 6.129 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.149e-05/0.2008, allocations: 7.984 kB / 431.7 MB, free: 6.121 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.158e-05/0.2008, allocations: 7.438 kB / 431.7 MB, free: 6.113 MB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2008, allocations: 0 / 431.7 MB, free: 6.113 MB / 298.7 MB Notification: Performance of Templates: time 0.002059/0.2028, allocations: 463.4 kB / 432.2 MB, free: 5.668 MB / 298.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)