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.001357/0.001357, allocations: 92.22 kB / 19.65 MB, free: 276 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.089/1.089, allocations: 177.2 MB / 200 MB, free: 5.539 MB / 186.7 MB " [Timeout remaining time 179] 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.001495/0.001495, allocations: 168.6 kB / 256.6 MB, free: 13.02 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.02742/0.02742, allocations: 6.658 MB / 319.8 MB, free: 26.54 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.484e-06/2.484e-06, allocations: 3.984 kB / 391.6 MB, free: 2.613 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.937e-05/2.185e-05, allocations: 9.906 kB / 391.6 MB, free: 2.605 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestDoubleLayer10over12): time 0.001636/0.001658, allocations: 1.301 MB / 392.9 MB, free: 1.293 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001374/0.003032, allocations: 1.191 MB / 394.1 MB, free: 96 kB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.578e-05/0.003057, allocations: 4 kB / 394.1 MB, free: 92 kB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005167/0.003574, allocations: 79.58 kB / 394.2 MB, free: 12 kB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008011/0.004375, allocations: 418.2 kB / 394.6 MB, free: 15.6 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.707e-06/0.004379, allocations: 4 kB / 394.6 MB, free: 15.6 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001087/0.005466, allocations: 1.061 MB / 395.7 MB, free: 14.54 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.723e-05/0.005503, allocations: 4 kB / 395.7 MB, free: 14.53 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.179e-05/0.005535, allocations: 7.984 kB / 395.7 MB, free: 14.52 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.992e-05/0.005565, allocations: 15.94 kB / 395.7 MB, free: 14.51 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 7.685e-06/0.005572, allocations: 0 / 395.7 MB, free: 14.51 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001209/0.005693, allocations: 47.89 kB / 395.8 MB, free: 14.46 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.832e-05/0.005742, allocations: 23.92 kB / 395.8 MB, free: 14.44 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 1.991e-05/0.005762, allocations: 7.938 kB / 395.8 MB, free: 14.43 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000131/0.005893, allocations: 83.73 kB / 395.9 MB, free: 14.35 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.583e-06/0.005894, allocations: 0 / 395.9 MB, free: 14.35 MB / 330.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.005895, allocations: 0 / 395.9 MB, free: 14.35 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.005899, allocations: 3.938 kB / 395.9 MB, free: 14.34 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.0002797/0.006179, allocations: 420 kB / 396.3 MB, free: 13.9 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.117e-05/0.00621, allocations: 8.031 kB / 396.3 MB, free: 13.89 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002052/0.006415, allocations: 152 kB / 396.4 MB, free: 13.74 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003156/0.006731, allocations: 360.1 kB / 396.8 MB, free: 13.36 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.195e-05/0.006803, allocations: 242.7 kB / 397 MB, free: 13.12 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.079e-05/0.006853, allocations: 242.8 kB / 397.3 MB, free: 12.88 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.48e-05/0.006908, allocations: 149.5 kB / 397.4 MB, free: 12.73 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.746e-05/0.006936, allocations: 123.4 kB / 397.5 MB, free: 12.61 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.363e-05/0.006989, allocations: 238.8 kB / 397.8 MB, free: 12.38 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-05/0.007043, allocations: 242.3 kB / 398 MB, free: 12.14 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.259e-05/0.007095, allocations: 246.4 kB / 398.2 MB, free: 11.89 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002384/0.007334, allocations: 0.5876 MB / 398.8 MB, free: 11.27 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.13e-05/0.007415, allocations: 269.4 kB / 399.1 MB, free: 11 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.293e-05/0.007448, allocations: 130.9 kB / 399.2 MB, free: 10.86 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.778e-05/0.007476, allocations: 123.2 kB / 399.3 MB, free: 10.74 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.341e-05/0.007519, allocations: 156.6 kB / 399.5 MB, free: 10.58 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 7.82e-07/0.00752, allocations: 3.938 kB / 399.5 MB, free: 10.57 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 5.19e-05/0.007572, allocations: 37.59 kB / 399.5 MB, free: 10.53 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.134e-05/0.007633, allocations: 178.5 kB / 399.7 MB, free: 10.34 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.007771, allocations: 222.6 kB / 399.9 MB, free: 10.11 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.066e-05/0.007782, allocations: 25.7 kB / 399.9 MB, free: 10.08 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.332e-05/0.007845, allocations: 158.9 kB / 400.1 MB, free: 9.918 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.673e-06/0.007847, allocations: 0 / 400.1 MB, free: 9.918 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.798e-05/0.007865, allocations: 15.38 kB / 400.1 MB, free: 9.895 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.007993, allocations: 0.4962 MB / 400.6 MB, free: 9.387 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.998e-06/0.007997, allocations: 0 / 400.6 MB, free: 9.387 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.675e-06/0.008, allocations: 0 / 400.6 MB, free: 9.387 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.096e-05/0.008041, allocations: 123.2 kB / 400.7 MB, free: 9.266 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-05/0.008072, allocations: 123.2 kB / 400.9 MB, free: 9.145 MB / 330.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.348e-05/0.008115, allocations: 41.59 kB / 400.9 MB, free: 9.098 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.137e-05/0.008156, allocations: 123.2 kB / 401 MB, free: 8.977 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.059e-05/0.008187, allocations: 119.2 kB / 401.1 MB, free: 8.859 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.254e-05/0.00825, allocations: 242.4 kB / 401.4 MB, free: 8.621 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.465e-05/0.008284, allocations: 123.1 kB / 401.5 MB, free: 8.5 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-05/0.008346, allocations: 246.4 kB / 401.7 MB, free: 8.258 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.58e-05/0.008401, allocations: 131.1 kB / 401.9 MB, free: 8.129 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.736e-05/0.008429, allocations: 123.2 kB / 402 MB, free: 8.008 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.0001188/0.008547, allocations: 395 kB / 402.4 MB, free: 7.609 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.97e-05/0.008597, allocations: 156.8 kB / 402.5 MB, free: 7.449 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.65e-05/0.008644, allocations: 157.3 kB / 402.7 MB, free: 7.285 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.388e-05/0.008708, allocations: 272.1 kB / 402.9 MB, free: 7.012 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.677e-05/0.008784, allocations: 272 kB / 403.2 MB, free: 6.738 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.91e-05/0.008853, allocations: 264.1 kB / 403.5 MB, free: 6.473 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000187/0.00904, allocations: 0.5155 MB / 404 MB, free: 5.914 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.226e-05/0.009083, allocations: 156.8 kB / 404.1 MB, free: 5.754 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.835e-05/0.009121, allocations: 148.9 kB / 404.3 MB, free: 5.602 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.617e-05/0.009187, allocations: 272 kB / 404.5 MB, free: 5.328 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.739e-05/0.009255, allocations: 268.1 kB / 404.8 MB, free: 5.059 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.169e-05/0.009316, allocations: 272.3 kB / 405.1 MB, free: 4.785 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.329e-05/0.00938, allocations: 264.1 kB / 405.3 MB, free: 4.52 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001357/0.009515, allocations: 459.9 kB / 405.8 MB, free: 4.043 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.466e-05/0.00956, allocations: 160.8 kB / 405.9 MB, free: 3.879 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.095e-05/0.009631, allocations: 276 kB / 406.2 MB, free: 3.602 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.042e-05/0.009691, allocations: 144.9 kB / 406.3 MB, free: 3.453 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.666e-05/0.009758, allocations: 264.1 kB / 406.6 MB, free: 3.188 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.773e-05/0.009806, allocations: 164.8 kB / 406.8 MB, free: 3.02 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.331e-05/0.009889, allocations: 160.8 kB / 406.9 MB, free: 2.863 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009889, allocations: 0 / 406.9 MB, free: 2.863 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001533/0.01004, allocations: 4 kB / 406.9 MB, free: 2.859 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.0001118/0.01015, allocations: 218.4 kB / 407.1 MB, free: 2.637 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 3.277e-05/0.01019, allocations: 0 / 407.1 MB, free: 2.637 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.01019, allocations: 4 kB / 407.1 MB, free: 2.633 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.122e-06/0.01019, allocations: 0 / 407.1 MB, free: 2.633 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003634/0.01055, allocations: 0.7216 MB / 407.9 MB, free: 1.906 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005057/0.01106, allocations: 284.8 kB / 408.1 MB, free: 1.598 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.566e-05/0.0111, allocations: 63.33 kB / 408.2 MB, free: 1.516 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.271e-05/0.01114, allocations: 4 kB / 408.2 MB, free: 1.512 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.269e-05/0.01116, allocations: 12.5 kB / 408.2 MB, free: 1.5 MB / 330.7 MB Notification: Performance of SimCode: time 1.193e-06/0.01116, allocations: 0 / 408.2 MB, free: 1.5 MB / 330.7 MB Notification: Performance of Templates: time 0.002253/0.01341, allocations: 0.5474 MB / 408.8 MB, free: 0.9648 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=240 -lv LOG_STATS > HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1105641606263816]