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.000885/0.0008851, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.277/1.277, allocations: 223.3 MB / 240 MB, free: 5.25 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.0009149/0.000915, allocations: 191.6 kB / 291.3 MB, free: 1.91 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03444/0.03444, allocations: 8.804 MB / 351.2 MB, free: 4.562 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003284/0.0003284, allocations: 12.41 kB / 414.5 MB, free: 42.66 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06512/0.06546, allocations: 52.55 MB / 467 MB, free: 13.14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestSingleLayer12over12): time 0.001086/0.06658, allocations: 0.9704 MB / 468 MB, free: 12.15 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00158/0.06818, allocations: 1.149 MB / 469.1 MB, free: 11 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.011e-05/0.06821, allocations: 0 / 469.1 MB, free: 11 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003306/0.06855, allocations: 71.7 kB / 469.2 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007553/0.06932, allocations: 357.3 kB / 469.6 MB, free: 10.58 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.976e-06/0.06933, allocations: 0 / 469.6 MB, free: 10.58 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001293/0.07063, allocations: 0.9677 MB / 470.5 MB, free: 9.609 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.431e-05/0.07068, allocations: 11.94 kB / 470.5 MB, free: 9.598 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.684e-05/0.0707, allocations: 7.938 kB / 470.6 MB, free: 9.59 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.025e-05/0.07075, allocations: 19.86 kB / 470.6 MB, free: 9.57 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.765e-06/0.07076, allocations: 0 / 470.6 MB, free: 9.57 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001151/0.07088, allocations: 43.97 kB / 470.6 MB, free: 9.527 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.618e-05/0.07094, allocations: 15.92 kB / 470.6 MB, free: 9.512 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.74e-05/0.07098, allocations: 53.5 kB / 470.7 MB, free: 9.453 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001077/0.0711, allocations: 47.88 kB / 470.7 MB, free: 9.406 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.07111, allocations: 0 / 470.7 MB, free: 9.406 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.07111, allocations: 0 / 470.7 MB, free: 9.406 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.216e-06/0.07112, allocations: 4 kB / 470.7 MB, free: 9.402 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.0002819/0.07141, allocations: 379.1 kB / 471.1 MB, free: 8.984 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.07e-05/0.07145, allocations: 11.97 kB / 471.1 MB, free: 8.973 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003307/0.07178, allocations: 108.1 kB / 471.2 MB, free: 8.867 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003663/0.07216, allocations: 352 kB / 471.6 MB, free: 8.48 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.143e-05/0.07221, allocations: 154.9 kB / 471.7 MB, free: 8.328 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.859e-05/0.07226, allocations: 150.9 kB / 471.9 MB, free: 8.18 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.066e-05/0.07232, allocations: 117.2 kB / 472 MB, free: 8.059 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.156e-05/0.07234, allocations: 75.28 kB / 472.1 MB, free: 7.984 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.768e-05/0.07239, allocations: 150.6 kB / 472.2 MB, free: 7.836 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.734e-05/0.07243, allocations: 154.6 kB / 472.4 MB, free: 7.684 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.115e-05/0.07247, allocations: 158.5 kB / 472.5 MB, free: 7.527 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002274/0.07271, allocations: 457.9 kB / 473 MB, free: 7.031 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.388e-05/0.07278, allocations: 177.1 kB / 473.1 MB, free: 6.848 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.429e-05/0.07281, allocations: 84.14 kB / 473.2 MB, free: 6.762 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.199e-05/0.07284, allocations: 79.28 kB / 473.3 MB, free: 6.684 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.605e-05/0.07288, allocations: 109.8 kB / 473.4 MB, free: 6.566 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.07288, allocations: 0 / 473.4 MB, free: 6.566 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 6.491e-05/0.07295, allocations: 37.59 kB / 473.4 MB, free: 6.523 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.501e-05/0.073, allocations: 130.6 kB / 473.6 MB, free: 6.383 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001439/0.07315, allocations: 168.5 kB / 473.7 MB, free: 6.207 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.507e-06/0.07317, allocations: 29.7 kB / 473.8 MB, free: 6.172 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.537e-05/0.07322, allocations: 100.1 kB / 473.8 MB, free: 6.07 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.304e-06/0.07323, allocations: 3.984 kB / 473.9 MB, free: 6.066 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.791e-05/0.07325, allocations: 13.72 kB / 473.9 MB, free: 6.047 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.426e-05/0.07334, allocations: 318.8 kB / 474.2 MB, free: 5.727 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.474e-06/0.07335, allocations: 0 / 474.2 MB, free: 5.727 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.054e-06/0.07336, allocations: 0 / 474.2 MB, free: 5.727 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.191e-05/0.07339, allocations: 79.28 kB / 474.3 MB, free: 5.648 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.929e-05/0.07341, allocations: 79.28 kB / 474.3 MB, free: 5.57 MB / 302.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.478e-05/0.07347, allocations: 37.61 kB / 474.4 MB, free: 5.527 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.713e-05/0.0735, allocations: 83.22 kB / 474.4 MB, free: 5.445 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.817e-05/0.07354, allocations: 83.22 kB / 474.5 MB, free: 5.363 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.261e-05/0.07358, allocations: 154.5 kB / 474.7 MB, free: 5.211 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.337e-05/0.07361, allocations: 83.22 kB / 474.8 MB, free: 5.129 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.91e-05/0.07366, allocations: 150.6 kB / 474.9 MB, free: 4.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.442e-05/0.07373, allocations: 83.28 kB / 475 MB, free: 4.898 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.004e-05/0.07375, allocations: 79.22 kB / 475.1 MB, free: 4.82 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.0001001/0.07386, allocations: 280.3 kB / 475.3 MB, free: 4.535 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.561e-05/0.07392, allocations: 112.8 kB / 475.5 MB, free: 4.418 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.35e-05/0.07397, allocations: 121.5 kB / 475.6 MB, free: 4.293 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.412e-05/0.07402, allocations: 180.3 kB / 475.7 MB, free: 4.109 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.182e-05/0.07408, allocations: 180.3 kB / 475.9 MB, free: 3.926 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.752e-05/0.07413, allocations: 184.2 kB / 476.1 MB, free: 3.738 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001903/0.07433, allocations: 421.1 kB / 476.5 MB, free: 3.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.78e-05/0.07436, allocations: 112.9 kB / 476.6 MB, free: 3.152 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.785e-05/0.07439, allocations: 101 kB / 476.7 MB, free: 3.047 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.816e-05/0.07445, allocations: 188.2 kB / 476.9 MB, free: 2.855 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.597e-05/0.0745, allocations: 180.2 kB / 477.1 MB, free: 2.672 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.425e-05/0.07455, allocations: 180.3 kB / 477.3 MB, free: 2.488 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.24e-05/0.0746, allocations: 180.2 kB / 477.4 MB, free: 2.305 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001059/0.07471, allocations: 323.6 kB / 477.8 MB, free: 1.965 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.8e-05/0.07478, allocations: 185.9 kB / 477.9 MB, free: 1.758 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.502e-05/0.07484, allocations: 180.3 kB / 478.1 MB, free: 1.574 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.707e-05/0.07491, allocations: 104.9 kB / 478.2 MB, free: 1.465 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.083e-05/0.07497, allocations: 184.2 kB / 478.4 MB, free: 1.277 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.584e-05/0.075, allocations: 104.9 kB / 478.5 MB, free: 1.168 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.265e-05/0.07509, allocations: 128 kB / 478.6 MB, free: 1.043 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.07509, allocations: 0 / 478.6 MB, free: 1.043 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002502/0.07535, allocations: 4 kB / 478.6 MB, free: 1.039 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.0001018/0.07545, allocations: 174.5 kB / 478.8 MB, free: 0.8555 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 2.73e-05/0.07549, allocations: 4.484 kB / 478.8 MB, free: 0.8516 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.0755, allocations: 0 / 478.8 MB, free: 0.8516 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.263e-06/0.0755, allocations: 0 / 478.8 MB, free: 0.8516 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004231/0.07593, allocations: 0.5302 MB / 479.3 MB, free: 324 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002835/0.07623, allocations: 293.7 kB / 479.6 MB, free: 0 / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002105/0.07645, allocations: 0.6965 MB / 480.3 MB, free: 15.28 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.478e-05/0.07647, allocations: 11.44 kB / 480.3 MB, free: 15.27 MB / 318.1 MB Notification: Performance of SimCode: time 6.41e-07/0.07648, allocations: 0 / 480.3 MB, free: 15.27 MB / 318.1 MB Notification: Performance of Templates: time 0.001961/0.07844, allocations: 0.8338 MB / 481.2 MB, free: 14.43 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)