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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001586/0.001586, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.63/1.63, allocations: 177.1 MB / 199.7 MB, free: 5.82 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002845/0.002845, allocations: 171 kB / 256.3 MB, free: 13.18 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.03846/0.03846, allocations: 6.642 MB / 319.4 MB, free: 26.59 MB / 266.7 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(HanserModelica.Machines.TestDoubleLayer10over12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12") translateModel(HanserModelica.Machines.TestDoubleLayer10over12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.455e-06/2.455e-06, allocations: 0 / 390.9 MB, free: 3.004 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.941e-05/4.187e-05, allocations: 6.25 kB / 390.9 MB, free: 2.996 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestDoubleLayer10over12): time 0.00293/0.002972, allocations: 1.27 MB / 392.2 MB, free: 1.715 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002529/0.005501, allocations: 1.137 MB / 393.3 MB, free: 0.5703 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.68e-05/0.005557, allocations: 0 / 393.3 MB, free: 0.5703 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006241/0.006181, allocations: 75.58 kB / 393.4 MB, free: 0.4961 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001817/0.007999, allocations: 422.2 kB / 393.8 MB, free: 84 kB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.171e-05/0.00801, allocations: 0 / 393.8 MB, free: 84 kB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002162/0.01017, allocations: 1.042 MB / 394.8 MB, free: 15.04 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.169e-05/0.01023, allocations: 4 kB / 394.8 MB, free: 15.04 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.049e-05/0.0103, allocations: 15.92 kB / 394.9 MB, free: 15.02 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.666e-05/0.01036, allocations: 15.92 kB / 394.9 MB, free: 15 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.668e-05/0.01038, allocations: 4 kB / 394.9 MB, free: 15 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000247/0.01063, allocations: 39.97 kB / 394.9 MB, free: 14.96 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.063e-05/0.01071, allocations: 23.91 kB / 394.9 MB, free: 14.94 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.233e-05/0.01075, allocations: 11.94 kB / 394.9 MB, free: 14.93 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002699/0.01102, allocations: 83.62 kB / 395 MB, free: 14.84 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.191e-05/0.01103, allocations: 3.984 kB / 395 MB, free: 14.84 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.01103, allocations: 0 / 395 MB, free: 14.84 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.642e-06/0.01104, allocations: 0 / 395 MB, free: 14.84 MB / 330.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.0005023/0.01154, allocations: 313.7 kB / 395.3 MB, free: 14.5 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.01159, allocations: 12.03 kB / 395.4 MB, free: 14.49 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004108/0.012, allocations: 104.1 kB / 395.5 MB, free: 14.39 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006446/0.01264, allocations: 333.3 kB / 395.8 MB, free: 14.04 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.444e-05/0.01274, allocations: 154.9 kB / 395.9 MB, free: 13.88 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.704e-05/0.01282, allocations: 150.9 kB / 396.1 MB, free: 13.73 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.437e-05/0.01292, allocations: 101.5 kB / 396.2 MB, free: 13.63 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.801e-05/0.01296, allocations: 75.47 kB / 396.3 MB, free: 13.55 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.258e-05/0.01306, allocations: 150.9 kB / 396.4 MB, free: 13.41 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.253e-05/0.01315, allocations: 158.5 kB / 396.6 MB, free: 13.25 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.223e-05/0.01324, allocations: 166.5 kB / 396.7 MB, free: 13.09 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004179/0.01366, allocations: 413.6 kB / 397.1 MB, free: 12.65 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001418/0.0138, allocations: 165.1 kB / 397.3 MB, free: 12.48 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.699e-05/0.01386, allocations: 80.14 kB / 397.4 MB, free: 12.4 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.266e-05/0.01391, allocations: 75.28 kB / 397.4 MB, free: 12.32 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.901e-05/0.01399, allocations: 109.8 kB / 397.5 MB, free: 12.21 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 1.914e-06/0.01399, allocations: 0 / 397.5 MB, free: 12.21 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001242/0.01412, allocations: 37.59 kB / 397.6 MB, free: 12.16 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001088/0.01423, allocations: 134.6 kB / 397.7 MB, free: 12.02 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002502/0.01448, allocations: 167.3 kB / 397.9 MB, free: 11.84 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.0145, allocations: 29.7 kB / 397.9 MB, free: 11.81 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.758e-05/0.01458, allocations: 104.1 kB / 398 MB, free: 11.7 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.034e-06/0.01458, allocations: 0 / 398 MB, free: 11.7 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.862e-05/0.01461, allocations: 9.719 kB / 398 MB, free: 11.69 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002107/0.01482, allocations: 322.8 kB / 398.3 MB, free: 11.36 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.572e-06/0.01483, allocations: 0 / 398.3 MB, free: 11.36 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.869e-06/0.01484, allocations: 0 / 398.3 MB, free: 11.36 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.081e-05/0.01489, allocations: 79.28 kB / 398.4 MB, free: 11.29 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.005e-05/0.01493, allocations: 75.28 kB / 398.5 MB, free: 11.21 MB / 330.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 8.098e-05/0.01501, allocations: 45.72 kB / 398.5 MB, free: 11.16 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.753e-05/0.01506, allocations: 83.22 kB / 398.6 MB, free: 11.08 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-05/0.01512, allocations: 83.3 kB / 398.7 MB, free: 11 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000118/0.01523, allocations: 162.5 kB / 398.8 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.296e-05/0.01528, allocations: 75.28 kB / 398.9 MB, free: 10.76 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.842e-05/0.01536, allocations: 154.5 kB / 399.1 MB, free: 10.61 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/0.01547, allocations: 83.22 kB / 399.1 MB, free: 10.53 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.383e-05/0.01552, allocations: 75.28 kB / 399.2 MB, free: 10.45 MB / 330.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 0.0002228/0.01574, allocations: 272.4 kB / 399.5 MB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.357e-05/0.01583, allocations: 112.9 kB / 399.6 MB, free: 10.06 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.616e-05/0.01592, allocations: 117.5 kB / 399.7 MB, free: 9.938 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001117/0.01603, allocations: 184.2 kB / 399.9 MB, free: 9.75 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001177/0.01615, allocations: 188.1 kB / 400.1 MB, free: 9.559 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001107/0.01626, allocations: 180.3 kB / 400.3 MB, free: 9.375 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003476/0.01661, allocations: 380.8 kB / 400.6 MB, free: 8.965 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-05/0.01667, allocations: 101 kB / 400.7 MB, free: 8.859 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.594e-05/0.01673, allocations: 101 kB / 400.8 MB, free: 8.754 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000101/0.01683, allocations: 180.2 kB / 401 MB, free: 8.57 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001366/0.01697, allocations: 188.2 kB / 401.2 MB, free: 8.379 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001152/0.01709, allocations: 180.2 kB / 401.4 MB, free: 8.195 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001183/0.0172, allocations: 180.3 kB / 401.5 MB, free: 8.012 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002722/0.01748, allocations: 319.6 kB / 401.8 MB, free: 7.676 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.536e-05/0.01757, allocations: 108.9 kB / 402 MB, free: 7.562 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00013/0.0177, allocations: 188.2 kB / 402.1 MB, free: 7.371 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.01781, allocations: 101 kB / 402.2 MB, free: 7.266 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/0.01793, allocations: 184.2 kB / 402.4 MB, free: 7.078 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.071e-05/0.018, allocations: 112.9 kB / 402.5 MB, free: 6.961 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001789/0.01818, allocations: 124 kB / 402.6 MB, free: 6.84 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01818, allocations: 0 / 402.6 MB, free: 6.84 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003162/0.01849, allocations: 0 / 402.6 MB, free: 6.84 MB / 330.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 0.0002248/0.01872, allocations: 174.5 kB / 402.8 MB, free: 6.66 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 5.09e-05/0.01877, allocations: 0 / 402.8 MB, free: 6.66 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.01877, allocations: 4 kB / 402.8 MB, free: 6.656 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.418e-06/0.01877, allocations: 3.938 kB / 402.8 MB, free: 6.652 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006265/0.0194, allocations: 463.7 kB / 403.3 MB, free: 6.195 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004955/0.0199, allocations: 254.9 kB / 403.5 MB, free: 5.922 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001073/0.02, allocations: 79.31 kB / 403.6 MB, free: 5.824 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.646e-05/0.02005, allocations: 7.938 kB / 403.6 MB, free: 5.816 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.795e-05/0.02009, allocations: 12.5 kB / 403.6 MB, free: 5.805 MB / 330.7 MB Notification: Performance of SimCode: time 1.032e-06/0.02009, allocations: 0 / 403.6 MB, free: 5.805 MB / 330.7 MB Notification: Performance of Templates: time 0.003593/0.02368, allocations: 0.5043 MB / 404.1 MB, free: 5.312 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.341087343054824]