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.001081/0.001081, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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 0.9562/0.9562, allocations: 177.2 MB / 200.5 MB, free: 5.547 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.001665/0.001665, allocations: 164.3 kB / 257 MB, free: 13.06 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.02676/0.02676, allocations: 6.658 MB / 320.1 MB, free: 26.6 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.172e-06/1.172e-06, allocations: 3.938 kB / 391.6 MB, free: 2.996 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.922e-05/2.039e-05, allocations: 9.625 kB / 391.6 MB, free: 2.988 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestDoubleLayer7over9): time 0.001517/0.001537, allocations: 1.305 MB / 393 MB, free: 1.672 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001336/0.002874, allocations: 1.191 MB / 394.1 MB, free: 484 kB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.578e-05/0.002909, allocations: 0 / 394.1 MB, free: 484 kB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003655/0.003275, allocations: 75.64 kB / 394.2 MB, free: 408 kB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007644/0.004039, allocations: 418.4 kB / 394.6 MB, free: 15.98 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.527e-06/0.004043, allocations: 0 / 394.6 MB, free: 15.98 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000912/0.004955, allocations: 0.8271 MB / 395.5 MB, free: 15.16 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.804e-05/0.004993, allocations: 3.984 kB / 395.5 MB, free: 15.15 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.319e-05/0.005026, allocations: 15.88 kB / 395.5 MB, free: 15.14 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.58e-05/0.005052, allocations: 7.984 kB / 395.5 MB, free: 15.13 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 8.235e-06/0.00506, allocations: 4 kB / 395.5 MB, free: 15.12 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000115/0.005175, allocations: 51.84 kB / 395.5 MB, free: 15.07 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.563e-05/0.005221, allocations: 11.98 kB / 395.5 MB, free: 15.06 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 1.848e-05/0.005239, allocations: 11.94 kB / 395.6 MB, free: 15.05 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001499/0.005389, allocations: 75.73 kB / 395.6 MB, free: 14.98 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.005392, allocations: 0 / 395.6 MB, free: 14.98 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.005392, allocations: 0 / 395.6 MB, free: 14.98 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.005397, allocations: 4 kB / 395.6 MB, free: 14.97 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.0003157/0.005712, allocations: 416.1 kB / 396 MB, free: 14.53 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.005748, allocations: 8.031 kB / 396 MB, free: 14.52 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002357/0.005984, allocations: 156 kB / 396.2 MB, free: 14.37 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003653/0.006349, allocations: 359.3 kB / 396.6 MB, free: 13.99 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.624e-05/0.006405, allocations: 238.8 kB / 396.8 MB, free: 13.76 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.193e-05/0.006467, allocations: 238.8 kB / 397 MB, free: 13.52 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.929e-05/0.006526, allocations: 161.4 kB / 397.2 MB, free: 13.36 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.884e-05/0.006555, allocations: 119.4 kB / 397.3 MB, free: 13.24 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.316e-05/0.006618, allocations: 238.8 kB / 397.5 MB, free: 13.01 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.917e-05/0.006677, allocations: 242.3 kB / 397.8 MB, free: 12.77 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6e-05/0.006737, allocations: 250.4 kB / 398 MB, free: 12.52 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002341/0.006972, allocations: 0.5876 MB / 398.6 MB, free: 11.9 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.606e-05/0.007058, allocations: 269.4 kB / 398.9 MB, free: 11.62 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.313e-05/0.007091, allocations: 130.9 kB / 399 MB, free: 11.49 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.646e-05/0.007117, allocations: 119.2 kB / 399.1 MB, free: 11.38 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.632e-05/0.007164, allocations: 152.6 kB / 399.3 MB, free: 11.21 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.007164, allocations: 7.938 kB / 399.3 MB, free: 11.21 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 6.543e-05/0.00723, allocations: 37.64 kB / 399.3 MB, free: 11.16 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.459e-05/0.007294, allocations: 182.5 kB / 399.5 MB, free: 10.97 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001523/0.007447, allocations: 213.9 kB / 399.7 MB, free: 10.75 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.406e-06/0.007455, allocations: 29.64 kB / 399.7 MB, free: 10.71 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.492e-05/0.00752, allocations: 150.9 kB / 399.9 MB, free: 10.56 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.693e-06/0.007522, allocations: 0 / 399.9 MB, free: 10.56 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.183e-05/0.007544, allocations: 15.38 kB / 399.9 MB, free: 10.54 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.007694, allocations: 0.4962 MB / 400.4 MB, free: 10.03 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.881e-06/0.0077, allocations: 0 / 400.4 MB, free: 10.03 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.985e-06/0.007703, allocations: 4 kB / 400.4 MB, free: 10.02 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.27e-05/0.007735, allocations: 123.2 kB / 400.5 MB, free: 9.902 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.037e-05/0.007766, allocations: 119.2 kB / 400.6 MB, free: 9.785 MB / 330.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.835e-05/0.007804, allocations: 33.66 kB / 400.6 MB, free: 9.746 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.047e-05/0.007845, allocations: 127.2 kB / 400.8 MB, free: 9.621 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-05/0.007877, allocations: 127.1 kB / 400.9 MB, free: 9.496 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.726e-05/0.007944, allocations: 238.4 kB / 401.1 MB, free: 9.262 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.029e-05/0.007974, allocations: 119.2 kB / 401.2 MB, free: 9.145 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.269e-05/0.008037, allocations: 254.2 kB / 401.5 MB, free: 8.895 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.641e-05/0.008093, allocations: 119.2 kB / 401.6 MB, free: 8.777 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.841e-05/0.008122, allocations: 123.1 kB / 401.7 MB, free: 8.656 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.000136/0.008258, allocations: 399 kB / 402.1 MB, free: 8.254 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.469e-05/0.008312, allocations: 156.8 kB / 402.3 MB, free: 8.094 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.328e-05/0.008366, allocations: 160.6 kB / 402.4 MB, free: 7.926 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.435e-05/0.00843, allocations: 264.1 kB / 402.7 MB, free: 7.66 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.216e-05/0.008492, allocations: 272 kB / 403 MB, free: 7.387 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.84e-05/0.008551, allocations: 272 kB / 403.2 MB, free: 7.113 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001664/0.008717, allocations: 0.5077 MB / 403.7 MB, free: 6.562 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.354e-05/0.008751, allocations: 152.8 kB / 403.9 MB, free: 6.406 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.995e-05/0.008791, allocations: 156.9 kB / 404 MB, free: 6.246 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.33e-05/0.008854, allocations: 264.1 kB / 404.3 MB, free: 5.98 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.078e-05/0.008915, allocations: 272 kB / 404.5 MB, free: 5.707 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.512e-05/0.00897, allocations: 268.4 kB / 404.8 MB, free: 5.438 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.067e-05/0.00903, allocations: 268 kB / 405.1 MB, free: 5.168 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000156/0.009186, allocations: 459.9 kB / 405.5 MB, free: 4.691 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.453e-05/0.009241, allocations: 160.7 kB / 405.7 MB, free: 4.527 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.831e-05/0.009319, allocations: 272 kB / 405.9 MB, free: 4.254 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.915e-05/0.009378, allocations: 148.8 kB / 406.1 MB, free: 4.102 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.547e-05/0.009454, allocations: 268.1 kB / 406.4 MB, free: 3.832 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.115e-05/0.009495, allocations: 152.8 kB / 406.5 MB, free: 3.676 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.377e-05/0.009569, allocations: 163.9 kB / 406.7 MB, free: 3.516 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009569, allocations: 0 / 406.7 MB, free: 3.516 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001591/0.009728, allocations: 8 kB / 406.7 MB, free: 3.508 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.0001382/0.009866, allocations: 214.4 kB / 406.9 MB, free: 3.289 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 4.986e-05/0.009916, allocations: 0 / 406.9 MB, free: 3.289 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.009918, allocations: 0 / 406.9 MB, free: 3.289 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.032e-06/0.009919, allocations: 0 / 406.9 MB, free: 3.289 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004553/0.01037, allocations: 0.7176 MB / 407.6 MB, free: 2.57 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004931/0.01087, allocations: 284.8 kB / 407.9 MB, free: 2.262 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.762e-05/0.0109, allocations: 63.34 kB / 407.9 MB, free: 2.18 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.48e-05/0.01093, allocations: 4 kB / 407.9 MB, free: 2.176 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.79e-05/0.01095, allocations: 8.5 kB / 407.9 MB, free: 2.168 MB / 330.7 MB Notification: Performance of SimCode: time 1.022e-06/0.01095, allocations: 0 / 407.9 MB, free: 2.168 MB / 330.7 MB Notification: Performance of Templates: time 0.002156/0.0131, allocations: 0.5099 MB / 408.5 MB, free: 1.672 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: 3.0321159411687404]