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.002417/0.002417, allocations: 85.48 kB / 19.44 MB, free: 332 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.581/1.581, allocations: 177.2 MB / 199.7 MB, free: 5.777 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.002097/0.002097, allocations: 156.6 kB / 256.3 MB, free: 13.14 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.04872/0.04872, allocations: 6.659 MB / 319.4 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.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.343e-06/1.343e-06, allocations: 0 / 390.9 MB, free: 2.949 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.142e-05/3.276e-05, allocations: 5.828 kB / 390.9 MB, free: 2.945 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestDoubleLayer7over9): time 0.002596/0.002629, allocations: 1.282 MB / 392.2 MB, free: 1.652 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002567/0.005196, allocations: 1.176 MB / 393.4 MB, free: 480 kB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.084e-05/0.005237, allocations: 0 / 393.4 MB, free: 480 kB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004442/0.005681, allocations: 75.62 kB / 393.4 MB, free: 404 kB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001143/0.006823, allocations: 426.2 kB / 393.9 MB, free: 15.98 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.254e-06/0.006831, allocations: 4 kB / 393.9 MB, free: 15.97 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001543/0.008374, allocations: 0.827 MB / 394.7 MB, free: 15.14 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.62e-05/0.00841, allocations: 0 / 394.7 MB, free: 15.14 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.748e-05/0.008458, allocations: 15.92 kB / 394.7 MB, free: 15.13 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.704e-05/0.008495, allocations: 15.92 kB / 394.7 MB, free: 15.11 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.317e-05/0.008508, allocations: 0 / 394.7 MB, free: 15.11 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001617/0.008669, allocations: 47.97 kB / 394.8 MB, free: 15.07 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.15e-05/0.008731, allocations: 19.92 kB / 394.8 MB, free: 15.05 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.725e-05/0.008758, allocations: 7.938 kB / 394.8 MB, free: 15.04 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002064/0.008965, allocations: 83.67 kB / 394.9 MB, free: 14.96 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.008968, allocations: 0 / 394.9 MB, free: 14.96 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.757e-06/0.008972, allocations: 3.984 kB / 394.9 MB, free: 14.95 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.008977, allocations: 0 / 394.9 MB, free: 14.95 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.0004998/0.009476, allocations: 407.8 kB / 395.3 MB, free: 14.52 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.009515, allocations: 8.031 kB / 395.3 MB, free: 14.51 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003779/0.009893, allocations: 156 kB / 395.4 MB, free: 14.36 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005813/0.01047, allocations: 371.3 kB / 395.8 MB, free: 13.97 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001369/0.01061, allocations: 242.7 kB / 396 MB, free: 13.73 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001228/0.01073, allocations: 242.7 kB / 396.3 MB, free: 13.49 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001077/0.01084, allocations: 149.5 kB / 396.4 MB, free: 13.34 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.57e-05/0.01091, allocations: 123.4 kB / 396.5 MB, free: 13.22 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001232/0.01103, allocations: 238.8 kB / 396.8 MB, free: 12.98 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001239/0.01115, allocations: 246.3 kB / 397 MB, free: 12.74 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001301/0.01128, allocations: 238.4 kB / 397.2 MB, free: 12.51 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004653/0.01175, allocations: 0.611 MB / 397.9 MB, free: 11.86 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001812/0.01193, allocations: 265.4 kB / 398.1 MB, free: 11.59 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.394e-05/0.012, allocations: 126.9 kB / 398.2 MB, free: 11.46 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.721e-05/0.01207, allocations: 123.2 kB / 398.4 MB, free: 11.34 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.194e-05/0.01216, allocations: 152.6 kB / 398.5 MB, free: 11.18 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 1.263e-06/0.01217, allocations: 0 / 398.5 MB, free: 11.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 8.417e-05/0.01225, allocations: 33.66 kB / 398.5 MB, free: 11.14 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001116/0.01236, allocations: 178.5 kB / 398.7 MB, free: 10.95 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002537/0.01261, allocations: 225.9 kB / 398.9 MB, free: 10.71 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.819e-05/0.01263, allocations: 29.7 kB / 399 MB, free: 10.68 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.01274, allocations: 150.9 kB / 399.1 MB, free: 10.53 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.294e-06/0.01274, allocations: 0 / 399.1 MB, free: 10.53 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.741e-05/0.01277, allocations: 15.38 kB / 399.1 MB, free: 10.5 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002764/0.01304, allocations: 0.4962 MB / 399.6 MB, free: 9.996 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.959e-06/0.01305, allocations: 0 / 399.6 MB, free: 9.996 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.745e-06/0.01305, allocations: 0 / 399.6 MB, free: 9.996 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.271e-05/0.01311, allocations: 119.2 kB / 399.7 MB, free: 9.879 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003118/0.01343, allocations: 123.2 kB / 399.9 MB, free: 9.758 MB / 330.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.868e-05/0.0135, allocations: 33.66 kB / 399.9 MB, free: 9.719 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.635e-05/0.01357, allocations: 135.2 kB / 400 MB, free: 9.586 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-05/0.01364, allocations: 123.1 kB / 400.1 MB, free: 9.465 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001312/0.01377, allocations: 238.4 kB / 400.4 MB, free: 9.23 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.712e-05/0.01384, allocations: 127.1 kB / 400.5 MB, free: 9.105 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001285/0.01396, allocations: 242.3 kB / 400.7 MB, free: 8.867 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00011/0.01407, allocations: 119.2 kB / 400.9 MB, free: 8.75 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.776e-05/0.01414, allocations: 131.1 kB / 401 MB, free: 8.621 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.000241/0.01438, allocations: 402.9 kB / 401.4 MB, free: 8.215 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/0.01449, allocations: 152.8 kB / 401.5 MB, free: 8.059 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000108/0.0146, allocations: 164.6 kB / 401.7 MB, free: 7.891 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001382/0.01474, allocations: 268.1 kB / 402 MB, free: 7.621 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001444/0.01488, allocations: 272 kB / 402.2 MB, free: 7.348 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00014/0.01502, allocations: 268.1 kB / 402.5 MB, free: 7.078 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003935/0.01542, allocations: 0.5077 MB / 403 MB, free: 6.527 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.323e-05/0.0155, allocations: 152.8 kB / 403.1 MB, free: 6.371 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.635e-05/0.01558, allocations: 148.9 kB / 403.3 MB, free: 6.219 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001412/0.01572, allocations: 272 kB / 403.5 MB, free: 5.945 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001449/0.01586, allocations: 268.1 kB / 403.8 MB, free: 5.676 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001426/0.016, allocations: 268.4 kB / 404.1 MB, free: 5.406 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001436/0.01615, allocations: 268 kB / 404.3 MB, free: 5.137 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002934/0.01644, allocations: 459.9 kB / 404.8 MB, free: 4.66 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.375e-05/0.01653, allocations: 156.8 kB / 404.9 MB, free: 4.5 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001521/0.01669, allocations: 268.1 kB / 405.2 MB, free: 4.23 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001243/0.01681, allocations: 152.8 kB / 405.3 MB, free: 4.074 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000139/0.01695, allocations: 264.1 kB / 405.6 MB, free: 3.809 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.654e-05/0.01704, allocations: 156.8 kB / 405.8 MB, free: 3.648 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001445/0.01718, allocations: 168 kB / 405.9 MB, free: 3.484 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01718, allocations: 0 / 405.9 MB, free: 3.484 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002737/0.01745, allocations: 4 kB / 405.9 MB, free: 3.48 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.0002261/0.01768, allocations: 214.4 kB / 406.1 MB, free: 3.262 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 5.891e-05/0.01774, allocations: 4 kB / 406.1 MB, free: 3.258 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.01774, allocations: 0 / 406.1 MB, free: 3.258 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.954e-06/0.01774, allocations: 4 kB / 406.1 MB, free: 3.254 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007285/0.01847, allocations: 0.714 MB / 406.9 MB, free: 2.535 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004313/0.0189, allocations: 284.8 kB / 407.1 MB, free: 2.227 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003796/0.01928, allocations: 79.31 kB / 407.2 MB, free: 2.129 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.344e-05/0.01932, allocations: 3.984 kB / 407.2 MB, free: 2.125 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.456e-05/0.01935, allocations: 12.5 kB / 407.2 MB, free: 2.113 MB / 330.7 MB Notification: Performance of SimCode: time 9.22e-07/0.01935, allocations: 4 kB / 407.2 MB, free: 2.109 MB / 330.7 MB Notification: Performance of Templates: time 0.003423/0.02277, allocations: 0.4919 MB / 407.7 MB, free: 1.629 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=240 -lv LOG_STATS > HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.942717159981839]