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/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.001711/0.001711, allocations: 84.73 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.615/1.615, allocations: 177.1 MB / 199.7 MB, free: 5.816 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.001909/0.001909, allocations: 160.6 kB / 256.3 MB, free: 13.17 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.03725/0.03725, allocations: 6.662 MB / 319.4 MB, free: 26.57 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.TestDoubleLayer7over9,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9") translateModel(HanserModelica.Machines.TestDoubleLayer7over9,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 390.9 MB, free: 2.988 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.789e-05/4.001e-05, allocations: 2.312 kB / 390.9 MB, free: 2.984 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestDoubleLayer7over9): time 0.003273/0.003313, allocations: 1.27 MB / 392.2 MB, free: 1.707 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002602/0.005915, allocations: 1.144 MB / 393.3 MB, free: 0.5547 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.718e-05/0.005962, allocations: 0 / 393.3 MB, free: 0.5547 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005529/0.006515, allocations: 79.58 kB / 393.4 MB, free: 488 kB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001412/0.007927, allocations: 422.2 kB / 393.8 MB, free: 64 kB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.284e-06/0.007934, allocations: 0 / 393.8 MB, free: 64 kB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001677/0.009612, allocations: 0.8309 MB / 394.6 MB, free: 15.23 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.331e-05/0.009665, allocations: 4 kB / 394.6 MB, free: 15.23 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.062e-05/0.009715, allocations: 7.938 kB / 394.6 MB, free: 15.22 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.629e-05/0.009762, allocations: 15.97 kB / 394.7 MB, free: 15.2 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.659e-05/0.009778, allocations: 0 / 394.7 MB, free: 15.2 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002349/0.01001, allocations: 35.98 kB / 394.7 MB, free: 15.17 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.115e-05/0.01009, allocations: 19.92 kB / 394.7 MB, free: 15.15 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.574e-05/0.01014, allocations: 23.91 kB / 394.7 MB, free: 15.12 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000264/0.0104, allocations: 79.62 kB / 394.8 MB, free: 15.05 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.01041, allocations: 4 kB / 394.8 MB, free: 15.04 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.395e-06/0.01041, allocations: 0 / 394.8 MB, free: 15.04 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.64e-06/0.01042, allocations: 0 / 394.8 MB, free: 15.04 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.0005348/0.01095, allocations: 305.8 kB / 395.1 MB, free: 14.71 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/0.011, allocations: 8.031 kB / 395.1 MB, free: 14.71 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000399/0.0114, allocations: 104.1 kB / 395.2 MB, free: 14.61 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006538/0.01205, allocations: 336.5 kB / 395.6 MB, free: 14.25 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001025/0.01216, allocations: 158.9 kB / 395.7 MB, free: 14.09 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.895e-05/0.01225, allocations: 154.9 kB / 395.9 MB, free: 13.94 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004091/0.01265, allocations: 101.5 kB / 396 MB, free: 13.84 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.251e-05/0.01271, allocations: 83.45 kB / 396 MB, free: 13.75 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.777e-05/0.01279, allocations: 150.9 kB / 396.2 MB, free: 13.61 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.902e-05/0.01289, allocations: 154.5 kB / 396.3 MB, free: 13.45 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.856e-05/0.01299, allocations: 154.5 kB / 396.5 MB, free: 13.3 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004453/0.01344, allocations: 413.6 kB / 396.9 MB, free: 12.87 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001536/0.01359, allocations: 169.1 kB / 397.1 MB, free: 12.69 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.148e-05/0.01365, allocations: 84.14 kB / 397.1 MB, free: 12.61 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.381e-05/0.01371, allocations: 79.28 kB / 397.2 MB, free: 12.53 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.021e-05/0.01379, allocations: 105.8 kB / 397.3 MB, free: 12.41 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 1.853e-06/0.01379, allocations: 3.938 kB / 397.3 MB, free: 12.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001233/0.01391, allocations: 37.64 kB / 397.4 MB, free: 12.37 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/0.01401, allocations: 130.6 kB / 397.5 MB, free: 12.23 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002376/0.01425, allocations: 162.2 kB / 397.7 MB, free: 12.06 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.267e-05/0.01427, allocations: 25.7 kB / 397.7 MB, free: 12.03 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.678e-05/0.01436, allocations: 104.1 kB / 397.8 MB, free: 11.92 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.124e-06/0.01436, allocations: 0 / 397.8 MB, free: 11.92 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.749e-05/0.01439, allocations: 13.72 kB / 397.8 MB, free: 11.9 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002006/0.01459, allocations: 322.8 kB / 398.1 MB, free: 11.58 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.81e-06/0.0146, allocations: 0 / 398.1 MB, free: 11.58 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.198e-06/0.0146, allocations: 0 / 398.1 MB, free: 11.58 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.89e-05/0.01465, allocations: 79.28 kB / 398.2 MB, free: 11.5 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.231e-05/0.01469, allocations: 75.28 kB / 398.3 MB, free: 11.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.984e-05/0.01476, allocations: 37.67 kB / 398.3 MB, free: 11.38 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.753e-05/0.01483, allocations: 79.28 kB / 398.4 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.429e-05/0.01488, allocations: 83.3 kB / 398.5 MB, free: 11.22 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001024/0.01499, allocations: 154.5 kB / 398.6 MB, free: 11.07 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.136e-05/0.01503, allocations: 75.28 kB / 398.7 MB, free: 11 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000104/0.01513, allocations: 166.5 kB / 398.8 MB, free: 10.83 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.949e-05/0.01523, allocations: 79.22 kB / 398.9 MB, free: 10.75 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.425e-05/0.01528, allocations: 79.28 kB / 399 MB, free: 10.68 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.0002224/0.0155, allocations: 268.4 kB / 399.3 MB, free: 10.4 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001103/0.01561, allocations: 116.9 kB / 399.4 MB, free: 10.28 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.086e-05/0.0157, allocations: 112.8 kB / 399.5 MB, free: 10.16 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001465/0.01585, allocations: 188.2 kB / 399.7 MB, free: 9.973 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001219/0.01597, allocations: 180.2 kB / 399.8 MB, free: 9.789 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001105/0.01608, allocations: 180.3 kB / 400 MB, free: 9.605 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000333/0.01641, allocations: 368.8 kB / 400.4 MB, free: 9.207 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.327e-05/0.01648, allocations: 113 kB / 400.5 MB, free: 9.09 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.042e-05/0.01656, allocations: 108.9 kB / 400.6 MB, free: 8.977 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001326/0.01669, allocations: 176.3 kB / 400.8 MB, free: 8.797 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00012/0.01681, allocations: 176.3 kB / 400.9 MB, free: 8.617 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001239/0.01693, allocations: 184.2 kB / 401.1 MB, free: 8.43 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001211/0.01705, allocations: 180.2 kB / 401.3 MB, free: 8.246 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002609/0.01731, allocations: 315.7 kB / 401.6 MB, free: 7.914 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001136/0.01743, allocations: 108.9 kB / 401.7 MB, free: 7.801 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001527/0.01758, allocations: 188.2 kB / 401.9 MB, free: 7.609 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001308/0.01771, allocations: 105 kB / 402 MB, free: 7.5 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001264/0.01784, allocations: 184.2 kB / 402.2 MB, free: 7.312 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-05/0.01791, allocations: 116.9 kB / 402.3 MB, free: 7.191 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001661/0.01808, allocations: 128 kB / 402.4 MB, free: 7.066 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01808, allocations: 0 / 402.4 MB, free: 7.066 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003086/0.01839, allocations: 0 / 402.4 MB, free: 7.066 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.0002751/0.01866, allocations: 170.5 kB / 402.6 MB, free: 6.891 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 6.744e-05/0.01873, allocations: 7.938 kB / 402.6 MB, free: 6.883 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.01873, allocations: 0 / 402.6 MB, free: 6.883 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.503e-06/0.01873, allocations: 0 / 402.6 MB, free: 6.883 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007007/0.01943, allocations: 471.7 kB / 403.1 MB, free: 6.418 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000564/0.02, allocations: 239.3 kB / 403.3 MB, free: 6.156 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004435/0.02044, allocations: 79.31 kB / 403.4 MB, free: 6.059 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.522e-05/0.0205, allocations: 7.984 kB / 403.4 MB, free: 6.051 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.725e-05/0.02054, allocations: 12.5 kB / 403.4 MB, free: 6.039 MB / 330.7 MB Notification: Performance of SimCode: time 1.593e-06/0.02055, allocations: 0 / 403.4 MB, free: 6.039 MB / 330.7 MB Notification: Performance of Templates: time 0.003792/0.02434, allocations: 0.5009 MB / 403.9 MB, free: 5.551 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.381115850992501]