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.001258/0.001258, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.9132/0.9132, allocations: 177.2 MB / 200.3 MB, free: 5.391 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.004813/0.004813, allocations: 156.6 kB / 257 MB, free: 12.85 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.04157/0.04157, allocations: 6.663 MB / 266.9 MB, free: 3.098 MB / 250.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.113e-06/1.113e-06, allocations: 0 / 285.6 MB, free: 404 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.246e-05/1.358e-05, allocations: 6.25 kB / 285.6 MB, free: 396 kB / 266.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestSingleLayer12over12): time 0.1/0.1001, allocations: 1.278 MB / 286.9 MB, free: 21.67 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001262/0.1013, allocations: 1.2 MB / 288.1 MB, free: 21.14 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.534e-05/0.1014, allocations: 0.7812 kB / 288.1 MB, free: 21.14 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004084/0.1018, allocations: 81.48 kB / 288.2 MB, free: 21.11 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009142/0.1027, allocations: 419.3 kB / 288.6 MB, free: 20.98 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.226e-06/0.1027, allocations: 0 / 288.6 MB, free: 20.98 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001196/0.1039, allocations: 1.078 MB / 289.7 MB, free: 20.81 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.839e-05/0.1039, allocations: 7.609 kB / 289.7 MB, free: 20.81 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.282e-05/0.1039, allocations: 13.61 kB / 289.7 MB, free: 20.8 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.457e-05/0.104, allocations: 8 kB / 289.7 MB, free: 20.8 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.005e-06/0.104, allocations: 0.9688 kB / 289.7 MB, free: 20.8 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001099/0.1041, allocations: 47.78 kB / 289.8 MB, free: 20.79 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.338e-05/0.1041, allocations: 21.91 kB / 289.8 MB, free: 20.78 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.612e-05/0.1041, allocations: 10.22 kB / 289.8 MB, free: 20.78 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000128/0.1043, allocations: 83.81 kB / 289.9 MB, free: 20.74 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.1043, allocations: 0 / 289.9 MB, free: 20.74 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.1043, allocations: 0 / 289.9 MB, free: 20.74 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.577e-06/0.1043, allocations: 0 / 289.9 MB, free: 20.74 MB / 266.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.0002024/0.1045, allocations: 291.2 kB / 290.1 MB, free: 20.47 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.699e-05/0.1045, allocations: 8.656 kB / 290.2 MB, free: 20.47 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000169/0.1047, allocations: 113.6 kB / 290.3 MB, free: 20.38 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002444/0.1049, allocations: 307.2 kB / 290.6 MB, free: 20.12 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.1049, allocations: 153.7 kB / 290.7 MB, free: 19.98 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.465e-05/0.105, allocations: 157.2 kB / 290.9 MB, free: 19.82 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 2.966e-05/0.105, allocations: 103.6 kB / 291 MB, free: 19.72 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.667e-06/0.105, allocations: 76.16 kB / 291 MB, free: 19.64 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.105, allocations: 156.1 kB / 291.2 MB, free: 19.49 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.437e-05/0.105, allocations: 156.1 kB / 291.4 MB, free: 19.34 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.258e-05/0.105, allocations: 152.4 kB / 291.5 MB, free: 19.19 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.642e-05/0.1051, allocations: 353.1 kB / 291.8 MB, free: 18.84 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.984e-05/0.1052, allocations: 175.3 kB / 292 MB, free: 18.66 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.628e-06/0.1052, allocations: 86.03 kB / 292.1 MB, free: 18.57 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.472e-06/0.1052, allocations: 76.38 kB / 292.2 MB, free: 18.5 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.706e-05/0.1052, allocations: 107.5 kB / 292.3 MB, free: 18.39 MB / 266.7 MB Notification: Performance of pre-optimization done (n=0): time 6.91e-07/0.1052, allocations: 1.188 kB / 292.3 MB, free: 18.39 MB / 266.7 MB Notification: Performance of matching and sorting (n=0): time 3.765e-05/0.1052, allocations: 31.23 kB / 292.3 MB, free: 18.36 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.601e-05/0.1053, allocations: 130.6 kB / 292.4 MB, free: 18.21 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.111e-05/0.1053, allocations: 159.1 kB / 292.6 MB, free: 18.09 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.456e-06/0.1053, allocations: 28.39 kB / 292.6 MB, free: 18.06 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.472e-05/0.1054, allocations: 91.62 kB / 292.7 MB, free: 17.97 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.11e-07/0.1054, allocations: 0 / 292.7 MB, free: 17.97 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.341e-05/0.1054, allocations: 11.75 kB / 292.7 MB, free: 17.96 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 2.791e-05/0.1054, allocations: 324.9 kB / 293 MB, free: 17.64 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.013e-06/0.1054, allocations: 1.094 kB / 293 MB, free: 17.64 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.575e-06/0.1054, allocations: 0 / 293 MB, free: 17.64 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.654e-06/0.1054, allocations: 78.06 kB / 293.1 MB, free: 17.56 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.1054, allocations: 75.28 kB / 293.2 MB, free: 17.49 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 2.543e-05/0.1054, allocations: 33.12 kB / 293.2 MB, free: 17.46 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.1055, allocations: 84.69 kB / 293.3 MB, free: 17.38 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.1055, allocations: 79.83 kB / 293.4 MB, free: 17.3 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.1055, allocations: 156.6 kB / 293.5 MB, free: 17.15 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.947e-06/0.1055, allocations: 81.27 kB / 293.6 MB, free: 17.07 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.1055, allocations: 152.4 kB / 293.8 MB, free: 16.93 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.064e-05/0.1055, allocations: 81.22 kB / 293.8 MB, free: 16.85 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.1055, allocations: 85.52 kB / 293.9 MB, free: 16.77 MB / 266.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 4.275e-05/0.1056, allocations: 266 kB / 294.2 MB, free: 16.5 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.006e-05/0.1056, allocations: 106.6 kB / 294.3 MB, free: 16.39 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.354e-05/0.1056, allocations: 117.8 kB / 294.4 MB, free: 16.27 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.426e-05/0.1056, allocations: 178.1 kB / 294.6 MB, free: 16.09 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.405e-05/0.1057, allocations: 187.1 kB / 294.8 MB, free: 15.91 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.467e-05/0.1057, allocations: 177.7 kB / 294.9 MB, free: 15.73 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.34e-05/0.1058, allocations: 330.7 kB / 295.3 MB, free: 15.39 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.107e-05/0.1058, allocations: 110.8 kB / 295.4 MB, free: 15.28 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.036e-05/0.1058, allocations: 108.9 kB / 295.5 MB, free: 15.17 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.666e-05/0.1058, allocations: 184.6 kB / 295.7 MB, free: 14.98 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.539e-05/0.1058, allocations: 179.3 kB / 295.8 MB, free: 14.8 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.576e-05/0.1058, allocations: 177.9 kB / 296 MB, free: 14.62 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.57e-05/0.1058, allocations: 186.1 kB / 296.2 MB, free: 14.44 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.78e-05/0.1059, allocations: 314.9 kB / 296.5 MB, free: 14.12 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.654e-05/0.1059, allocations: 116.9 kB / 296.6 MB, free: 14 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.034e-05/0.1059, allocations: 178.6 kB / 296.8 MB, free: 13.82 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.966e-05/0.106, allocations: 106.7 kB / 296.9 MB, free: 13.71 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.819e-05/0.106, allocations: 179.1 kB / 297.1 MB, free: 13.53 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.195e-05/0.106, allocations: 110.6 kB / 297.2 MB, free: 13.42 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.17e-05/0.106, allocations: 35.31 kB / 297.2 MB, free: 13.41 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.106, allocations: 1.094 kB / 297.2 MB, free: 13.41 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001264/0.1062, allocations: 3.609 kB / 297.2 MB, free: 13.41 MB / 266.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 8.057e-05/0.1062, allocations: 154.8 kB / 297.4 MB, free: 13.26 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 2.619e-05/0.1063, allocations: 5.406 kB / 297.4 MB, free: 13.26 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.1063, allocations: 1.312 kB / 297.4 MB, free: 13.26 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.332e-06/0.1063, allocations: 1.125 kB / 297.4 MB, free: 13.26 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002003/0.1065, allocations: 470.9 kB / 297.8 MB, free: 12.8 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003085/0.1068, allocations: 243.7 kB / 298.1 MB, free: 12.59 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.435e-05/0.1068, allocations: 65.66 kB / 298.1 MB, free: 12.51 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.38e-05/0.1068, allocations: 4.844 kB / 298.1 MB, free: 12.51 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.498e-05/0.1069, allocations: 57.94 kB / 298.2 MB, free: 12.46 MB / 266.7 MB Notification: Performance of SimCode: time 4.21e-07/0.1069, allocations: 4 kB / 298.2 MB, free: 12.46 MB / 266.7 MB Notification: Performance of Templates: time 0.001967/0.1088, allocations: 0.5546 MB / 298.7 MB, free: 12.39 MB / 266.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: 2.610776619054377]