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.001184/0.001184, allocations: 107.8 kB / 16.27 MB, free: 6.414 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.477/1.477, allocations: 222.9 MB / 239.9 MB, free: 4.578 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.002074/0.002074, allocations: 188.5 kB / 290.2 MB, free: 2.309 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03511/0.03511, allocations: 8.801 MB / 349.2 MB, free: 4.688 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 77.97 kB / 411.7 MB, free: 41.98 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0772/0.07874, allocations: 51.57 MB / 463.3 MB, free: 14.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestSingleLayer12over12): time 0.002269/0.08105, allocations: 1.231 MB / 464.6 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00171/0.08278, allocations: 1.152 MB / 465.7 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.295e-05/0.08284, allocations: 4 kB / 465.7 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003925/0.08324, allocations: 79.69 kB / 465.8 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008667/0.08412, allocations: 394.5 kB / 466.2 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.338e-06/0.08413, allocations: 0 / 466.2 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001347/0.08549, allocations: 0.9598 MB / 467.1 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.17e-05/0.08554, allocations: 4 kB / 467.1 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.22e-05/0.08557, allocations: 7.938 kB / 467.1 MB, free: 10.49 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.726e-05/0.08562, allocations: 27.8 kB / 467.2 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.138e-05/0.08564, allocations: 0 / 467.2 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001406/0.08579, allocations: 43.92 kB / 467.2 MB, free: 10.42 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.871e-05/0.08586, allocations: 27.95 kB / 467.2 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.069e-05/0.0859, allocations: 19.81 kB / 467.3 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001528/0.08606, allocations: 75.95 kB / 467.3 MB, free: 10.3 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.08607, allocations: 0 / 467.3 MB, free: 10.3 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.726e-06/0.08608, allocations: 4 kB / 467.3 MB, free: 10.3 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.08609, allocations: 0 / 467.3 MB, free: 10.3 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.0003446/0.08644, allocations: 390.8 kB / 467.7 MB, free: 9.867 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.155e-05/0.08647, allocations: 8.031 kB / 467.7 MB, free: 9.859 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003666/0.08685, allocations: 112.1 kB / 467.8 MB, free: 9.75 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004067/0.08726, allocations: 344 kB / 468.2 MB, free: 9.371 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.835e-05/0.08732, allocations: 154.9 kB / 468.3 MB, free: 9.219 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.189e-05/0.08737, allocations: 154.9 kB / 468.5 MB, free: 9.066 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.031e-05/0.08744, allocations: 113.2 kB / 468.6 MB, free: 8.949 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.6e-05/0.08747, allocations: 79.28 kB / 468.7 MB, free: 8.871 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.924e-05/0.08752, allocations: 154.6 kB / 468.8 MB, free: 8.719 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.111e-05/0.08757, allocations: 150.6 kB / 469 MB, free: 8.57 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.924e-05/0.08763, allocations: 150.6 kB / 469.1 MB, free: 8.422 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00026/0.08789, allocations: 465.9 kB / 469.6 MB, free: 7.918 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.478e-05/0.08797, allocations: 177.1 kB / 469.7 MB, free: 7.734 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.027e-05/0.08801, allocations: 80.14 kB / 469.8 MB, free: 7.652 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.781e-05/0.08804, allocations: 75.28 kB / 469.9 MB, free: 7.578 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.302e-05/0.08809, allocations: 113.8 kB / 470 MB, free: 7.457 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.0881, allocations: 0 / 470 MB, free: 7.457 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 7.147e-05/0.08817, allocations: 33.61 kB / 470 MB, free: 7.418 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.04e-05/0.08823, allocations: 126.7 kB / 470.2 MB, free: 7.281 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001642/0.0884, allocations: 165 kB / 470.3 MB, free: 7.109 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/0.08842, allocations: 29.64 kB / 470.3 MB, free: 7.074 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.74e-05/0.08847, allocations: 108.1 kB / 470.4 MB, free: 6.965 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.413e-06/0.08848, allocations: 0 / 470.4 MB, free: 6.965 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.003e-05/0.0885, allocations: 9.719 kB / 470.5 MB, free: 6.949 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.714e-05/0.08861, allocations: 326.8 kB / 470.8 MB, free: 6.621 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.127e-06/0.08862, allocations: 0 / 470.8 MB, free: 6.621 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.385e-06/0.08862, allocations: 0 / 470.8 MB, free: 6.621 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.655e-05/0.08865, allocations: 75.28 kB / 470.9 MB, free: 6.547 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.961e-05/0.08868, allocations: 75.28 kB / 470.9 MB, free: 6.473 MB / 302.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.396e-05/0.08875, allocations: 37.61 kB / 471 MB, free: 6.43 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.621e-05/0.08879, allocations: 83.22 kB / 471 MB, free: 6.348 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.664e-05/0.08882, allocations: 87.16 kB / 471.1 MB, free: 6.262 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.592e-05/0.08888, allocations: 158.6 kB / 471.3 MB, free: 6.105 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.433e-05/0.08891, allocations: 79.28 kB / 471.4 MB, free: 6.027 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.595e-05/0.08897, allocations: 158.5 kB / 471.5 MB, free: 5.871 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.493e-05/0.08905, allocations: 79.22 kB / 471.6 MB, free: 5.793 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.32e-05/0.08907, allocations: 79.22 kB / 471.7 MB, free: 5.715 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.0001166/0.0892, allocations: 284.3 kB / 471.9 MB, free: 5.426 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.231e-05/0.08926, allocations: 116.7 kB / 472.1 MB, free: 5.305 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.542e-05/0.08931, allocations: 121.5 kB / 472.2 MB, free: 5.18 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.293e-05/0.08937, allocations: 180.3 kB / 472.4 MB, free: 4.996 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.406e-05/0.08943, allocations: 176.3 kB / 472.5 MB, free: 4.816 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.545e-05/0.08949, allocations: 184.2 kB / 472.7 MB, free: 4.629 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000217/0.08971, allocations: 421.2 kB / 473.1 MB, free: 4.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.154e-05/0.08975, allocations: 104.9 kB / 473.2 MB, free: 4.051 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.031e-05/0.08979, allocations: 101 kB / 473.3 MB, free: 3.945 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.065e-05/0.08985, allocations: 188.2 kB / 473.5 MB, free: 3.754 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.933e-05/0.08991, allocations: 184.2 kB / 473.7 MB, free: 3.566 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.132e-05/0.08997, allocations: 180.3 kB / 473.9 MB, free: 3.383 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.508e-05/0.09003, allocations: 188.2 kB / 474 MB, free: 3.191 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001093/0.09015, allocations: 303.7 kB / 474.3 MB, free: 2.871 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.205e-05/0.09022, allocations: 197.9 kB / 474.5 MB, free: 2.652 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.333e-05/0.09029, allocations: 180.3 kB / 474.7 MB, free: 2.469 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.264e-05/0.09037, allocations: 108.9 kB / 474.8 MB, free: 2.355 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.951e-05/0.09044, allocations: 180.7 kB / 475 MB, free: 2.172 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.041e-05/0.09047, allocations: 105 kB / 475.1 MB, free: 2.062 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.171e-05/0.09057, allocations: 132.9 kB / 475.2 MB, free: 1.934 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.643e-06/0.09058, allocations: 0 / 475.2 MB, free: 1.934 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002653/0.09085, allocations: 7.938 kB / 475.2 MB, free: 1.926 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.0001167/0.09097, allocations: 174.5 kB / 475.4 MB, free: 1.742 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 3.534e-05/0.09101, allocations: 0 / 475.4 MB, free: 1.742 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.09102, allocations: 4 kB / 475.4 MB, free: 1.738 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.384e-06/0.09102, allocations: 3.984 kB / 475.4 MB, free: 1.734 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004462/0.09148, allocations: 463.7 kB / 475.9 MB, free: 1.277 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00033/0.09182, allocations: 278.5 kB / 476.1 MB, free: 0.9727 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002325/0.09206, allocations: 0.6963 MB / 476.8 MB, free: 256 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.065e-05/0.09209, allocations: 11.44 kB / 476.8 MB, free: 244 kB / 302.1 MB Notification: Performance of SimCode: time 2.71e-07/0.0921, allocations: 11.88 kB / 476.9 MB, free: 232 kB / 302.1 MB Notification: Performance of Templates: time 0.002198/0.0943, allocations: 0.8456 MB / 477.7 MB, free: 15.38 MB / 318.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)