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.0009297/0.0009297, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.9725/0.9725, allocations: 177.2 MB / 201.1 MB, free: 5.707 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.001199/0.001199, allocations: 156.7 kB / 257.7 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.02432/0.02432, allocations: 6.665 MB / 320.9 MB, free: 26.34 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.393e-06/1.393e-06, allocations: 0 / 392.9 MB, free: 2.285 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.639e-05/1.778e-05, allocations: 2.312 kB / 392.9 MB, free: 2.281 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestDoubleLayer10over12): time 0.007896/0.007913, allocations: 1.309 MB / 394.2 MB, free: 0.9648 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001453/0.009366, allocations: 1.176 MB / 395.3 MB, free: 15.78 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.035e-05/0.009397, allocations: 0 / 395.3 MB, free: 15.78 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003271/0.009724, allocations: 87.5 kB / 395.4 MB, free: 15.7 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003971/0.01369, allocations: 410.3 kB / 395.8 MB, free: 15.29 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.338e-06/0.0137, allocations: 0 / 395.8 MB, free: 15.29 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00138/0.01508, allocations: 1.061 MB / 396.9 MB, free: 14.23 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.355e-05/0.01512, allocations: 0 / 396.9 MB, free: 14.23 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.658e-05/0.01516, allocations: 15.92 kB / 396.9 MB, free: 14.21 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.367e-05/0.01519, allocations: 15.92 kB / 396.9 MB, free: 14.2 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.03e-05/0.0152, allocations: 8 kB / 396.9 MB, free: 14.19 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001468/0.01535, allocations: 47.84 kB / 397 MB, free: 14.14 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.769e-05/0.0154, allocations: 19.92 kB / 397 MB, free: 14.12 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 1.988e-05/0.01542, allocations: 11.94 kB / 397 MB, free: 14.11 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001516/0.01557, allocations: 75.73 kB / 397.1 MB, free: 14.04 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.01557, allocations: 4 kB / 397.1 MB, free: 14.04 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.31e-07/0.01557, allocations: 0 / 397.1 MB, free: 14.04 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.017e-06/0.01558, allocations: 0 / 397.1 MB, free: 14.04 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.0002986/0.01588, allocations: 420 kB / 397.5 MB, free: 13.59 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.135e-05/0.01591, allocations: 8.031 kB / 397.5 MB, free: 13.58 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002439/0.01615, allocations: 152 kB / 397.7 MB, free: 13.43 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003418/0.01957, allocations: 364 kB / 398 MB, free: 13.05 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.809e-05/0.01964, allocations: 238.8 kB / 398.2 MB, free: 12.81 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.858e-05/0.0197, allocations: 238.8 kB / 398.5 MB, free: 12.58 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.733e-05/0.01976, allocations: 153.5 kB / 398.6 MB, free: 12.42 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.392e-05/0.0198, allocations: 119.4 kB / 398.7 MB, free: 12.3 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.141e-05/0.01986, allocations: 238.8 kB / 399 MB, free: 12.07 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.433e-05/0.01992, allocations: 246.2 kB / 399.2 MB, free: 11.83 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003393/0.02026, allocations: 246.4 kB / 399.5 MB, free: 11.59 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002803/0.02054, allocations: 0.5647 MB / 400 MB, free: 11 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.11e-05/0.02063, allocations: 265.4 kB / 400.3 MB, free: 10.72 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.361e-05/0.02067, allocations: 126.9 kB / 400.4 MB, free: 10.59 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.9e-05/0.0207, allocations: 119.2 kB / 400.5 MB, free: 10.48 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.713e-05/0.02074, allocations: 160.5 kB / 400.7 MB, free: 10.31 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.02074, allocations: 0 / 400.7 MB, free: 10.31 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 6.203e-05/0.02081, allocations: 33.66 kB / 400.7 MB, free: 10.27 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.514e-05/0.02087, allocations: 170.6 kB / 400.9 MB, free: 10.09 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001471/0.02102, allocations: 230.5 kB / 401.1 MB, free: 9.848 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.576e-06/0.02103, allocations: 29.7 kB / 401.1 MB, free: 9.812 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.127e-05/0.02109, allocations: 158.8 kB / 401.3 MB, free: 9.652 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.81e-07/0.02109, allocations: 0 / 401.3 MB, free: 9.652 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.237e-05/0.02111, allocations: 15.38 kB / 401.3 MB, free: 9.629 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.02124, allocations: 0.4923 MB / 401.8 MB, free: 9.125 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.926e-06/0.02125, allocations: 4 kB / 401.8 MB, free: 9.121 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.198e-06/0.02125, allocations: 3.938 kB / 401.8 MB, free: 9.117 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.918e-05/0.02128, allocations: 119.2 kB / 401.9 MB, free: 9 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-05/0.02131, allocations: 119.2 kB / 402 MB, free: 8.883 MB / 330.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.602e-05/0.02136, allocations: 41.64 kB / 402.1 MB, free: 8.836 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.186e-05/0.0214, allocations: 135.1 kB / 402.2 MB, free: 8.703 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.082e-05/0.02144, allocations: 123.2 kB / 402.3 MB, free: 8.582 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.288e-05/0.0215, allocations: 242.3 kB / 402.6 MB, free: 8.344 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.908e-05/0.02153, allocations: 123.2 kB / 402.7 MB, free: 8.223 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.397e-05/0.02158, allocations: 246.4 kB / 402.9 MB, free: 7.98 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.942e-05/0.02165, allocations: 123.1 kB / 403 MB, free: 7.859 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.757e-05/0.02168, allocations: 119.2 kB / 403.2 MB, free: 7.742 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.0001205/0.0218, allocations: 402.9 kB / 403.6 MB, free: 7.336 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.973e-05/0.02186, allocations: 156.8 kB / 403.7 MB, free: 7.176 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.712e-05/0.02192, allocations: 157.4 kB / 403.9 MB, free: 7.012 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.277e-05/0.02198, allocations: 268 kB / 404.1 MB, free: 6.742 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-05/0.02204, allocations: 276.1 kB / 404.4 MB, free: 6.465 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00308/0.02512, allocations: 272 kB / 404.7 MB, free: 6.191 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002125/0.02533, allocations: 0.4888 MB / 405.1 MB, free: 5.668 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.401e-05/0.02537, allocations: 144.9 kB / 405.3 MB, free: 5.52 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.783e-05/0.0254, allocations: 148.8 kB / 405.4 MB, free: 5.367 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.734e-05/0.02547, allocations: 272.1 kB / 405.7 MB, free: 5.094 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.106e-05/0.02553, allocations: 268 kB / 406 MB, free: 4.824 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.131e-05/0.02559, allocations: 268.4 kB / 406.2 MB, free: 4.555 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000295/0.02589, allocations: 268.1 kB / 406.5 MB, free: 4.285 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001419/0.02603, allocations: 455.9 kB / 406.9 MB, free: 3.812 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.879e-05/0.02608, allocations: 168.7 kB / 407.1 MB, free: 3.641 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.083e-05/0.02615, allocations: 268.1 kB / 407.4 MB, free: 3.371 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.229e-05/0.02622, allocations: 144.9 kB / 407.5 MB, free: 3.223 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.645e-05/0.02629, allocations: 272 kB / 407.8 MB, free: 2.949 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.444e-05/0.02632, allocations: 148.9 kB / 407.9 MB, free: 2.797 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.82e-05/0.0264, allocations: 155.8 kB / 408.1 MB, free: 2.645 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0264, allocations: 0 / 408.1 MB, free: 2.645 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002364/0.02664, allocations: 4 kB / 408.1 MB, free: 2.641 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.0001308/0.02677, allocations: 214.4 kB / 408.3 MB, free: 2.422 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 3.591e-05/0.0268, allocations: 11.88 kB / 408.3 MB, free: 2.41 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.02681, allocations: 4 kB / 408.3 MB, free: 2.406 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.213e-06/0.02681, allocations: 0 / 408.3 MB, free: 2.406 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004524/0.02726, allocations: 0.7139 MB / 409 MB, free: 1.688 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004155/0.02768, allocations: 284.9 kB / 409.3 MB, free: 1.379 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.928e-05/0.02771, allocations: 63.33 kB / 409.3 MB, free: 1.297 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.121e-05/0.02775, allocations: 7.938 kB / 409.3 MB, free: 1.289 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.069e-05/0.0278, allocations: 78.19 kB / 409.4 MB, free: 1.211 MB / 330.7 MB Notification: Performance of SimCode: time 6.51e-07/0.0278, allocations: 4 kB / 409.4 MB, free: 1.207 MB / 330.7 MB Notification: Performance of Templates: time 0.006409/0.03421, allocations: 0.5475 MB / 410 MB, free: 0.6758 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: 2.949821155052632]