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.0009582/0.0009582, allocations: 85.17 kB / 19.87 MB, free: 4.617 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 1.094/1.094, allocations: 177.2 MB / 200.3 MB, free: 5.367 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.001418/0.001418, allocations: 159.4 kB / 256.9 MB, free: 12.82 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.03681/0.03681, allocations: 6.655 MB / 320.1 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.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.834e-06/1.834e-06, allocations: 0 / 392.1 MB, free: 2.285 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.183e-05/2.367e-05, allocations: 5.688 kB / 392.1 MB, free: 2.281 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestSingleLayer12over12): time 0.002481/0.002505, allocations: 1.297 MB / 393.4 MB, free: 0.9727 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00185/0.004355, allocations: 1.172 MB / 394.5 MB, free: 15.79 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.312e-05/0.004398, allocations: 4 kB / 394.5 MB, free: 15.79 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004195/0.004817, allocations: 83.5 kB / 394.6 MB, free: 15.71 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009425/0.00576, allocations: 418.2 kB / 395 MB, free: 15.3 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.727e-06/0.005764, allocations: 0 / 395 MB, free: 15.3 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001353/0.007116, allocations: 1.065 MB / 396.1 MB, free: 14.23 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.94e-05/0.007155, allocations: 7.984 kB / 396.1 MB, free: 14.22 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.802e-05/0.007194, allocations: 11.94 kB / 396.1 MB, free: 14.21 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.278e-05/0.007226, allocations: 11.92 kB / 396.1 MB, free: 14.2 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.247e-05/0.007239, allocations: 0 / 396.1 MB, free: 14.2 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001405/0.007379, allocations: 51.84 kB / 396.2 MB, free: 14.15 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.92e-05/0.007428, allocations: 19.92 kB / 396.2 MB, free: 14.13 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 1.864e-05/0.007447, allocations: 11.94 kB / 396.2 MB, free: 14.12 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001564/0.007604, allocations: 75.73 kB / 396.3 MB, free: 14.04 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.007606, allocations: 0 / 396.3 MB, free: 14.04 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.007607, allocations: 4 kB / 396.3 MB, free: 14.04 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.537e-06/0.007611, allocations: 0 / 396.3 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.0003303/0.007941, allocations: 428 kB / 396.7 MB, free: 13.59 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.00798, allocations: 12.03 kB / 396.7 MB, free: 13.57 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002568/0.008237, allocations: 140.1 kB / 396.9 MB, free: 13.44 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000374/0.008611, allocations: 368 kB / 397.2 MB, free: 13.05 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.33e-05/0.008675, allocations: 238.8 kB / 397.4 MB, free: 12.81 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.243e-05/0.008737, allocations: 242.8 kB / 397.7 MB, free: 12.57 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.831e-05/0.008805, allocations: 149.5 kB / 397.8 MB, free: 12.42 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.198e-05/0.008837, allocations: 119.4 kB / 397.9 MB, free: 12.3 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.203e-05/0.008899, allocations: 242.8 kB / 398.2 MB, free: 12.07 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.39e-05/0.008963, allocations: 246.2 kB / 398.4 MB, free: 11.82 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.334e-05/0.009027, allocations: 238.4 kB / 398.7 MB, free: 11.59 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002654/0.009292, allocations: 0.5647 MB / 399.2 MB, free: 11 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.047e-05/0.009382, allocations: 265.4 kB / 399.5 MB, free: 10.73 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.595e-05/0.009418, allocations: 126.9 kB / 399.6 MB, free: 10.6 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.642e-05/0.009455, allocations: 119.2 kB / 399.7 MB, free: 10.48 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003135/0.009768, allocations: 164.5 kB / 399.9 MB, free: 10.31 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.009769, allocations: 0 / 399.9 MB, free: 10.31 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 6.288e-05/0.009832, allocations: 37.64 kB / 399.9 MB, free: 10.27 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.195e-05/0.009894, allocations: 174.6 kB / 400.1 MB, free: 10.08 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001485/0.01004, allocations: 230.5 kB / 400.3 MB, free: 9.84 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.127e-06/0.01005, allocations: 25.7 kB / 400.3 MB, free: 9.809 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.11e-05/0.01011, allocations: 154.8 kB / 400.5 MB, free: 9.652 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.12e-07/0.01011, allocations: 0 / 400.5 MB, free: 9.652 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.331e-05/0.01014, allocations: 15.38 kB / 400.5 MB, free: 9.629 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.01027, allocations: 0.4923 MB / 401 MB, free: 9.125 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.895e-06/0.01027, allocations: 0 / 401 MB, free: 9.125 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.374e-06/0.01028, allocations: 11.94 kB / 401 MB, free: 9.113 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.438e-05/0.01032, allocations: 131.1 kB / 401.1 MB, free: 8.984 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.124e-05/0.01035, allocations: 119.2 kB / 401.3 MB, free: 8.867 MB / 330.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.242e-05/0.0104, allocations: 33.66 kB / 401.3 MB, free: 8.828 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.731e-05/0.01045, allocations: 127.2 kB / 401.4 MB, free: 8.703 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.511e-05/0.01048, allocations: 119.2 kB / 401.5 MB, free: 8.586 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.245e-05/0.01055, allocations: 242.3 kB / 401.8 MB, free: 8.348 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.676e-05/0.01059, allocations: 119.2 kB / 401.9 MB, free: 8.23 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.594e-05/0.01065, allocations: 246.3 kB / 402.1 MB, free: 7.988 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.58e-05/0.01072, allocations: 135.2 kB / 402.3 MB, free: 7.855 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.945e-05/0.01075, allocations: 123.2 kB / 402.4 MB, free: 7.734 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.000137/0.01089, allocations: 402.9 kB / 402.8 MB, free: 7.328 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.878e-05/0.01095, allocations: 152.8 kB / 402.9 MB, free: 7.172 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.216e-05/0.01101, allocations: 157.4 kB / 403.1 MB, free: 7.008 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.849e-05/0.01109, allocations: 272 kB / 403.3 MB, free: 6.734 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.036e-05/0.01116, allocations: 268.1 kB / 403.6 MB, free: 6.465 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-05/0.01122, allocations: 272 kB / 403.9 MB, free: 6.191 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002127/0.01144, allocations: 0.4888 MB / 404.3 MB, free: 5.668 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.87e-05/0.01148, allocations: 144.9 kB / 404.5 MB, free: 5.52 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.923e-05/0.01151, allocations: 148.8 kB / 404.6 MB, free: 5.367 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.722e-05/0.01158, allocations: 272.1 kB / 404.9 MB, free: 5.094 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.009e-05/0.01165, allocations: 272 kB / 405.2 MB, free: 4.82 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.075e-05/0.01172, allocations: 264.4 kB / 405.4 MB, free: 4.555 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.733e-05/0.01179, allocations: 268.1 kB / 405.7 MB, free: 4.285 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000149/0.01194, allocations: 463.9 kB / 406.1 MB, free: 3.805 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.911e-05/0.01199, allocations: 160.7 kB / 406.3 MB, free: 3.641 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.413e-05/0.01206, allocations: 264.1 kB / 406.6 MB, free: 3.375 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.279e-05/0.01214, allocations: 144.9 kB / 406.7 MB, free: 3.227 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.915e-05/0.0122, allocations: 272 kB / 407 MB, free: 2.953 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-05/0.01224, allocations: 148.9 kB / 407.1 MB, free: 2.801 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.704e-05/0.01232, allocations: 155.8 kB / 407.3 MB, free: 2.648 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01232, allocations: 4 kB / 407.3 MB, free: 2.645 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002309/0.01255, allocations: 4 kB / 407.3 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.0004009/0.01295, allocations: 214.4 kB / 407.5 MB, free: 2.422 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 4.521e-05/0.013, allocations: 11.88 kB / 407.5 MB, free: 2.41 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.013, allocations: 0 / 407.5 MB, free: 2.41 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.984e-06/0.013, allocations: 4 kB / 407.5 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.0004363/0.01344, allocations: 0.7216 MB / 408.2 MB, free: 1.68 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004385/0.01388, allocations: 292.8 kB / 408.5 MB, free: 1.363 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.828e-05/0.01391, allocations: 59.34 kB / 408.6 MB, free: 1.285 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.835e-05/0.01394, allocations: 4 kB / 408.6 MB, free: 1.281 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.356e-05/0.01401, allocations: 78.19 kB / 408.6 MB, free: 1.203 MB / 330.7 MB Notification: Performance of SimCode: time 7.02e-07/0.01401, allocations: 0 / 408.6 MB, free: 1.203 MB / 330.7 MB Notification: Performance of Templates: time 0.002414/0.01642, allocations: 0.532 MB / 409.2 MB, free: 0.6836 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.1730323871597648]