Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.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.TestDoubleLayer7over9,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9") translateModel(HanserModelica.Machines.TestDoubleLayer7over9,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.389/1.389, allocations: 222.9 MB / 239 MB, free: 4.742 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.001339/0.001339, allocations: 196.4 kB / 289.3 MB, free: 2.477 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03323/0.03323, allocations: 8.787 MB / 348.2 MB, free: 4.871 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00148/0.00148, allocations: 75.84 kB / 410.6 MB, free: 42.38 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1025, allocations: 51.56 MB / 462.1 MB, free: 14.81 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestDoubleLayer7over9): time 0.002598/0.1052, allocations: 1.309 MB / 463.4 MB, free: 13.48 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001824/0.107, allocations: 1.137 MB / 464.6 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.623e-05/0.107, allocations: 0 / 464.6 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004828/0.1075, allocations: 79.73 kB / 464.7 MB, free: 12.26 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008288/0.1084, allocations: 372.2 kB / 465 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.068e-06/0.1084, allocations: 0 / 465 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001075/0.1095, allocations: 0.7686 MB / 465.8 MB, free: 11.13 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.837e-05/0.1095, allocations: 8 kB / 465.8 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.305e-05/0.1096, allocations: 11.88 kB / 465.8 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.242e-05/0.1096, allocations: 19.86 kB / 465.8 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.087e-06/0.1096, allocations: 0 / 465.8 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001255/0.1098, allocations: 39.98 kB / 465.9 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.326e-05/0.1098, allocations: 23.95 kB / 465.9 MB, free: 11.03 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.608e-05/0.1099, allocations: 23.81 kB / 465.9 MB, free: 11 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001764/0.11, allocations: 79.89 kB / 466 MB, free: 10.93 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1101, allocations: 0 / 466 MB, free: 10.93 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1101, allocations: 0 / 466 MB, free: 10.93 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.1101, allocations: 4 kB / 466 MB, free: 10.92 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.0004321/0.1105, allocations: 379.1 kB / 466.4 MB, free: 10.5 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.1106, allocations: 12.03 kB / 466.4 MB, free: 10.49 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004041/0.111, allocations: 104.1 kB / 466.5 MB, free: 10.39 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004632/0.1114, allocations: 352.1 kB / 466.8 MB, free: 10.01 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.939e-05/0.1115, allocations: 154.9 kB / 467 MB, free: 9.855 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.31e-05/0.1116, allocations: 150.9 kB / 467.1 MB, free: 9.707 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.604e-05/0.1117, allocations: 113.2 kB / 467.2 MB, free: 9.59 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.836e-05/0.1117, allocations: 75.28 kB / 467.3 MB, free: 9.516 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.442e-05/0.1118, allocations: 150.6 kB / 467.5 MB, free: 9.367 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.187e-05/0.1118, allocations: 150.6 kB / 467.6 MB, free: 9.219 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.966e-05/0.1119, allocations: 158.5 kB / 467.8 MB, free: 9.062 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002921/0.1122, allocations: 461.9 kB / 468.2 MB, free: 8.562 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.312e-05/0.1123, allocations: 181 kB / 468.4 MB, free: 8.375 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.633e-05/0.1123, allocations: 80.14 kB / 468.5 MB, free: 8.293 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.329e-05/0.1124, allocations: 79.28 kB / 468.5 MB, free: 8.215 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.105e-05/0.1124, allocations: 109.8 kB / 468.6 MB, free: 8.098 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.1124, allocations: 0 / 468.6 MB, free: 8.098 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001114/0.1125, allocations: 33.61 kB / 468.7 MB, free: 8.059 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.18e-05/0.1126, allocations: 130.6 kB / 468.8 MB, free: 7.918 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001603/0.1128, allocations: 162.2 kB / 469 MB, free: 7.746 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.688e-06/0.1128, allocations: 33.7 kB / 469 MB, free: 7.707 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.262e-05/0.1128, allocations: 96.14 kB / 469.1 MB, free: 7.609 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.573e-06/0.1128, allocations: 0 / 469.1 MB, free: 7.609 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.004e-05/0.1129, allocations: 13.72 kB / 469.1 MB, free: 7.59 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.113, allocations: 318.9 kB / 469.4 MB, free: 7.27 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.212e-06/0.113, allocations: 4 kB / 469.4 MB, free: 7.266 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.174e-06/0.113, allocations: 3.938 kB / 469.4 MB, free: 7.262 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.902e-05/0.113, allocations: 79.28 kB / 469.5 MB, free: 7.184 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.454e-05/0.1131, allocations: 79.28 kB / 469.6 MB, free: 7.105 MB / 302.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.196e-05/0.1131, allocations: 33.61 kB / 469.6 MB, free: 7.066 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.566e-05/0.1132, allocations: 87.22 kB / 469.7 MB, free: 6.98 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-05/0.1132, allocations: 83.2 kB / 469.8 MB, free: 6.898 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.124e-05/0.1133, allocations: 150.6 kB / 469.9 MB, free: 6.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.388e-05/0.1133, allocations: 79.22 kB / 470 MB, free: 6.672 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.227e-05/0.1134, allocations: 154.6 kB / 470.2 MB, free: 6.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.682e-05/0.1134, allocations: 79.28 kB / 470.2 MB, free: 6.441 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.311e-05/0.1135, allocations: 79.22 kB / 470.3 MB, free: 6.363 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.0001161/0.1136, allocations: 276.3 kB / 470.6 MB, free: 6.082 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.07e-05/0.1137, allocations: 116.8 kB / 470.7 MB, free: 5.961 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.611e-05/0.1137, allocations: 120.8 kB / 470.8 MB, free: 5.836 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.155e-05/0.1138, allocations: 180.3 kB / 471 MB, free: 5.652 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.473e-05/0.1138, allocations: 176.3 kB / 471.2 MB, free: 5.473 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.226e-05/0.1139, allocations: 184.2 kB / 471.3 MB, free: 5.285 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002159/0.1141, allocations: 417.2 kB / 471.7 MB, free: 4.82 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.876e-05/0.1142, allocations: 108.9 kB / 471.9 MB, free: 4.707 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.956e-05/0.1142, allocations: 105 kB / 472 MB, free: 4.598 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.695e-05/0.1143, allocations: 192.2 kB / 472.1 MB, free: 4.402 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.561e-05/0.1143, allocations: 180.2 kB / 472.3 MB, free: 4.219 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.883e-05/0.1144, allocations: 184.2 kB / 472.5 MB, free: 4.031 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.529e-05/0.1144, allocations: 180.2 kB / 472.7 MB, free: 3.848 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001418/0.1146, allocations: 315.7 kB / 473 MB, free: 3.516 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.21e-05/0.1147, allocations: 189.9 kB / 473.2 MB, free: 3.305 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.434e-05/0.1147, allocations: 176.3 kB / 473.3 MB, free: 3.125 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.912e-05/0.1148, allocations: 108.9 kB / 473.4 MB, free: 3.012 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.823e-05/0.1149, allocations: 180.3 kB / 473.6 MB, free: 2.828 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-05/0.1149, allocations: 108.9 kB / 473.7 MB, free: 2.715 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.427e-05/0.115, allocations: 119.2 kB / 473.8 MB, free: 2.598 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.115, allocations: 0 / 473.8 MB, free: 2.598 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002651/0.1153, allocations: 4 kB / 473.8 MB, free: 2.594 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.0001558/0.1155, allocations: 174.5 kB / 474 MB, free: 2.414 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 4.334e-05/0.1155, allocations: 496 / 474 MB, free: 2.414 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1155, allocations: 0 / 474 MB, free: 2.414 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.042e-06/0.1155, allocations: 0 / 474 MB, free: 2.414 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004904/0.116, allocations: 475.7 kB / 474.5 MB, free: 1.945 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000336/0.1164, allocations: 252.6 kB / 474.7 MB, free: 1.668 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000262/0.1166, allocations: 0.6963 MB / 475.4 MB, free: 0.9453 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.623e-05/0.1167, allocations: 15.91 kB / 475.4 MB, free: 0.9297 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.518e-05/0.1167, allocations: 7.438 kB / 475.5 MB, free: 0.9258 MB / 302.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1167, allocations: 0 / 475.5 MB, free: 0.9258 MB / 302.1 MB Notification: Performance of Templates: time 0.002482/0.1192, allocations: 471.3 kB / 475.9 MB, free: 488 kB / 302.1 MB make -j1 -f HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.makefile (rm -f HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.pipe ; mkfifo HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.pipe >> ../files/HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.sim & ./HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.pipe 2>&1)