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.00139/0.00139, allocations: 69.89 kB / 20.65 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.9715/0.9715, allocations: 177.2 MB / 201 MB, free: 5.691 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.001206/0.001206, allocations: 160.7 kB / 257.7 MB, free: 12.96 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.04131/0.04131, allocations: 6.653 MB / 320.9 MB, free: 26.35 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.382e-06/1.382e-06, allocations: 0 / 392.8 MB, free: 2.293 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.761e-05/1.9e-05, allocations: 5.688 kB / 392.9 MB, free: 2.289 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestSingleLayer12over12): time 0.004947/0.004966, allocations: 1.29 MB / 394.1 MB, free: 0.9883 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001676/0.006642, allocations: 1.179 MB / 395.3 MB, free: 15.8 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.584e-05/0.006678, allocations: 0 / 395.3 MB, free: 15.8 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004132/0.007091, allocations: 87.52 kB / 395.4 MB, free: 15.71 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003939/0.01103, allocations: 410.2 kB / 395.8 MB, free: 15.31 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.827e-06/0.01103, allocations: 0 / 395.8 MB, free: 15.31 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001403/0.01244, allocations: 1.065 MB / 396.9 MB, free: 14.25 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.92e-05/0.01248, allocations: 0 / 396.9 MB, free: 14.25 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.259e-05/0.01251, allocations: 15.92 kB / 396.9 MB, free: 14.23 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.327e-05/0.01254, allocations: 15.94 kB / 396.9 MB, free: 14.21 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 9.158e-06/0.01255, allocations: 0 / 396.9 MB, free: 14.21 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001404/0.01269, allocations: 51.83 kB / 397 MB, free: 14.16 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.924e-05/0.01274, allocations: 23.92 kB / 397 MB, free: 14.14 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 1.712e-05/0.01276, allocations: 7.938 kB / 397 MB, free: 14.13 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001475/0.01291, allocations: 79.73 kB / 397.1 MB, free: 14.05 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.854e-06/0.01291, allocations: 4 kB / 397.1 MB, free: 14.05 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.01291, allocations: 0 / 397.1 MB, free: 14.05 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.787e-06/0.01291, allocations: 0 / 397.1 MB, free: 14.05 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.003314/0.01623, allocations: 416.1 kB / 397.5 MB, free: 13.61 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.159e-05/0.01626, allocations: 8.031 kB / 397.5 MB, free: 13.6 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002303/0.01649, allocations: 152 kB / 397.6 MB, free: 13.45 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004279/0.01692, allocations: 364 kB / 398 MB, free: 13.07 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.686e-05/0.01697, allocations: 238.8 kB / 398.2 MB, free: 12.83 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.17e-05/0.01702, allocations: 242.8 kB / 398.5 MB, free: 12.59 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.65e-05/0.01708, allocations: 153.5 kB / 398.6 MB, free: 12.44 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.745e-05/0.01711, allocations: 119.4 kB / 398.7 MB, free: 12.32 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.725e-05/0.01717, allocations: 238.8 kB / 399 MB, free: 12.09 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-05/0.01722, allocations: 246.2 kB / 399.2 MB, free: 11.84 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.394e-05/0.01728, allocations: 242.4 kB / 399.4 MB, free: 11.61 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002325/0.01751, allocations: 0.5647 MB / 400 MB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.011e-05/0.01759, allocations: 261.4 kB / 400.3 MB, free: 10.75 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.142e-05/0.01762, allocations: 126.9 kB / 400.4 MB, free: 10.62 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.047e-05/0.01765, allocations: 131.2 kB / 400.5 MB, free: 10.49 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.374e-05/0.01769, allocations: 160.5 kB / 400.7 MB, free: 10.32 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 7.81e-07/0.0177, allocations: 0 / 400.7 MB, free: 10.32 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 5.301e-05/0.01775, allocations: 33.66 kB / 400.7 MB, free: 10.28 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.471e-05/0.0178, allocations: 170.6 kB / 400.9 MB, free: 10.1 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/0.01794, allocations: 234.4 kB / 401.1 MB, free: 9.855 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.424e-06/0.01795, allocations: 25.7 kB / 401.1 MB, free: 9.824 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.583e-05/0.01801, allocations: 150.9 kB / 401.3 MB, free: 9.672 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.32e-07/0.01801, allocations: 0 / 401.3 MB, free: 9.672 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.05e-05/0.01803, allocations: 15.38 kB / 401.3 MB, free: 9.648 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0003543/0.01838, allocations: 0.5001 MB / 401.8 MB, free: 9.137 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.254e-06/0.01838, allocations: 0 / 401.8 MB, free: 9.137 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.947e-06/0.01839, allocations: 7.938 kB / 401.8 MB, free: 9.129 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.911e-05/0.01842, allocations: 119.2 kB / 401.9 MB, free: 9.012 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.842e-05/0.01845, allocations: 119.2 kB / 402 MB, free: 8.895 MB / 330.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.143e-05/0.0185, allocations: 41.66 kB / 402.1 MB, free: 8.848 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.86e-05/0.01854, allocations: 127.2 kB / 402.2 MB, free: 8.723 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.872e-05/0.01856, allocations: 119.2 kB / 402.3 MB, free: 8.605 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.366e-05/0.01863, allocations: 250.3 kB / 402.5 MB, free: 8.359 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.796e-05/0.01866, allocations: 119.2 kB / 402.7 MB, free: 8.242 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.567e-05/0.01871, allocations: 246.2 kB / 402.9 MB, free: 8 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.841e-05/0.01878, allocations: 123.2 kB / 403 MB, free: 7.879 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.074e-05/0.01881, allocations: 131.2 kB / 403.2 MB, free: 7.75 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.0001171/0.01893, allocations: 394.9 kB / 403.5 MB, free: 7.352 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.771e-05/0.01899, allocations: 156.8 kB / 403.7 MB, free: 7.191 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00306/0.02205, allocations: 157.4 kB / 403.8 MB, free: 7.027 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.528e-05/0.02211, allocations: 272 kB / 404.1 MB, free: 6.754 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.048e-05/0.02217, allocations: 268.1 kB / 404.4 MB, free: 6.484 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.46e-05/0.02224, allocations: 272 kB / 404.6 MB, free: 6.211 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002079/0.02244, allocations: 0.4888 MB / 405.1 MB, free: 5.688 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.706e-05/0.02248, allocations: 144.9 kB / 405.3 MB, free: 5.539 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.129e-05/0.02252, allocations: 152.8 kB / 405.4 MB, free: 5.383 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.6e-05/0.02259, allocations: 268.1 kB / 405.7 MB, free: 5.113 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.927e-05/0.02266, allocations: 268 kB / 405.9 MB, free: 4.844 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.566e-05/0.02272, allocations: 276.4 kB / 406.2 MB, free: 4.566 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.804e-05/0.02279, allocations: 264.1 kB / 406.5 MB, free: 4.301 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001444/0.02294, allocations: 455.9 kB / 406.9 MB, free: 3.828 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.159e-05/0.02299, allocations: 164.7 kB / 407.1 MB, free: 3.66 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.835e-05/0.02306, allocations: 264.1 kB / 407.3 MB, free: 3.395 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.095e-05/0.02313, allocations: 148.9 kB / 407.5 MB, free: 3.242 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.658e-05/0.02319, allocations: 272 kB / 407.7 MB, free: 2.969 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.399e-05/0.02323, allocations: 144.9 kB / 407.9 MB, free: 2.82 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.903e-05/0.0233, allocations: 156.8 kB / 408 MB, free: 2.668 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0233, allocations: 4 kB / 408 MB, free: 2.664 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002305/0.02353, allocations: 4 kB / 408 MB, free: 2.66 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.000109/0.02364, allocations: 214.4 kB / 408.3 MB, free: 2.441 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 3.468e-05/0.02367, allocations: 15.88 kB / 408.3 MB, free: 2.426 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.02367, allocations: 0 / 408.3 MB, free: 2.426 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.152e-06/0.02367, allocations: 0 / 408.3 MB, free: 2.426 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006401/0.02431, allocations: 0.7139 MB / 409 MB, free: 1.707 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000383/0.0247, allocations: 288.9 kB / 409.3 MB, free: 1.395 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.684e-05/0.02473, allocations: 63.33 kB / 409.3 MB, free: 1.312 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.451e-05/0.02476, allocations: 4 kB / 409.3 MB, free: 1.309 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.729e-05/0.0248, allocations: 78.19 kB / 409.4 MB, free: 1.23 MB / 330.7 MB Notification: Performance of SimCode: time 4.51e-07/0.0248, allocations: 0 / 409.4 MB, free: 1.23 MB / 330.7 MB Notification: Performance of Templates: time 0.005186/0.02999, allocations: 0.544 MB / 410 MB, free: 0.6992 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: 3.0207025459967554]