Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.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.002313/0.002313, allocations: 85.48 kB / 19.44 MB, free: 344 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.596/1.596, allocations: 177.1 MB / 199.7 MB, free: 5.805 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.002349/0.002349, allocations: 160.6 kB / 256.3 MB, free: 13.16 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.04098/0.04098, allocations: 6.656 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.TestSingleLayer12over12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.TestSingleLayer12over12") translateModel(HanserModelica.Machines.TestSingleLayer12over12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.TestSingleLayer12over12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 390.9 MB, free: 2.98 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.634e-05/2.798e-05, allocations: 2.312 kB / 390.9 MB, free: 2.977 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestSingleLayer12over12): time 0.002367/0.002395, allocations: 1.274 MB / 392.2 MB, free: 1.695 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002183/0.004578, allocations: 1.179 MB / 393.4 MB, free: 0.5078 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.829e-05/0.004606, allocations: 0 / 393.4 MB, free: 0.5078 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004124/0.005018, allocations: 79.62 kB / 393.4 MB, free: 440 kB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001026/0.006044, allocations: 418.2 kB / 393.8 MB, free: 20 kB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.787e-06/0.006048, allocations: 0 / 393.8 MB, free: 20 kB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001839/0.007886, allocations: 1.049 MB / 394.9 MB, free: 14.97 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.433e-05/0.007921, allocations: 7.984 kB / 394.9 MB, free: 14.96 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.586e-05/0.007957, allocations: 7.938 kB / 394.9 MB, free: 14.95 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.566e-05/0.007992, allocations: 15.92 kB / 394.9 MB, free: 14.94 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.158e-05/0.008004, allocations: 0 / 394.9 MB, free: 14.94 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000142/0.008146, allocations: 43.97 kB / 395 MB, free: 14.89 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.06e-05/0.008206, allocations: 23.92 kB / 395 MB, free: 14.87 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.515e-05/0.008232, allocations: 7.938 kB / 395 MB, free: 14.86 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000187/0.008419, allocations: 87.66 kB / 395.1 MB, free: 14.78 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.008421, allocations: 0 / 395.1 MB, free: 14.78 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.008422, allocations: 0 / 395.1 MB, free: 14.78 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.917e-06/0.008426, allocations: 0 / 395.1 MB, free: 14.78 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.0004698/0.008896, allocations: 423.7 kB / 395.5 MB, free: 14.33 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.008933, allocations: 12.03 kB / 395.5 MB, free: 14.32 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003316/0.009265, allocations: 144 kB / 395.6 MB, free: 14.18 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005336/0.009798, allocations: 372.1 kB / 396 MB, free: 13.78 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001209/0.009919, allocations: 246.8 kB / 396.2 MB, free: 13.54 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001172/0.01004, allocations: 242.7 kB / 396.5 MB, free: 13.3 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001174/0.01015, allocations: 153.4 kB / 396.6 MB, free: 13.14 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.539e-05/0.01022, allocations: 119.4 kB / 396.8 MB, free: 13.03 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001194/0.01034, allocations: 238.8 kB / 397 MB, free: 12.79 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001212/0.01046, allocations: 250.3 kB / 397.2 MB, free: 12.55 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001172/0.01058, allocations: 238.4 kB / 397.5 MB, free: 12.31 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004396/0.01102, allocations: 0.5993 MB / 398.1 MB, free: 11.68 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001802/0.0112, allocations: 265.4 kB / 398.3 MB, free: 11.41 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.073e-05/0.01127, allocations: 126.9 kB / 398.4 MB, free: 11.28 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.511e-05/0.01133, allocations: 119.2 kB / 398.6 MB, free: 11.16 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.579e-05/0.01143, allocations: 160.6 kB / 398.7 MB, free: 10.99 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.01143, allocations: 0 / 398.7 MB, free: 10.99 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 8.347e-05/0.01151, allocations: 33.66 kB / 398.8 MB, free: 10.95 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/0.01162, allocations: 178.5 kB / 398.9 MB, free: 10.77 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000241/0.01186, allocations: 234.5 kB / 399.2 MB, free: 10.52 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.819e-05/0.01188, allocations: 25.7 kB / 399.2 MB, free: 10.49 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/0.012, allocations: 158.9 kB / 399.3 MB, free: 10.33 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.483e-06/0.012, allocations: 0 / 399.3 MB, free: 10.33 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.922e-05/0.01203, allocations: 15.38 kB / 399.4 MB, free: 10.3 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000274/0.01231, allocations: 0.4962 MB / 399.8 MB, free: 9.797 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.879e-06/0.01231, allocations: 0 / 399.8 MB, free: 9.797 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.811e-06/0.01232, allocations: 4 kB / 399.9 MB, free: 9.793 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.51e-05/0.01238, allocations: 119.2 kB / 400 MB, free: 9.676 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.363e-05/0.01245, allocations: 123.1 kB / 400.1 MB, free: 9.555 MB / 330.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.241e-05/0.01251, allocations: 33.66 kB / 400.1 MB, free: 9.516 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.277e-05/0.01258, allocations: 127.2 kB / 400.2 MB, free: 9.391 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.878e-05/0.01265, allocations: 127.1 kB / 400.4 MB, free: 9.266 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001355/0.01279, allocations: 242.4 kB / 400.6 MB, free: 9.027 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.256e-05/0.01285, allocations: 127.1 kB / 400.7 MB, free: 8.902 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001268/0.01297, allocations: 242.3 kB / 401 MB, free: 8.664 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001002/0.01308, allocations: 119.2 kB / 401.1 MB, free: 8.547 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.739e-05/0.01314, allocations: 135.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.0002158/0.01336, allocations: 398.9 kB / 401.6 MB, free: 8.012 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001032/0.01346, allocations: 152.8 kB / 401.8 MB, free: 7.855 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.31e-05/0.01355, allocations: 161.3 kB / 401.9 MB, free: 7.691 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001295/0.01368, allocations: 268.1 kB / 402.2 MB, free: 7.422 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.00013/0.01381, allocations: 268 kB / 402.4 MB, free: 7.152 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001584/0.01397, allocations: 276 kB / 402.7 MB, free: 6.875 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000361/0.01433, allocations: 0.5155 MB / 403.2 MB, free: 6.316 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.864e-05/0.01441, allocations: 148.8 kB / 403.4 MB, free: 6.164 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.645e-05/0.01449, allocations: 144.9 kB / 403.5 MB, free: 6.016 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001394/0.01463, allocations: 268.1 kB / 403.8 MB, free: 5.746 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001328/0.01476, allocations: 268 kB / 404 MB, free: 5.477 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001451/0.01491, allocations: 264.1 kB / 404.3 MB, free: 5.211 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001427/0.01505, allocations: 276.4 kB / 404.6 MB, free: 4.934 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002601/0.01531, allocations: 459.9 kB / 405 MB, free: 4.457 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.63e-05/0.0154, allocations: 148.8 kB / 405.2 MB, free: 4.305 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001463/0.01554, allocations: 280.1 kB / 405.4 MB, free: 4.023 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001153/0.01566, allocations: 148.8 kB / 405.6 MB, free: 3.871 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001428/0.0158, allocations: 272.1 kB / 405.8 MB, free: 3.598 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.225e-05/0.01589, allocations: 152.8 kB / 406 MB, free: 3.441 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000131/0.01602, allocations: 163.9 kB / 406.1 MB, free: 3.281 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01602, allocations: 0 / 406.1 MB, free: 3.281 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002575/0.01628, allocations: 4 kB / 406.1 MB, free: 3.277 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.000201/0.01648, allocations: 214.4 kB / 406.4 MB, free: 3.059 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 4.837e-05/0.01653, allocations: 4 kB / 406.4 MB, free: 3.055 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.01653, allocations: 4 kB / 406.4 MB, free: 3.051 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.547e-06/0.01653, allocations: 4 kB / 406.4 MB, free: 3.047 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006756/0.01721, allocations: 0.7101 MB / 407.1 MB, free: 2.332 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003971/0.01761, allocations: 292.6 kB / 407.4 MB, free: 2.016 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.482e-05/0.0177, allocations: 83.31 kB / 407.4 MB, free: 1.914 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.008e-05/0.01774, allocations: 11.97 kB / 407.5 MB, free: 1.902 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.052e-05/0.01778, allocations: 8.5 kB / 407.5 MB, free: 1.895 MB / 330.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01778, allocations: 0 / 407.5 MB, free: 1.895 MB / 330.7 MB Notification: Performance of Templates: time 0.00321/0.02099, allocations: 0.4989 MB / 408 MB, free: 1.406 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.pipe ; mkfifo HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.pipe >> ../files/HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.sim & ./HanserModelica_HanserModelica.Machines.TestSingleLayer12over12 -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.813889037002809]