Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Thermal.TestLongRod.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package HanserModelica with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(HanserModelica.Thermal.TestLongRod,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Thermal.TestLongRod") translateModel(HanserModelica.Thermal.TestLongRod,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Thermal.TestLongRod") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008859/0.0008908, allocations: 174.7 kB / 16.12 MB, free: 5.699 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo): time 0.03899/0.03899, allocations: 8.775 MB / 25.64 MB, free: 3.73 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.561/1.561, allocations: 205.4 MB / 233.9 MB, free: 12.48 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008222/0.0008222, allocations: 101.1 kB / 284.4 MB, free: 14.34 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004524/0.0004526, allocations: 12 kB / 344.8 MB, free: 1.867 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3723/0.3728, allocations: 49.7 MB / 394.5 MB, free: 36.77 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1419/0.5147, allocations: 77.57 MB / 472.1 MB, free: 7.094 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003454/0.5152, allocations: 67.97 kB / 472.1 MB, free: 7.027 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01991/0.5351, allocations: 5.374 MB / 477.5 MB, free: 1.645 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.5351, allocations: 0 / 477.5 MB, free: 1.645 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.092e-05/0.5352, allocations: 8 kB / 477.5 MB, free: 1.637 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001572/0.5368, allocations: 0.5733 MB / 478.1 MB, free: 1.012 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.593e-05/0.5368, allocations: 8.031 kB / 478.1 MB, free: 1.004 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001783/0.537, allocations: 40.47 kB / 478.1 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007738/0.5378, allocations: 320.8 kB / 478.5 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.35e-05/0.5379, allocations: 25.03 kB / 478.5 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000113/0.538, allocations: 28.38 kB / 478.5 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001061/0.5391, allocations: 374.5 kB / 478.9 MB, free: 196 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.719e-05/0.5391, allocations: 4.094 kB / 478.9 MB, free: 192 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.405e-05/0.5392, allocations: 15.94 kB / 478.9 MB, free: 176 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.726e-05/0.5393, allocations: 12.59 kB / 478.9 MB, free: 160 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001041/0.5403, allocations: 346.4 kB / 479.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002852/0.5432, allocations: 1.425 MB / 480.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001051/0.5442, allocations: 393 kB / 481 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004505/0.5447, allocations: 193.4 kB / 481.2 MB, free: 13.69 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.43e-05/0.5448, allocations: 4 kB / 481.2 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.5448, allocations: 30.56 kB / 481.3 MB, free: 13.64 MB / 362.7 MB Notification: Performance of pre-optimization done (n=23): time 3.276e-06/0.5448, allocations: 0 / 481.3 MB, free: 13.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=23): time 0.002463/0.5473, allocations: 0.8591 MB / 482.1 MB, free: 12.71 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.458e-05/0.5474, allocations: 63.34 kB / 482.2 MB, free: 12.64 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003752/0.5478, allocations: 219.4 kB / 482.4 MB, free: 12.41 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.31e-05/0.5478, allocations: 29.7 kB / 482.4 MB, free: 12.38 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000154/0.548, allocations: 172.3 kB / 482.6 MB, free: 12.2 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001249/0.5481, allocations: 82.75 kB / 482.7 MB, free: 12.12 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.718e-05/0.5482, allocations: 4 kB / 482.7 MB, free: 12.12 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001854/0.5484, allocations: 330.8 kB / 483 MB, free: 11.79 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003143/0.5487, allocations: 111.9 kB / 483.1 MB, free: 11.68 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003051/0.549, allocations: 127.8 kB / 483.2 MB, free: 11.55 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006507/0.5497, allocations: 276.6 kB / 483.5 MB, free: 11.28 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.5497, allocations: 3.938 kB / 483.5 MB, free: 11.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001134/0.5508, allocations: 431.6 kB / 483.9 MB, free: 10.84 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.731e-05/0.5509, allocations: 4 kB / 483.9 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.5509, allocations: 4 kB / 483.9 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006356/0.5515, allocations: 134.5 kB / 484.1 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002567/0.5518, allocations: 43.91 kB / 484.1 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005944/0.5578, allocations: 4.712 MB / 488.8 MB, free: 5.527 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003153/0.5581, allocations: 35.88 kB / 488.9 MB, free: 5.492 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.535e-05/0.5582, allocations: 4 kB / 488.9 MB, free: 5.488 MB / 362.7 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 (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004113/0.5586, allocations: 210.3 kB / 489.1 MB, free: 5.273 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001054/0.5587, allocations: 15.81 kB / 489.1 MB, free: 5.258 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.693e-05/0.5588, allocations: 29.88 kB / 489.1 MB, free: 5.234 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.5588, allocations: 4 kB / 489.1 MB, free: 5.23 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.111e-05/0.5589, allocations: 4 kB / 489.1 MB, free: 5.227 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.256e-06/0.5589, allocations: 3.984 kB / 489.1 MB, free: 5.223 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008559/0.5597, allocations: 421.2 kB / 489.5 MB, free: 4.762 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.5598, allocations: 3.938 kB / 489.6 MB, free: 4.758 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000307/0.5601, allocations: 39.97 kB / 489.6 MB, free: 4.719 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00047/0.5606, allocations: 138.5 kB / 489.7 MB, free: 4.574 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.606e-05/0.5606, allocations: 8 kB / 489.7 MB, free: 4.566 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005604/0.5662, allocations: 4.696 MB / 494.4 MB, free: 15.47 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.5663, allocations: 0 / 494.4 MB, free: 15.47 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001622/0.5679, allocations: 0.6732 MB / 495.1 MB, free: 14.77 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001738/0.5681, allocations: 104.8 kB / 495.2 MB, free: 14.65 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.346e-05/0.5682, allocations: 4 kB / 495.2 MB, free: 14.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003048/0.5685, allocations: 23.97 kB / 495.2 MB, free: 14.62 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001106/0.5686, allocations: 23.91 kB / 495.3 MB, free: 14.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.107e-05/0.5687, allocations: 4 kB / 495.3 MB, free: 14.59 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002721/0.569, allocations: 169.1 kB / 495.4 MB, free: 14.43 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.569, allocations: 0 / 495.4 MB, free: 14.43 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001052/0.57, allocations: 107.7 kB / 495.5 MB, free: 14.32 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (longRod.shortRod[1].heatCapacitor.T,longRod.shortRod[2].heatCapacitor.T,longRod.shortRod[3].heatCapacitor.T) * 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 (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002066/0.5703, allocations: 103.2 kB / 495.6 MB, free: 14.21 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001544/0.5718, allocations: 0.6558 MB / 496.3 MB, free: 13.52 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/0.5718, allocations: 0 / 496.3 MB, free: 13.52 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009421/0.5728, allocations: 0.5272 MB / 496.8 MB, free: 12.95 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006609/0.5735, allocations: 51.86 kB / 496.9 MB, free: 12.9 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002476/0.576, allocations: 0.9966 MB / 497.9 MB, free: 11.88 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007165/0.5767, allocations: 0.8494 MB / 498.7 MB, free: 11.01 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002449/0.577, allocations: 49.91 kB / 498.8 MB, free: 10.96 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.183e-05/0.577, allocations: 15.44 kB / 498.8 MB, free: 10.95 MB / 378.7 MB Notification: Performance of SimCode: time 5.01e-07/0.577, allocations: 4 kB / 498.8 MB, free: 10.94 MB / 378.7 MB Notification: Performance of Templates: time 0.01306/0.5901, allocations: 3.956 MB / 0.491 GB, free: 6.984 MB / 378.7 MB make -j1 -f HanserModelica_HanserModelica.Thermal.TestLongRod.makefile (rm -f HanserModelica_HanserModelica.Thermal.TestLongRod.pipe ; mkfifo HanserModelica_HanserModelica.Thermal.TestLongRod.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Thermal.TestLongRod.pipe >> ../files/HanserModelica_HanserModelica.Thermal.TestLongRod.sim & ./HanserModelica_HanserModelica.Thermal.TestLongRod -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Thermal.TestLongRod.pipe 2>&1)