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.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.TestSingleLayer12over12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.TestSingleLayer12over12") translateModel(HanserModelica.Machines.TestSingleLayer12over12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.TestSingleLayer12over12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00104/0.00104, 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.281/1.281, allocations: 222.9 MB / 238.9 MB, free: 4.754 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.001126/0.001126, allocations: 192.5 kB / 289.1 MB, free: 2.512 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03201/0.03202, allocations: 8.798 MB / 348.1 MB, free: 4.898 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 72.83 kB / 410.4 MB, free: 42.4 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08553/0.0868, allocations: 51.56 MB / 461.9 MB, free: 14.91 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestSingleLayer12over12): time 0.002397/0.08924, allocations: 1.309 MB / 463.3 MB, free: 13.59 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00162/0.09088, allocations: 1.164 MB / 464.4 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.988e-05/0.09093, allocations: 3.938 kB / 464.4 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000416/0.09137, allocations: 71.75 kB / 464.5 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007869/0.09217, allocations: 350.9 kB / 464.8 MB, free: 12 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.486e-06/0.09218, allocations: 0 / 464.8 MB, free: 12 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00134/0.09353, allocations: 0.9674 MB / 465.8 MB, free: 11.03 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.669e-05/0.09358, allocations: 11.98 kB / 465.8 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.791e-05/0.0936, allocations: 7.938 kB / 465.8 MB, free: 11.01 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.778e-05/0.09365, allocations: 15.88 kB / 465.8 MB, free: 10.99 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.047e-06/0.09366, allocations: 0 / 465.8 MB, free: 10.99 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001203/0.09379, allocations: 47.91 kB / 465.9 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.83e-05/0.09385, allocations: 23.91 kB / 465.9 MB, free: 10.92 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.054e-05/0.09388, allocations: 19.81 kB / 465.9 MB, free: 10.9 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001409/0.09403, allocations: 71.97 kB / 466 MB, free: 10.83 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.09404, allocations: 4 kB / 466 MB, free: 10.83 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.81e-07/0.09405, allocations: 0 / 466 MB, free: 10.83 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.09406, allocations: 0 / 466 MB, free: 10.83 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.0003257/0.09439, allocations: 387 kB / 466.4 MB, free: 10.4 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.09444, allocations: 8.031 kB / 466.4 MB, free: 10.39 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003679/0.09481, allocations: 120 kB / 466.5 MB, free: 10.28 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000381/0.0952, allocations: 348 kB / 466.8 MB, free: 9.895 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.743e-05/0.09526, allocations: 158.9 kB / 467 MB, free: 9.738 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.148e-05/0.0953, allocations: 150.9 kB / 467.2 MB, free: 9.59 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.136e-05/0.09536, allocations: 109.3 kB / 467.3 MB, free: 9.477 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.138e-05/0.09539, allocations: 79.28 kB / 467.3 MB, free: 9.398 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.896e-05/0.09545, allocations: 150.6 kB / 467.5 MB, free: 9.25 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.239e-05/0.0955, allocations: 154.5 kB / 467.6 MB, free: 9.098 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.243e-05/0.09555, allocations: 158.5 kB / 467.8 MB, free: 8.941 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002336/0.09579, allocations: 457.9 kB / 468.2 MB, free: 8.445 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.497e-05/0.09586, allocations: 173.1 kB / 468.4 MB, free: 8.266 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.441e-05/0.09589, allocations: 80.14 kB / 468.5 MB, free: 8.184 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.567e-05/0.09592, allocations: 79.28 kB / 468.6 MB, free: 8.105 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.751e-05/0.09596, allocations: 113.8 kB / 468.7 MB, free: 7.984 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.09597, allocations: 3.938 kB / 468.7 MB, free: 7.98 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 6.553e-05/0.09604, allocations: 37.61 kB / 468.7 MB, free: 7.938 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.629e-05/0.09609, allocations: 126.7 kB / 468.8 MB, free: 7.801 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/0.09625, allocations: 168.5 kB / 469 MB, free: 7.625 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.09627, allocations: 37.7 kB / 469 MB, free: 7.582 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.599e-05/0.09632, allocations: 96.14 kB / 469.1 MB, free: 7.484 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.593e-06/0.09633, allocations: 0 / 469.1 MB, free: 7.484 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.715e-05/0.09635, allocations: 9.719 kB / 469.1 MB, free: 7.469 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.498e-05/0.09645, allocations: 322.8 kB / 469.5 MB, free: 7.145 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.799e-06/0.09646, allocations: 0 / 469.5 MB, free: 7.145 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.665e-06/0.09646, allocations: 0 / 469.5 MB, free: 7.145 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.027e-05/0.09649, allocations: 75.28 kB / 469.5 MB, free: 7.07 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.048e-05/0.09651, allocations: 79.28 kB / 469.6 MB, free: 6.992 MB / 302.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.8e-05/0.09658, allocations: 41.55 kB / 469.6 MB, free: 6.945 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.121e-05/0.09661, allocations: 83.22 kB / 469.7 MB, free: 6.863 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.365e-05/0.09664, allocations: 83.27 kB / 469.8 MB, free: 6.781 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.376e-05/0.0967, allocations: 154.5 kB / 470 MB, free: 6.629 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.23e-05/0.09673, allocations: 79.28 kB / 470 MB, free: 6.551 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.644e-05/0.09678, allocations: 154.5 kB / 470.2 MB, free: 6.398 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.234e-05/0.09685, allocations: 83.22 kB / 470.3 MB, free: 6.316 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.488e-05/0.09688, allocations: 79.22 kB / 470.3 MB, free: 6.238 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.0001162/0.097, allocations: 276.3 kB / 470.6 MB, free: 5.957 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.318e-05/0.09706, allocations: 120.7 kB / 470.7 MB, free: 5.832 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.924e-05/0.09711, allocations: 121.6 kB / 470.9 MB, free: 5.707 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.871e-05/0.09717, allocations: 184.3 kB / 471 MB, free: 5.52 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.044e-05/0.09722, allocations: 184.2 kB / 471.2 MB, free: 5.332 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.854e-05/0.09728, allocations: 176.3 kB / 471.4 MB, free: 5.152 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002124/0.09749, allocations: 425.1 kB / 471.8 MB, free: 4.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.818e-05/0.09753, allocations: 101 kB / 471.9 MB, free: 4.574 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.878e-05/0.09757, allocations: 113 kB / 472 MB, free: 4.457 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.829e-05/0.09764, allocations: 188.1 kB / 472.2 MB, free: 4.266 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.959e-05/0.09769, allocations: 176.3 kB / 472.4 MB, free: 4.086 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.096e-05/0.09775, allocations: 180.2 kB / 472.5 MB, free: 3.902 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.975e-05/0.0978, allocations: 180.3 kB / 472.7 MB, free: 3.719 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001099/0.09792, allocations: 315.7 kB / 473 MB, free: 3.387 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.47e-05/0.09799, allocations: 189.9 kB / 473.2 MB, free: 3.176 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.471e-05/0.09806, allocations: 180.2 kB / 473.4 MB, free: 2.992 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.731e-05/0.09813, allocations: 105 kB / 473.5 MB, free: 2.883 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.764e-05/0.09819, allocations: 192.2 kB / 473.7 MB, free: 2.688 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.078e-05/0.09823, allocations: 101 kB / 473.8 MB, free: 2.582 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.752e-05/0.09831, allocations: 131.9 kB / 473.9 MB, free: 2.453 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.09832, allocations: 0 / 473.9 MB, free: 2.453 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002288/0.09855, allocations: 4 kB / 473.9 MB, free: 2.449 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.0001272/0.09868, allocations: 166.5 kB / 474.1 MB, free: 2.273 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 3.464e-05/0.09873, allocations: 0 / 474.1 MB, free: 2.273 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.09873, allocations: 4 kB / 474.1 MB, free: 2.27 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.755e-06/0.09874, allocations: 3.938 kB / 474.1 MB, free: 2.266 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004525/0.0992, allocations: 0.5341 MB / 474.6 MB, free: 1.727 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004241/0.09964, allocations: 258.7 kB / 474.9 MB, free: 1.449 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003204/0.09997, allocations: 0.6965 MB / 475.6 MB, free: 0.7266 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.878e-05/0.1, allocations: 7.984 kB / 475.6 MB, free: 0.7188 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.928e-05/0.1, allocations: 7.438 kB / 475.6 MB, free: 0.7109 MB / 302.1 MB Notification: Performance of SimCode: time 3e-07/0.1, allocations: 0 / 475.6 MB, free: 0.7109 MB / 302.1 MB Notification: Performance of Templates: time 0.002237/0.1023, allocations: 460.9 kB / 476 MB, free: 276 kB / 302.1 MB make -j1 -f HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.makefile (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=480 -lv LOG_STATS > HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.pipe 2>&1)