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 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 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) 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 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03842/0.03842, allocations: 8.699 MB / 21.96 MB, free: 3.367 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.278/1.278, allocations: 221.4 MB / 246 MB, free: 3.613 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008744/0.0008745, allocations: 93.05 kB / 299.1 MB, free: 3 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.874e-05/2.878e-05, allocations: 0 / 359.5 MB, free: 6.535 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2421/0.2421, allocations: 52.54 MB / 412.1 MB, free: 22.56 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1013/0.3435, allocations: 78.29 MB / 490.3 MB, free: 8.16 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002098/0.3438, allocations: 63.97 kB / 490.4 MB, free: 8.098 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01264/0.3564, allocations: 5.191 MB / 495.6 MB, free: 2.914 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3565, allocations: 3.938 kB / 495.6 MB, free: 2.91 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.316e-05/0.3565, allocations: 8 kB / 495.6 MB, free: 2.902 MB / 362.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.0007161/0.3572, allocations: 0.5453 MB / 496.2 MB, free: 2.312 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.3573, allocations: 16.03 kB / 496.2 MB, free: 2.297 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.015e-05/0.3573, allocations: 31.62 kB / 496.2 MB, free: 2.266 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004645/0.3578, allocations: 314.5 kB / 496.5 MB, free: 1.918 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.42e-05/0.3579, allocations: 20.78 kB / 496.5 MB, free: 1.898 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.788e-05/0.3579, allocations: 31.94 kB / 496.6 MB, free: 1.867 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000579/0.3585, allocations: 359.6 kB / 496.9 MB, free: 1.508 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.3585, allocations: 0 / 496.9 MB, free: 1.508 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.328e-05/0.3586, allocations: 16 kB / 496.9 MB, free: 1.492 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.961e-05/0.3586, allocations: 16.72 kB / 496.9 MB, free: 1.477 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005098/0.3591, allocations: 327 kB / 497.3 MB, free: 1.156 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001804/0.3609, allocations: 1.418 MB / 498.7 MB, free: 15.61 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000668/0.3616, allocations: 378.5 kB / 499.1 MB, free: 15.23 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002453/0.3619, allocations: 182.7 kB / 499.2 MB, free: 15.05 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.75e-05/0.3619, allocations: 0 / 499.2 MB, free: 15.05 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/0.3619, allocations: 38.55 kB / 499.3 MB, free: 15.01 MB / 378.7 MB Notification: Performance of pre-optimization done (n=23): time 1.483e-06/0.3619, allocations: 0 / 499.3 MB, free: 15.01 MB / 378.7 MB Notification: Performance of matching and sorting (n=23): time 0.0007298/0.3627, allocations: 395.9 kB / 499.7 MB, free: 14.61 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.877e-05/0.3627, allocations: 51.41 kB / 499.7 MB, free: 14.54 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002095/0.3629, allocations: 194.6 kB / 499.9 MB, free: 14.34 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.363, allocations: 29.7 kB / 499.9 MB, free: 14.3 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.935e-05/0.3631, allocations: 172.1 kB / 0.4884 GB, free: 14.13 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.71e-05/0.3631, allocations: 83.22 kB / 0.4884 GB, free: 14.05 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.036e-05/0.3632, allocations: 8 kB / 0.4885 GB, free: 14.04 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.3633, allocations: 338.8 kB / 0.4888 GB, free: 13.7 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001541/0.3634, allocations: 104 kB / 0.4889 GB, free: 13.6 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000145/0.3636, allocations: 113 kB / 0.489 GB, free: 13.49 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001843/0.3638, allocations: 144.2 kB / 0.4891 GB, free: 13.35 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3638, allocations: 0 / 0.4891 GB, free: 13.35 MB / 378.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006969/0.3645, allocations: 427.5 kB / 0.4895 GB, free: 12.92 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.3645, allocations: 4 kB / 0.4895 GB, free: 12.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.3645, allocations: 0 / 0.4895 GB, free: 12.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003871/0.3649, allocations: 134.5 kB / 0.4897 GB, free: 12.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001711/0.3651, allocations: 39.97 kB / 0.4897 GB, free: 12.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003938/0.3691, allocations: 4.692 MB / 0.4943 GB, free: 7.637 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002417/0.3693, allocations: 35.84 kB / 0.4943 GB, free: 7.602 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.837e-05/0.3694, allocations: 12 kB / 0.4943 GB, free: 7.59 MB / 378.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 () * 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.0001285/0.3695, allocations: 114 kB / 0.4944 GB, free: 7.473 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.811e-05/0.3696, allocations: 27.61 kB / 0.4945 GB, free: 7.445 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.609e-05/0.3697, allocations: 29.64 kB / 0.4945 GB, free: 7.418 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.3697, allocations: 4 kB / 0.4945 GB, free: 7.414 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-05/0.3697, allocations: 7.938 kB / 0.4945 GB, free: 7.406 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.3697, allocations: 192 / 0.4945 GB, free: 7.406 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005541/0.3703, allocations: 429.2 kB / 0.4949 GB, free: 6.938 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.3703, allocations: 0 / 0.4949 GB, free: 6.938 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002029/0.3705, allocations: 39.97 kB / 0.495 GB, free: 6.898 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003108/0.3708, allocations: 138.4 kB / 0.4951 GB, free: 6.754 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.139e-05/0.3709, allocations: 4 kB / 0.4951 GB, free: 6.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003795/0.3747, allocations: 4.697 MB / 0.4997 GB, free: 1.652 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.3747, allocations: 0 / 0.4997 GB, free: 1.652 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009027/0.3756, allocations: 0.6501 MB / 0.5003 GB, free: 0.9805 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.474e-05/0.3757, allocations: 104.9 kB / 0.5004 GB, free: 0.8594 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.898e-05/0.3757, allocations: 8 kB / 0.5004 GB, free: 0.8516 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001585/0.3759, allocations: 15.98 kB / 0.5004 GB, free: 0.8359 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.279e-05/0.376, allocations: 19.92 kB / 0.5005 GB, free: 0.8164 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.324e-05/0.376, allocations: 12.28 kB / 0.5005 GB, free: 0.8047 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002097/0.3762, allocations: 164 kB / 0.5006 GB, free: 0.6445 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3762, allocations: 0 / 0.5006 GB, free: 0.6445 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005398/0.3768, allocations: 107.7 kB / 0.5007 GB, free: 0.5391 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 () * 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.0001549/0.3769, allocations: 103.2 kB / 0.5008 GB, free: 436 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.1994/0.5763, allocations: 0.6312 MB / 0.5014 GB, free: 93.11 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/0.5764, allocations: 0 / 0.5014 GB, free: 93.11 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006231/0.577, allocations: 0.5084 MB / 0.5019 GB, free: 92.78 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004051/0.5774, allocations: 45.81 kB / 0.502 GB, free: 92.78 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001243/0.5787, allocations: 0.6978 MB / 0.5027 GB, free: 92.59 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003548/0.5791, allocations: 0.8558 MB / 0.5035 GB, free: 91.89 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001728/0.5792, allocations: 55.44 kB / 0.5035 GB, free: 91.89 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.156e-05/0.5793, allocations: 17.41 kB / 0.5036 GB, free: 91.88 MB / 378.7 MB Notification: Performance of SimCode: time 1.092e-06/0.5793, allocations: 1 kB / 0.5036 GB, free: 91.88 MB / 378.7 MB Notification: Performance of Templates: time 0.007796/0.5871, allocations: 3.937 MB / 0.5074 GB, free: 91.72 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)