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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(HanserModelica.Machines.TestDoubleLayer10over12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12") translateModel(HanserModelica.Machines.TestDoubleLayer10over12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001626/0.001626, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 222.9 MB / 239 MB, free: 4.715 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001536/0.001536, allocations: 192.5 kB / 289.3 MB, free: 2.461 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03295/0.03295, allocations: 8.78 MB / 348.2 MB, free: 4.828 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 74.62 kB / 410.6 MB, free: 42.28 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1031, allocations: 51.57 MB / 462.1 MB, free: 14.71 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestDoubleLayer10over12): time 0.002307/0.1054, allocations: 1.305 MB / 463.4 MB, free: 13.39 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001866/0.1073, allocations: 1.137 MB / 464.6 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.499e-05/0.1074, allocations: 0 / 464.6 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004708/0.1079, allocations: 75.75 kB / 464.7 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009289/0.1088, allocations: 370.9 kB / 465 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.318e-06/0.1088, allocations: 0 / 465 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0013/0.1101, allocations: 0.9675 MB / 466 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.537e-05/0.1102, allocations: 11.98 kB / 466 MB, free: 10.83 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.466e-05/0.1102, allocations: 11.92 kB / 466 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.78e-05/0.1103, allocations: 11.94 kB / 466 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.014e-05/0.1103, allocations: 0 / 466 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001194/0.1104, allocations: 43.91 kB / 466.1 MB, free: 10.76 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.227e-05/0.1105, allocations: 27.92 kB / 466.1 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.705e-05/0.1105, allocations: 23.8 kB / 466.1 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001381/0.1106, allocations: 68.03 kB / 466.2 MB, free: 10.64 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1106, allocations: 8 kB / 466.2 MB, free: 10.64 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1107, allocations: 0 / 466.2 MB, free: 10.64 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.93e-06/0.1107, allocations: 3.938 kB / 466.2 MB, free: 10.63 MB / 302.1 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.000358/0.111, allocations: 384.7 kB / 466.6 MB, free: 10.21 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.1111, allocations: 8.031 kB / 466.6 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003617/0.1114, allocations: 116 kB / 466.7 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003894/0.1118, allocations: 352 kB / 467 MB, free: 9.703 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.955e-05/0.1119, allocations: 150.9 kB / 467.2 MB, free: 9.555 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.188e-05/0.1119, allocations: 154.9 kB / 467.3 MB, free: 9.402 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.195e-05/0.112, allocations: 109.2 kB / 467.4 MB, free: 9.289 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.764e-05/0.1121, allocations: 79.28 kB / 467.5 MB, free: 9.211 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.539e-05/0.1121, allocations: 158.5 kB / 467.7 MB, free: 9.055 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-05/0.1122, allocations: 150.6 kB / 467.8 MB, free: 8.906 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.497e-05/0.1122, allocations: 150.6 kB / 468 MB, free: 8.758 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002623/0.1125, allocations: 457.9 kB / 468.4 MB, free: 8.262 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.628e-05/0.1126, allocations: 181.1 kB / 468.6 MB, free: 8.074 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.933e-05/0.1126, allocations: 80.14 kB / 468.7 MB, free: 7.992 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.893e-05/0.1126, allocations: 75.28 kB / 468.7 MB, free: 7.918 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.305e-05/0.1127, allocations: 117.7 kB / 468.9 MB, free: 7.793 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.1127, allocations: 0 / 468.9 MB, free: 7.793 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 7.582e-05/0.1128, allocations: 33.61 kB / 468.9 MB, free: 7.754 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.728e-05/0.1128, allocations: 126.7 kB / 469 MB, free: 7.617 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001705/0.113, allocations: 176.5 kB / 469.2 MB, free: 7.434 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.113, allocations: 29.7 kB / 469.2 MB, free: 7.398 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.062e-05/0.1131, allocations: 96.14 kB / 469.3 MB, free: 7.301 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.597e-06/0.1131, allocations: 0 / 469.3 MB, free: 7.301 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.929e-05/0.1131, allocations: 13.66 kB / 469.3 MB, free: 7.281 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.1133, allocations: 322.8 kB / 469.6 MB, free: 6.957 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.33e-06/0.1133, allocations: 0 / 469.6 MB, free: 6.957 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.746e-06/0.1133, allocations: 0 / 469.6 MB, free: 6.957 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.971e-05/0.1133, allocations: 79.28 kB / 469.7 MB, free: 6.879 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-05/0.1133, allocations: 75.28 kB / 469.8 MB, free: 6.805 MB / 302.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.544e-05/0.1134, allocations: 41.61 kB / 469.8 MB, free: 6.758 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.338e-05/0.1135, allocations: 91.14 kB / 469.9 MB, free: 6.668 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.56e-05/0.1135, allocations: 79.22 kB / 470 MB, free: 6.59 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.132e-05/0.1136, allocations: 150.6 kB / 470.1 MB, free: 6.441 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.182e-05/0.1136, allocations: 79.28 kB / 470.2 MB, free: 6.363 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.254e-05/0.1136, allocations: 158.5 kB / 470.4 MB, free: 6.207 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.089e-05/0.1137, allocations: 75.28 kB / 470.4 MB, free: 6.133 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.897e-05/0.1137, allocations: 79.22 kB / 470.5 MB, free: 6.055 MB / 302.1 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.0001263/0.1139, allocations: 276.3 kB / 470.8 MB, free: 5.773 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.802e-05/0.1139, allocations: 116.7 kB / 470.9 MB, free: 5.652 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.335e-05/0.114, allocations: 125.6 kB / 471 MB, free: 5.523 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.845e-05/0.1141, allocations: 184.2 kB / 471.2 MB, free: 5.336 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.607e-05/0.1141, allocations: 176.3 kB / 471.4 MB, free: 5.156 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.304e-05/0.1142, allocations: 184.2 kB / 471.6 MB, free: 4.969 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002374/0.1144, allocations: 421.2 kB / 472 MB, free: 4.5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.568e-05/0.1145, allocations: 105 kB / 472.1 MB, free: 4.391 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.395e-05/0.1145, allocations: 112.9 kB / 472.2 MB, free: 4.273 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.836e-05/0.1146, allocations: 184.2 kB / 472.4 MB, free: 4.086 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.38e-05/0.1147, allocations: 180.2 kB / 472.5 MB, free: 3.902 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.082e-05/0.1147, allocations: 176.3 kB / 472.7 MB, free: 3.723 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.971e-05/0.1148, allocations: 184.2 kB / 472.9 MB, free: 3.535 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001304/0.115, allocations: 311.7 kB / 473.2 MB, free: 3.207 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.617e-05/0.115, allocations: 201.8 kB / 473.4 MB, free: 2.984 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.227e-05/0.1151, allocations: 176.3 kB / 473.6 MB, free: 2.805 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.847e-05/0.1152, allocations: 112.9 kB / 473.7 MB, free: 2.688 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.57e-05/0.1153, allocations: 184.3 kB / 473.9 MB, free: 2.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.419e-05/0.1153, allocations: 105 kB / 474 MB, free: 2.391 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.325e-05/0.1154, allocations: 127.9 kB / 474.1 MB, free: 2.266 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1154, allocations: 0 / 474.1 MB, free: 2.266 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002633/0.1157, allocations: 4 kB / 474.1 MB, free: 2.262 MB / 302.1 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.0001392/0.1158, allocations: 170.5 kB / 474.3 MB, free: 2.082 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 4.265e-05/0.1159, allocations: 4.484 kB / 474.3 MB, free: 2.078 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1159, allocations: 4 kB / 474.3 MB, free: 2.074 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.212e-06/0.1159, allocations: 0 / 474.3 MB, free: 2.074 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004319/0.1163, allocations: 465.4 kB / 474.7 MB, free: 1.617 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003115/0.1166, allocations: 256.7 kB / 475 MB, free: 1.34 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002461/0.1169, allocations: 0.6963 MB / 475.7 MB, free: 0.6172 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.473e-05/0.1169, allocations: 4 kB / 475.7 MB, free: 0.6133 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.786e-05/0.1169, allocations: 7.438 kB / 475.7 MB, free: 0.6055 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1169, allocations: 0 / 475.7 MB, free: 0.6055 MB / 302.1 MB Notification: Performance of Templates: time 0.002471/0.1194, allocations: 481.7 kB / 476.1 MB, free: 144 kB / 302.1 MB make -j1 -f HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.makefile (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=480 -lv LOG_STATS > HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.pipe 2>&1)