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.001907/0.001907, allocations: 80.33 kB / 19.18 MB, free: 2.527 MB / 14.72 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.425/1.425, allocations: 177.1 MB / 199.4 MB, free: 8.449 MB / 190.1 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.001863/0.001863, allocations: 166.8 kB / 256 MB, free: 4.324 MB / 238.1 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.03909/0.03909, allocations: 6.661 MB / 319 MB, free: 5.387 MB / 302.1 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 1.593e-06/1.593e-06, allocations: 0 / 445.9 MB, free: 25.22 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.212e-05/2.371e-05, allocations: 9.172 kB / 445.9 MB, free: 25.21 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestDoubleLayer7over9): time 0.001659/0.001683, allocations: 1.261 MB / 447.1 MB, free: 23.94 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001517/0.0032, allocations: 1.144 MB / 448.3 MB, free: 22.79 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.863e-05/0.003239, allocations: 3.938 kB / 448.3 MB, free: 22.79 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004048/0.003643, allocations: 75.58 kB / 448.4 MB, free: 22.71 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000782/0.004425, allocations: 418.2 kB / 448.8 MB, free: 22.3 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.458e-06/0.00443, allocations: 0 / 448.8 MB, free: 22.3 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00102/0.00545, allocations: 0.8309 MB / 449.6 MB, free: 21.47 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.508e-05/0.005485, allocations: 4 kB / 449.6 MB, free: 21.46 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.917e-05/0.005514, allocations: 7.984 kB / 449.6 MB, free: 21.46 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.46e-05/0.005548, allocations: 11.94 kB / 449.6 MB, free: 21.45 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.133e-05/0.00556, allocations: 0 / 449.6 MB, free: 21.45 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001114/0.005671, allocations: 51.83 kB / 449.7 MB, free: 21.39 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.949e-05/0.005721, allocations: 19.92 kB / 449.7 MB, free: 21.38 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.103e-05/0.005742, allocations: 11.94 kB / 449.7 MB, free: 21.36 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001421/0.005884, allocations: 79.73 kB / 449.8 MB, free: 21.29 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.005886, allocations: 0 / 449.8 MB, free: 21.29 MB / 334.1 MB Notification: Performance of FrontEnd: time 5.01e-07/0.005887, allocations: 0 / 449.8 MB, free: 21.29 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.005891, allocations: 0 / 449.8 MB, free: 21.29 MB / 334.1 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.0002839/0.006175, allocations: 309.8 kB / 450.1 MB, free: 20.95 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.006212, allocations: 11.98 kB / 450.1 MB, free: 20.94 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002956/0.006507, allocations: 112.1 kB / 450.2 MB, free: 20.83 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003526/0.00686, allocations: 329.2 kB / 450.5 MB, free: 20.48 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.807e-05/0.006888, allocations: 154.9 kB / 450.7 MB, free: 20.33 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.831e-05/0.006906, allocations: 150.9 kB / 450.8 MB, free: 20.18 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.494e-05/0.006951, allocations: 105.5 kB / 450.9 MB, free: 20.07 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.597e-05/0.006967, allocations: 75.47 kB / 451 MB, free: 20 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.206e-05/0.006989, allocations: 150.9 kB / 451.2 MB, free: 19.85 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.215e-05/0.007011, allocations: 158.5 kB / 451.3 MB, free: 19.7 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.263e-05/0.007034, allocations: 154.5 kB / 451.5 MB, free: 19.54 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001573/0.007191, allocations: 413.6 kB / 451.9 MB, free: 19.11 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.471e-05/0.007236, allocations: 165.1 kB / 452 MB, free: 18.94 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.534e-05/0.007251, allocations: 96.06 kB / 452.1 MB, free: 18.84 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.532e-05/0.007267, allocations: 79.27 kB / 452.2 MB, free: 18.76 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/0.00729, allocations: 105.8 kB / 452.3 MB, free: 18.65 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 9.81e-07/0.007291, allocations: 0 / 452.3 MB, free: 18.65 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 6.451e-05/0.007356, allocations: 37.59 kB / 452.3 MB, free: 18.61 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.238e-05/0.007388, allocations: 130.6 kB / 452.5 MB, free: 18.46 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/0.007502, allocations: 161.4 kB / 452.6 MB, free: 18.3 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.911e-06/0.007508, allocations: 25.7 kB / 452.7 MB, free: 18.27 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.282e-05/0.007541, allocations: 104.1 kB / 452.8 MB, free: 18.16 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.233e-06/0.007542, allocations: 0 / 452.8 MB, free: 18.16 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.7e-05/0.007559, allocations: 17.66 kB / 452.8 MB, free: 18.14 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 4.746e-05/0.007606, allocations: 322.8 kB / 453.1 MB, free: 17.82 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.548e-06/0.007611, allocations: 0 / 453.1 MB, free: 17.82 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.295e-06/0.007613, allocations: 0 / 453.1 MB, free: 17.82 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.702e-05/0.00763, allocations: 79.28 kB / 453.2 MB, free: 17.74 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.241e-05/0.007643, allocations: 75.28 kB / 453.2 MB, free: 17.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.701e-05/0.00769, allocations: 37.59 kB / 453.3 MB, free: 17.62 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.626e-05/0.007716, allocations: 85.62 kB / 453.4 MB, free: 17.54 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.664e-05/0.007733, allocations: 75.28 kB / 453.4 MB, free: 17.46 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.133e-05/0.007774, allocations: 154.5 kB / 453.6 MB, free: 17.31 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.601e-05/0.00779, allocations: 79.22 kB / 453.7 MB, free: 17.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.153e-05/0.007822, allocations: 162.5 kB / 453.8 MB, free: 17.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.673e-05/0.007878, allocations: 83.22 kB / 453.9 MB, free: 16.99 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.246e-05/0.007891, allocations: 75.28 kB / 454 MB, free: 16.92 MB / 334.1 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 8.335e-05/0.007974, allocations: 276.3 kB / 454.2 MB, free: 16.64 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.945e-05/0.008014, allocations: 112.9 kB / 454.4 MB, free: 16.52 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.157e-05/0.008045, allocations: 120.6 kB / 454.5 MB, free: 16.39 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.392e-05/0.008079, allocations: 180.3 kB / 454.6 MB, free: 16.21 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-05/0.008118, allocations: 188.1 kB / 454.8 MB, free: 16.02 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.77e-05/0.008156, allocations: 176.3 kB / 455 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001526/0.008308, allocations: 376.8 kB / 455.4 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-05/0.008328, allocations: 105 kB / 455.5 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.14e-05/0.008349, allocations: 105 kB / 455.6 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.272e-05/0.008382, allocations: 180.2 kB / 455.8 MB, free: 15.03 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.094e-05/0.008423, allocations: 180.3 kB / 455.9 MB, free: 14.85 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.653e-05/0.008459, allocations: 184.5 kB / 456.1 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.42e-05/0.008494, allocations: 180.3 kB / 456.3 MB, free: 14.48 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.027e-05/0.008584, allocations: 319.7 kB / 456.6 MB, free: 14.14 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.005e-05/0.008614, allocations: 112.9 kB / 456.7 MB, free: 14.02 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.38e-05/0.008658, allocations: 180.2 kB / 456.9 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.194e-05/0.00872, allocations: 105 kB / 457 MB, free: 13.73 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.942e-05/0.008759, allocations: 184.3 kB / 457.2 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.196e-05/0.008781, allocations: 116.8 kB / 457.3 MB, free: 13.42 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.57e-05/0.008847, allocations: 132 kB / 457.4 MB, free: 13.29 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.008847, allocations: 0 / 457.4 MB, free: 13.29 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000256/0.009103, allocations: 4 kB / 457.4 MB, free: 13.29 MB / 334.1 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.0001138/0.009217, allocations: 170.5 kB / 457.6 MB, free: 13.11 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 5.28e-05/0.009269, allocations: 0 / 457.6 MB, free: 13.11 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.009271, allocations: 0 / 457.6 MB, free: 13.11 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.202e-06/0.009272, allocations: 0 / 457.6 MB, free: 13.11 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003769/0.009649, allocations: 475.6 kB / 458 MB, free: 12.64 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002427/0.009892, allocations: 228 kB / 458.3 MB, free: 12.39 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.909e-05/0.009941, allocations: 87.06 kB / 458.4 MB, free: 12.29 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.747e-05/0.009969, allocations: 7.984 kB / 458.4 MB, free: 12.28 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.737e-05/0.009986, allocations: 12.5 kB / 458.4 MB, free: 12.27 MB / 334.1 MB Notification: Performance of SimCode: time 3.01e-07/0.009986, allocations: 0 / 458.4 MB, free: 12.27 MB / 334.1 MB Notification: Performance of Templates: time 0.002676/0.01266, allocations: 0.4893 MB / 458.9 MB, free: 11.79 MB / 334.1 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: 4.426007524132729] Failed to read output from testmodel.py, exit status != 0: 0.01866208389401436 0.029104009 0.020427495 Calling exit ...