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.001029/0.001029, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.255/1.255, allocations: 222.9 MB / 238.8 MB, free: 4.707 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.00133/0.00133, allocations: 184.5 kB / 289.1 MB, free: 2.438 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03167/0.03167, allocations: 8.795 MB / 348.1 MB, free: 4.855 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 71.19 kB / 410.4 MB, free: 42.36 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09111/0.09235, allocations: 51.57 MB / 462 MB, free: 14.84 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestDoubleLayer10over12): time 0.002482/0.09487, allocations: 1.298 MB / 463.3 MB, free: 13.52 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001833/0.09672, allocations: 1.164 MB / 464.4 MB, free: 12.35 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.212e-05/0.09676, allocations: 0 / 464.4 MB, free: 12.35 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003473/0.09712, allocations: 83.73 kB / 464.5 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007243/0.09786, allocations: 354.9 kB / 464.8 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.396e-06/0.09787, allocations: 0 / 464.8 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001273/0.09915, allocations: 0.9597 MB / 465.8 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.748e-05/0.0992, allocations: 15.97 kB / 465.8 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.067e-05/0.09923, allocations: 7.938 kB / 465.8 MB, free: 10.94 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.567e-05/0.09927, allocations: 7.938 kB / 465.8 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.859e-06/0.09929, allocations: 4 kB / 465.8 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001149/0.09941, allocations: 51.89 kB / 465.9 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.521e-05/0.09946, allocations: 19.92 kB / 465.9 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.605e-05/0.09949, allocations: 19.81 kB / 465.9 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001473/0.09965, allocations: 76.02 kB / 466 MB, free: 10.76 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.09966, allocations: 0 / 466 MB, free: 10.76 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.52e-07/0.09966, allocations: 0 / 466 MB, free: 10.76 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.09967, allocations: 0 / 466 MB, free: 10.76 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.0003248/0.1, allocations: 386.9 kB / 466.4 MB, free: 10.34 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.1, allocations: 12.03 kB / 466.4 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003209/0.1004, allocations: 112.1 kB / 466.5 MB, free: 10.21 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003778/0.1008, allocations: 355.9 kB / 466.9 MB, free: 9.824 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.182e-05/0.1008, allocations: 150.9 kB / 467 MB, free: 9.676 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.227e-05/0.1009, allocations: 154.9 kB / 467.1 MB, free: 9.523 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.925e-05/0.1009, allocations: 117.3 kB / 467.3 MB, free: 9.402 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.342e-05/0.101, allocations: 79.22 kB / 467.3 MB, free: 9.324 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.154e-05/0.101, allocations: 154.5 kB / 467.5 MB, free: 9.172 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.555e-05/0.1011, allocations: 150.6 kB / 467.6 MB, free: 9.023 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.022e-05/0.1011, allocations: 150.6 kB / 467.8 MB, free: 8.875 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002464/0.1014, allocations: 465.9 kB / 468.2 MB, free: 8.371 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.041e-05/0.1014, allocations: 165.1 kB / 468.4 MB, free: 8.199 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.64e-05/0.1015, allocations: 88.08 kB / 468.5 MB, free: 8.109 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.129e-05/0.1015, allocations: 75.28 kB / 468.6 MB, free: 8.035 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.344e-05/0.1016, allocations: 113.8 kB / 468.7 MB, free: 7.914 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 8.11e-07/0.1016, allocations: 7.938 kB / 468.7 MB, free: 7.906 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 6.374e-05/0.1016, allocations: 37.61 kB / 468.7 MB, free: 7.863 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.437e-05/0.1017, allocations: 130.7 kB / 468.8 MB, free: 7.723 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001503/0.1018, allocations: 168.5 kB / 469 MB, free: 7.547 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.649e-06/0.1019, allocations: 25.7 kB / 469 MB, free: 7.516 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.198e-05/0.1019, allocations: 100.1 kB / 469.1 MB, free: 7.414 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.262e-06/0.1019, allocations: 0 / 469.1 MB, free: 7.414 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.791e-05/0.1019, allocations: 9.719 kB / 469.1 MB, free: 7.398 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.684e-05/0.102, allocations: 326.8 kB / 469.5 MB, free: 7.07 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.741e-06/0.102, allocations: 3.938 kB / 469.5 MB, free: 7.066 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.284e-06/0.1021, allocations: 0 / 469.5 MB, free: 7.066 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.907e-05/0.1021, allocations: 75.28 kB / 469.5 MB, free: 6.992 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.932e-05/0.1021, allocations: 79.28 kB / 469.6 MB, free: 6.914 MB / 302.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.934e-05/0.1022, allocations: 33.61 kB / 469.6 MB, free: 6.875 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.152e-05/0.1022, allocations: 87.2 kB / 469.7 MB, free: 6.789 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.107e-05/0.1022, allocations: 79.22 kB / 469.8 MB, free: 6.711 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.741e-05/0.1023, allocations: 162.6 kB / 470 MB, free: 6.551 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.888e-05/0.1023, allocations: 75.28 kB / 470 MB, free: 6.477 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.015e-05/0.1024, allocations: 154.5 kB / 470.2 MB, free: 6.324 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.926e-05/0.1024, allocations: 75.28 kB / 470.3 MB, free: 6.25 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.143e-05/0.1025, allocations: 83.22 kB / 470.3 MB, free: 6.168 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.000112/0.1026, allocations: 276.3 kB / 470.6 MB, free: 5.887 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.904e-05/0.1027, allocations: 120.8 kB / 470.7 MB, free: 5.762 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.461e-05/0.1027, allocations: 121.5 kB / 470.9 MB, free: 5.637 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.365e-05/0.1028, allocations: 180.2 kB / 471 MB, free: 5.453 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-05/0.1028, allocations: 176.3 kB / 471.2 MB, free: 5.273 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.983e-05/0.1029, allocations: 188.2 kB / 471.4 MB, free: 5.082 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000199/0.1031, allocations: 417.2 kB / 471.8 MB, free: 4.617 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.56e-05/0.1031, allocations: 105 kB / 471.9 MB, free: 4.508 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.116e-05/0.1032, allocations: 112.8 kB / 472 MB, free: 4.391 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.343e-05/0.1032, allocations: 184.2 kB / 472.2 MB, free: 4.203 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.879e-05/0.1033, allocations: 180.2 kB / 472.4 MB, free: 4.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.564e-05/0.1033, allocations: 184.3 kB / 472.5 MB, free: 3.832 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.465e-05/0.1034, allocations: 176.3 kB / 472.7 MB, free: 3.652 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001209/0.1035, allocations: 315.7 kB / 473 MB, free: 3.32 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.287e-05/0.1036, allocations: 189.9 kB / 473.2 MB, free: 3.109 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.165e-05/0.1037, allocations: 188.2 kB / 473.4 MB, free: 2.918 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.694e-05/0.1038, allocations: 109 kB / 473.5 MB, free: 2.805 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.334e-05/0.1039, allocations: 184.2 kB / 473.7 MB, free: 2.617 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.731e-05/0.1039, allocations: 101 kB / 473.8 MB, free: 2.512 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.775e-05/0.104, allocations: 127.9 kB / 473.9 MB, free: 2.387 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.104, allocations: 0 / 473.9 MB, free: 2.387 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002447/0.1042, allocations: 4 kB / 473.9 MB, free: 2.383 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.0001137/0.1044, allocations: 182.5 kB / 474.1 MB, free: 2.191 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 3.245e-05/0.1044, allocations: 3.938 kB / 474.1 MB, free: 2.188 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1044, allocations: 0 / 474.1 MB, free: 2.188 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.172e-06/0.1044, allocations: 0 / 474.1 MB, free: 2.188 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004522/0.1049, allocations: 0.5302 MB / 474.6 MB, free: 1.652 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002788/0.1052, allocations: 246.8 kB / 474.9 MB, free: 1.387 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002388/0.1054, allocations: 0.7043 MB / 475.6 MB, free: 0.6562 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.176e-05/0.1054, allocations: 4 kB / 475.6 MB, free: 0.6523 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.476e-05/0.1055, allocations: 15.44 kB / 475.6 MB, free: 0.6367 MB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1055, allocations: 0 / 475.6 MB, free: 0.6367 MB / 302.1 MB Notification: Performance of Templates: time 0.002054/0.1075, allocations: 461.2 kB / 476 MB, free: 200 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)