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.001303/0.001303, allocations: 92.22 kB / 19.65 MB, free: 280 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 0.9574/0.9574, allocations: 177.1 MB / 200 MB, free: 5.496 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.001122/0.001122, allocations: 156.7 kB / 256.6 MB, free: 12.98 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.0237/0.0237, allocations: 6.667 MB / 319.8 MB, free: 26.52 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 1.703e-06/1.703e-06, allocations: 0 / 391.6 MB, free: 2.598 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.124e-05/2.294e-05, allocations: 10.25 kB / 391.6 MB, free: 2.586 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestDoubleLayer10over12): time 0.00165/0.001673, allocations: 1.297 MB / 392.9 MB, free: 1.277 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001412/0.003085, allocations: 1.191 MB / 394.1 MB, free: 80 kB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.366e-05/0.003119, allocations: 0 / 394.1 MB, free: 80 kB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003616/0.003481, allocations: 79.58 kB / 394.2 MB, free: 0 / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006616/0.004142, allocations: 418.3 kB / 394.6 MB, free: 15.59 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.406e-06/0.004146, allocations: 0 / 394.6 MB, free: 15.59 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001006/0.005151, allocations: 1.057 MB / 395.7 MB, free: 14.53 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.208e-05/0.005183, allocations: 4 kB / 395.7 MB, free: 14.53 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.841e-05/0.005212, allocations: 15.92 kB / 395.7 MB, free: 14.51 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.567e-05/0.005237, allocations: 19.92 kB / 395.7 MB, free: 14.49 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 7.774e-06/0.005245, allocations: 0 / 395.7 MB, free: 14.49 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001103/0.005355, allocations: 47.84 kB / 395.7 MB, free: 14.45 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.871e-05/0.005404, allocations: 27.91 kB / 395.8 MB, free: 14.42 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 1.877e-05/0.005423, allocations: 7.938 kB / 395.8 MB, free: 14.41 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001337/0.005557, allocations: 75.75 kB / 395.9 MB, free: 14.34 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.903e-06/0.005559, allocations: 0 / 395.9 MB, free: 14.34 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.005559, allocations: 0 / 395.9 MB, free: 14.34 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.597e-06/0.005563, allocations: 0 / 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.0002696/0.005833, allocations: 424 kB / 396.3 MB, free: 13.89 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.00587, allocations: 8.031 kB / 396.3 MB, free: 13.88 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002189/0.006089, allocations: 152 kB / 396.4 MB, free: 13.73 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003653/0.006454, allocations: 364 kB / 396.8 MB, free: 13.34 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.695e-05/0.006511, allocations: 238.8 kB / 397 MB, free: 13.11 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.801e-05/0.006569, allocations: 238.8 kB / 397.2 MB, free: 12.88 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.602e-05/0.006625, allocations: 153.5 kB / 397.4 MB, free: 12.72 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.556e-05/0.00665, allocations: 123.3 kB / 397.5 MB, free: 12.6 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.373e-05/0.006704, allocations: 246.8 kB / 397.8 MB, free: 12.36 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.774e-05/0.006762, allocations: 242.3 kB / 398 MB, free: 12.12 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.124e-05/0.006813, allocations: 238.4 kB / 398.2 MB, free: 11.88 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002178/0.007031, allocations: 0.5954 MB / 398.8 MB, free: 11.25 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.134e-05/0.007112, allocations: 265.4 kB / 399.1 MB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.276e-05/0.007145, allocations: 130.8 kB / 399.2 MB, free: 10.85 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.868e-05/0.007174, allocations: 123.2 kB / 399.3 MB, free: 10.73 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.868e-05/0.007222, allocations: 152.6 kB / 399.5 MB, free: 10.57 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 9.41e-07/0.007223, allocations: 0 / 399.5 MB, free: 10.57 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 5.519e-05/0.007278, allocations: 33.66 kB / 399.5 MB, free: 10.53 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.893e-05/0.007327, allocations: 182.5 kB / 399.7 MB, free: 10.34 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/0.007457, allocations: 226.6 kB / 399.9 MB, free: 10.1 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.734e-06/0.007465, allocations: 25.7 kB / 399.9 MB, free: 10.07 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.151e-05/0.007516, allocations: 154.9 kB / 400.1 MB, free: 9.91 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.623e-06/0.007518, allocations: 0 / 400.1 MB, free: 9.91 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.547e-05/0.007533, allocations: 15.38 kB / 400.1 MB, free: 9.887 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.00764, allocations: 0.4961 MB / 400.6 MB, free: 9.379 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.378e-06/0.007644, allocations: 4 kB / 400.6 MB, free: 9.375 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.434e-06/0.007647, allocations: 0 / 400.6 MB, free: 9.375 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.466e-05/0.007671, allocations: 119.2 kB / 400.7 MB, free: 9.258 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.399e-05/0.007695, allocations: 119.2 kB / 400.8 MB, free: 9.141 MB / 330.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.701e-05/0.007732, allocations: 49.58 kB / 400.9 MB, free: 9.086 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.651e-05/0.007769, allocations: 130.3 kB / 401 MB, free: 8.961 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.684e-05/0.007796, allocations: 123.1 kB / 401.1 MB, free: 8.84 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.831e-05/0.007854, allocations: 238.4 kB / 401.4 MB, free: 8.605 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.891e-05/0.007883, allocations: 123.2 kB / 401.5 MB, free: 8.484 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-05/0.007935, allocations: 250.3 kB / 401.7 MB, free: 8.238 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.979e-05/0.007985, allocations: 119.2 kB / 401.8 MB, free: 8.121 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.303e-05/0.008008, allocations: 127.1 kB / 402 MB, free: 7.996 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 9.745e-05/0.008106, allocations: 398.9 kB / 402.4 MB, free: 7.594 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.657e-05/0.008152, allocations: 152.8 kB / 402.5 MB, free: 7.438 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.554e-05/0.008198, allocations: 157.4 kB / 402.7 MB, free: 7.273 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.387e-05/0.008251, allocations: 276 kB / 402.9 MB, free: 6.996 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.425e-05/0.008306, allocations: 276 kB / 403.2 MB, free: 6.719 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.112e-05/0.008357, allocations: 268 kB / 403.5 MB, free: 6.449 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001552/0.008512, allocations: 0.5077 MB / 404 MB, free: 5.898 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.218e-05/0.008544, allocations: 152.9 kB / 404.1 MB, free: 5.742 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.099e-05/0.008575, allocations: 152.8 kB / 404.3 MB, free: 5.586 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.894e-05/0.008624, allocations: 268.1 kB / 404.5 MB, free: 5.316 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.203e-05/0.008676, allocations: 268 kB / 404.8 MB, free: 5.047 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.119e-05/0.008727, allocations: 268.4 kB / 405.1 MB, free: 4.777 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.303e-05/0.00878, allocations: 276 kB / 405.3 MB, free: 4.5 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001171/0.008898, allocations: 452 kB / 405.8 MB, free: 4.031 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.092e-05/0.008938, allocations: 164.7 kB / 405.9 MB, free: 3.863 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.942e-05/0.008998, allocations: 268.1 kB / 406.2 MB, free: 3.594 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.73e-05/0.009055, allocations: 152.8 kB / 406.3 MB, free: 3.438 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.989e-05/0.009125, allocations: 264.1 kB / 406.6 MB, free: 3.172 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.134e-05/0.009156, allocations: 152.8 kB / 406.7 MB, free: 3.016 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.749e-05/0.009224, allocations: 164.8 kB / 406.9 MB, free: 2.855 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009224, allocations: 0 / 406.9 MB, free: 2.855 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001527/0.009377, allocations: 0 / 406.9 MB, free: 2.855 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.0001047/0.009481, allocations: 222.4 kB / 407.1 MB, free: 2.629 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 3.699e-05/0.009518, allocations: 0 / 407.1 MB, free: 2.629 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.00952, allocations: 0 / 407.1 MB, free: 2.629 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.012e-06/0.009521, allocations: 0 / 407.1 MB, free: 2.629 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003607/0.009882, allocations: 0.7178 MB / 407.8 MB, free: 1.906 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004084/0.01029, 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 3.307e-05/0.01032, allocations: 71.22 kB / 408.2 MB, free: 1.508 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.539e-05/0.01035, allocations: 7.984 kB / 408.2 MB, free: 1.5 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.648e-05/0.01037, allocations: 12.5 kB / 408.2 MB, free: 1.488 MB / 330.7 MB Notification: Performance of SimCode: time 4.11e-07/0.01037, allocations: 0 / 408.2 MB, free: 1.488 MB / 330.7 MB Notification: Performance of Templates: time 0.001872/0.01224, allocations: 0.5064 MB / 408.7 MB, free: 0.9961 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.0721627650782466]