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.00184/0.00184, allocations: 85.48 kB / 19.44 MB, free: 340 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.689/1.689, allocations: 177.1 MB / 199.7 MB, free: 5.816 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.002854/0.002854, allocations: 160.6 kB / 256.3 MB, free: 13.17 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.04163/0.04163, allocations: 6.662 MB / 319.4 MB, free: 26.57 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.343e-06/1.343e-06, allocations: 0 / 390.9 MB, free: 2.984 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.435e-05/2.569e-05, allocations: 2.312 kB / 390.9 MB, free: 2.98 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestDoubleLayer10over12): time 0.002859/0.002885, allocations: 1.282 MB / 392.2 MB, free: 1.688 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002247/0.005132, allocations: 1.179 MB / 393.4 MB, free: 0.5 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.198e-05/0.005164, allocations: 4 kB / 393.4 MB, free: 0.4961 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004339/0.005598, allocations: 71.64 kB / 393.4 MB, free: 436 kB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001113/0.006711, allocations: 418.2 kB / 393.9 MB, free: 16 kB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.065e-06/0.006719, allocations: 4 kB / 393.9 MB, free: 12 kB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001892/0.008611, allocations: 1.053 MB / 394.9 MB, free: 14.96 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.346e-05/0.008645, allocations: 0 / 394.9 MB, free: 14.96 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.207e-05/0.008687, allocations: 8 kB / 394.9 MB, free: 14.95 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.625e-05/0.008723, allocations: 11.92 kB / 394.9 MB, free: 14.94 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.07e-05/0.008744, allocations: 0 / 394.9 MB, free: 14.94 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001498/0.008894, allocations: 43.97 kB / 395 MB, free: 14.89 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.272e-05/0.008956, allocations: 23.91 kB / 395 MB, free: 14.87 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.905e-05/0.008985, allocations: 15.94 kB / 395 MB, free: 14.86 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001998/0.009185, allocations: 79.67 kB / 395.1 MB, free: 14.78 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.009191, allocations: 4 kB / 395.1 MB, free: 14.77 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.009192, allocations: 0 / 395.1 MB, free: 14.77 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.588e-06/0.009197, allocations: 4 kB / 395.1 MB, free: 14.77 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.0004808/0.009678, allocations: 419.7 kB / 395.5 MB, free: 14.32 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.009726, allocations: 8.031 kB / 395.5 MB, free: 14.32 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003487/0.01007, allocations: 148 kB / 395.7 MB, free: 14.17 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000568/0.01064, allocations: 376 kB / 396 MB, free: 13.77 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001334/0.01078, allocations: 242.8 kB / 396.3 MB, free: 13.54 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001184/0.01089, allocations: 238.8 kB / 396.5 MB, free: 13.3 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001075/0.011, allocations: 157.4 kB / 396.6 MB, free: 13.14 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.851e-05/0.01107, allocations: 123.4 kB / 396.8 MB, free: 13.02 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001243/0.01119, allocations: 238.8 kB / 397 MB, free: 12.79 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001312/0.01133, allocations: 242.3 kB / 397.2 MB, free: 12.55 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001217/0.01145, allocations: 238.4 kB / 397.5 MB, free: 12.31 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004566/0.0119, allocations: 0.5993 MB / 398.1 MB, free: 11.68 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001736/0.01208, allocations: 265.4 kB / 398.3 MB, free: 11.41 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.127e-05/0.01215, allocations: 134.9 kB / 398.5 MB, free: 11.27 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.335e-05/0.01221, allocations: 119.2 kB / 398.6 MB, free: 11.15 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.901e-05/0.0123, allocations: 152.6 kB / 398.7 MB, free: 10.99 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.0123, allocations: 0 / 398.7 MB, free: 10.99 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 7.972e-05/0.01238, allocations: 33.66 kB / 398.8 MB, free: 10.95 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001159/0.0125, allocations: 182.5 kB / 398.9 MB, free: 10.76 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005103/0.01301, allocations: 234.6 kB / 399.2 MB, free: 10.52 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/0.01302, allocations: 25.7 kB / 399.2 MB, free: 10.48 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/0.01313, allocations: 150.9 kB / 399.3 MB, free: 10.33 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.533e-06/0.01314, allocations: 0 / 399.3 MB, free: 10.33 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.131e-05/0.01317, allocations: 19.38 kB / 399.4 MB, free: 10.3 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002797/0.01345, allocations: 0.504 MB / 399.9 MB, free: 9.789 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.089e-06/0.01345, allocations: 0 / 399.9 MB, free: 9.789 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.775e-06/0.01345, allocations: 0 / 399.9 MB, free: 9.789 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.368e-05/0.01352, allocations: 119.2 kB / 400 MB, free: 9.672 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.429e-05/0.01359, allocations: 119.2 kB / 400.1 MB, free: 9.555 MB / 330.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 7.367e-05/0.01367, allocations: 41.64 kB / 400.1 MB, free: 9.508 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.178e-05/0.01374, allocations: 123.2 kB / 400.3 MB, free: 9.387 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-05/0.0138, allocations: 123.1 kB / 400.4 MB, free: 9.266 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001337/0.01394, allocations: 242.4 kB / 400.6 MB, free: 9.027 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.319e-05/0.014, allocations: 123.1 kB / 400.7 MB, free: 8.906 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001247/0.01413, allocations: 246.4 kB / 401 MB, free: 8.664 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001045/0.01423, allocations: 127.2 kB / 401.1 MB, free: 8.539 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.727e-05/0.0143, allocations: 127.1 kB / 401.2 MB, free: 8.414 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.0002462/0.01454, allocations: 398.9 kB / 401.6 MB, free: 8.012 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001092/0.01465, allocations: 152.8 kB / 401.8 MB, free: 7.855 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001127/0.01477, allocations: 165.3 kB / 401.9 MB, free: 7.688 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000148/0.01491, allocations: 264.1 kB / 402.2 MB, free: 7.422 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000149/0.01506, allocations: 272 kB / 402.4 MB, free: 7.148 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001387/0.0152, allocations: 268 kB / 402.7 MB, free: 6.879 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003823/0.01558, allocations: 0.5155 MB / 403.2 MB, free: 6.32 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-05/0.01566, allocations: 152.8 kB / 403.4 MB, free: 6.164 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.892e-05/0.01574, allocations: 148.9 kB / 403.5 MB, free: 6.012 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001338/0.01587, allocations: 264.1 kB / 403.8 MB, free: 5.746 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001398/0.01601, allocations: 268 kB / 404 MB, free: 5.477 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001392/0.01615, allocations: 272.4 kB / 404.3 MB, free: 5.203 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001399/0.01629, allocations: 272 kB / 404.6 MB, free: 4.93 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002909/0.01658, allocations: 455.9 kB / 405 MB, free: 4.457 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/0.01669, allocations: 156.8 kB / 405.2 MB, free: 4.297 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001568/0.01684, allocations: 268.1 kB / 405.4 MB, free: 4.027 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001225/0.01696, allocations: 152.8 kB / 405.6 MB, free: 3.871 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000148/0.01711, allocations: 268.1 kB / 405.8 MB, free: 3.602 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.118e-05/0.01719, allocations: 156.8 kB / 406 MB, free: 3.441 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001449/0.01734, allocations: 171.8 kB / 406.2 MB, free: 3.273 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01734, allocations: 0 / 406.2 MB, free: 3.273 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002648/0.0176, allocations: 4 kB / 406.2 MB, free: 3.27 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.0002061/0.01781, allocations: 214.4 kB / 406.4 MB, free: 3.051 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 4.826e-05/0.01786, allocations: 7.938 kB / 406.4 MB, free: 3.043 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.01786, allocations: 0 / 406.4 MB, free: 3.043 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.052e-06/0.01786, allocations: 0 / 406.4 MB, free: 3.043 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009969/0.01886, allocations: 0.7179 MB / 407.1 MB, free: 2.32 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004524/0.01931, allocations: 292.7 kB / 407.4 MB, free: 2.004 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001034/0.01941, allocations: 75.33 kB / 407.5 MB, free: 1.91 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.008e-05/0.01945, allocations: 11.97 kB / 407.5 MB, free: 1.898 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.595e-05/0.01949, allocations: 12.5 kB / 407.5 MB, free: 1.887 MB / 330.7 MB Notification: Performance of SimCode: time 9.42e-07/0.01949, allocations: 0 / 407.5 MB, free: 1.887 MB / 330.7 MB Notification: Performance of Templates: time 0.00343/0.02292, allocations: 0.4986 MB / 408 MB, free: 1.402 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: 4.968791991006583]