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.0008523/0.0008522, allocations: 98.03 kB / 15.36 MB, free: 0.7305 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.349/1.349, allocations: 223.3 MB / 239.4 MB, free: 5.484 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.001145/0.001145, allocations: 176.5 kB / 290.6 MB, free: 2.156 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.0334/0.0334, allocations: 8.809 MB / 350.5 MB, free: 4.59 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003544/0.0003544, allocations: 11.81 kB / 413.8 MB, free: 42.76 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09528/0.09565, allocations: 52.56 MB / 466.4 MB, free: 13.14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestDoubleLayer10over12): time 0.001563/0.09726, allocations: 0.9821 MB / 467.3 MB, free: 12.15 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001994/0.09929, allocations: 1.137 MB / 468.5 MB, free: 11 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.32e-05/0.09936, allocations: 0 / 468.5 MB, free: 11 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004523/0.09983, allocations: 75.75 kB / 468.6 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009422/0.1008, allocations: 350.9 kB / 468.9 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.008e-06/0.1008, allocations: 0 / 468.9 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001446/0.1023, allocations: 0.9678 MB / 469.9 MB, free: 9.617 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.256e-05/0.1023, allocations: 11.92 kB / 469.9 MB, free: 9.605 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.984e-05/0.1024, allocations: 15.86 kB / 469.9 MB, free: 9.59 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.468e-05/0.1024, allocations: 7.938 kB / 469.9 MB, free: 9.582 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.317e-05/0.1024, allocations: 4 kB / 469.9 MB, free: 9.578 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001598/0.1026, allocations: 43.97 kB / 470 MB, free: 9.535 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.966e-05/0.1027, allocations: 15.92 kB / 470 MB, free: 9.52 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.406e-05/0.1027, allocations: 49.5 kB / 470 MB, free: 9.465 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001847/0.1029, allocations: 79.69 kB / 470.1 MB, free: 9.387 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.1029, allocations: 3.984 kB / 470.1 MB, free: 9.383 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.1029, allocations: 0 / 470.1 MB, free: 9.383 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.103, allocations: 0 / 470.1 MB, free: 9.383 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.0004356/0.1034, allocations: 369.2 kB / 470.5 MB, free: 8.977 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.454e-05/0.1035, allocations: 12.03 kB / 470.5 MB, free: 8.965 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004869/0.104, allocations: 116.1 kB / 470.6 MB, free: 8.852 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000519/0.1045, allocations: 348 kB / 470.9 MB, free: 8.469 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.751e-05/0.1046, allocations: 150.9 kB / 471.1 MB, free: 8.32 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.42e-05/0.1046, allocations: 154.9 kB / 471.2 MB, free: 8.168 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.824e-05/0.1047, allocations: 117.2 kB / 471.3 MB, free: 8.047 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.869e-05/0.1048, allocations: 79.22 kB / 471.4 MB, free: 7.969 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.57e-05/0.1048, allocations: 162.6 kB / 471.6 MB, free: 7.809 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-05/0.1049, allocations: 150.6 kB / 471.7 MB, free: 7.66 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.317e-05/0.105, allocations: 154.5 kB / 471.9 MB, free: 7.508 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004058/0.1054, allocations: 461.9 kB / 472.3 MB, free: 7.008 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001005/0.1055, allocations: 173.1 kB / 472.5 MB, free: 6.828 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.246e-05/0.1056, allocations: 80.14 kB / 472.6 MB, free: 6.746 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.672e-05/0.1056, allocations: 75.28 kB / 472.6 MB, free: 6.672 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.579e-05/0.1057, allocations: 117.8 kB / 472.8 MB, free: 6.547 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 1.152e-06/0.1057, allocations: 0 / 472.8 MB, free: 6.547 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 8.343e-05/0.1057, allocations: 33.61 kB / 472.8 MB, free: 6.508 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.889e-05/0.1058, allocations: 138.6 kB / 472.9 MB, free: 6.359 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001858/0.106, allocations: 168.5 kB / 473.1 MB, free: 6.184 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/0.106, allocations: 25.7 kB / 473.1 MB, free: 6.152 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.469e-05/0.1061, allocations: 100.1 kB / 473.2 MB, free: 6.051 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.265e-06/0.1061, allocations: 0 / 473.2 MB, free: 6.051 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.873e-05/0.1061, allocations: 9.719 kB / 473.2 MB, free: 6.035 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.1063, allocations: 322.8 kB / 473.5 MB, free: 5.711 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.446e-06/0.1063, allocations: 0 / 473.5 MB, free: 5.711 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.016e-06/0.1063, allocations: 4 kB / 473.5 MB, free: 5.707 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.479e-05/0.1063, allocations: 75.28 kB / 473.6 MB, free: 5.633 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.287e-05/0.1063, allocations: 75.28 kB / 473.7 MB, free: 5.559 MB / 302.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.922e-05/0.1064, allocations: 37.61 kB / 473.7 MB, free: 5.516 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.697e-05/0.1065, allocations: 87.2 kB / 473.8 MB, free: 5.43 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.602e-05/0.1065, allocations: 79.22 kB / 473.9 MB, free: 5.352 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.026e-05/0.1065, allocations: 150.6 kB / 474 MB, free: 5.203 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.433e-05/0.1066, allocations: 87.22 kB / 474.1 MB, free: 5.117 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.723e-05/0.1066, allocations: 154.6 kB / 474.3 MB, free: 4.965 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.676e-05/0.1067, allocations: 75.28 kB / 474.3 MB, free: 4.891 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.878e-05/0.1067, allocations: 79.22 kB / 474.4 MB, free: 4.812 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.000144/0.1069, allocations: 276.3 kB / 474.7 MB, free: 4.531 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.923e-05/0.107, allocations: 112.8 kB / 474.8 MB, free: 4.414 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.945e-05/0.107, allocations: 125.5 kB / 474.9 MB, free: 4.285 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-05/0.1071, allocations: 184.3 kB / 475.1 MB, free: 4.098 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.696e-05/0.1072, allocations: 180.3 kB / 475.3 MB, free: 3.914 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.316e-05/0.1072, allocations: 184.2 kB / 475.5 MB, free: 3.727 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002472/0.1075, allocations: 417.2 kB / 475.9 MB, free: 3.262 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.66e-05/0.1075, allocations: 108.9 kB / 476 MB, free: 3.148 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.516e-05/0.1076, allocations: 105 kB / 476.1 MB, free: 3.039 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.813e-05/0.1077, allocations: 188.1 kB / 476.3 MB, free: 2.848 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.682e-05/0.1077, allocations: 180.2 kB / 476.4 MB, free: 2.664 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.866e-05/0.1078, allocations: 180.3 kB / 476.6 MB, free: 2.48 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.877e-05/0.1079, allocations: 184.1 kB / 476.8 MB, free: 2.293 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001443/0.108, allocations: 323.6 kB / 477.1 MB, free: 1.953 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.644e-05/0.1081, allocations: 189.9 kB / 477.3 MB, free: 1.742 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.149e-05/0.1082, allocations: 176.3 kB / 477.5 MB, free: 1.562 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.165e-05/0.1083, allocations: 112.9 kB / 477.6 MB, free: 1.445 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.228e-05/0.1084, allocations: 184.3 kB / 477.8 MB, free: 1.258 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.97e-05/0.1084, allocations: 104.9 kB / 477.9 MB, free: 1.148 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001015/0.1085, allocations: 127.9 kB / 478 MB, free: 1.023 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1086, allocations: 0 / 478 MB, free: 1.023 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002353/0.1088, allocations: 0 / 478 MB, free: 1.023 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.0001456/0.109, allocations: 170.5 kB / 478.1 MB, free: 0.8438 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 4.196e-05/0.109, allocations: 12.48 kB / 478.2 MB, free: 0.832 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.109, allocations: 0 / 478.2 MB, free: 0.832 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.896e-06/0.109, allocations: 4 kB / 478.2 MB, free: 0.8281 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005545/0.1096, allocations: 0.5302 MB / 478.7 MB, free: 300 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003969/0.11, allocations: 260.1 kB / 478.9 MB, free: 16 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000375/0.1104, allocations: 0.7004 MB / 479.7 MB, free: 15.29 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.537e-05/0.1104, allocations: 4 kB / 479.7 MB, free: 15.29 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.943e-05/0.1105, allocations: 7.438 kB / 479.7 MB, free: 15.28 MB / 318.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1105, allocations: 0 / 479.7 MB, free: 15.28 MB / 318.1 MB Notification: Performance of Templates: time 0.002826/0.1133, allocations: 453.3 kB / 480.1 MB, free: 14.84 MB / 318.1 MB make -j1 -f HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: