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.001201/0.001201, allocations: 171.6 kB / 7.641 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04224/0.04224, allocations: 8.713 MB / 16.79 MB, free: 3.375 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.505/1.505, allocations: 221.5 MB / 240.9 MB, free: 13.16 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.001192/0.001192, allocations: 93.12 kB / 293.8 MB, free: 7.234 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.519e-05/2.522e-05, allocations: 8 kB / 352.6 MB, free: 1.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1406, allocations: 52.54 MB / 405.2 MB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3586/0.4992, allocations: 77.63 MB / 482.8 MB, free: 9.691 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002159/0.4995, allocations: 64.5 kB / 482.9 MB, free: 9.66 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01043/0.5099, allocations: 5.132 MB / 488 MB, free: 5.281 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.51, allocations: 0 / 488 MB, free: 5.281 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.239e-05/0.51, allocations: 7.938 kB / 488 MB, free: 5.273 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.0005855/0.5106, allocations: 0.5486 MB / 488.6 MB, free: 4.688 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.5106, allocations: 15.98 kB / 488.6 MB, free: 4.672 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.81e-05/0.5107, allocations: 33.77 kB / 488.6 MB, free: 4.641 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003646/0.5111, allocations: 317.1 kB / 488.9 MB, free: 4.293 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.5111, allocations: 12 kB / 488.9 MB, free: 4.281 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.712e-05/0.5112, allocations: 20 kB / 488.9 MB, free: 4.262 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004259/0.5116, allocations: 313.4 kB / 489.3 MB, free: 3.957 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004185/0.512, allocations: 314.1 kB / 489.6 MB, free: 3.648 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/0.512, allocations: 0 / 489.6 MB, free: 3.648 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.603e-05/0.5121, allocations: 1.641 kB / 489.6 MB, free: 3.648 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.194e-05/0.5121, allocations: 16.77 kB / 489.6 MB, free: 3.633 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00124/0.5133, allocations: 1.352 MB / 490.9 MB, free: 2.176 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004788/0.5138, allocations: 351.9 kB / 491.3 MB, free: 1.824 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001755/0.514, allocations: 177.3 kB / 491.4 MB, free: 1.648 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.736e-05/0.514, allocations: 4 kB / 491.4 MB, free: 1.645 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.565e-05/0.5141, allocations: 38.56 kB / 491.5 MB, free: 1.598 MB / 346.7 MB Notification: Performance of pre-optimization done (n=23): time 1.192e-06/0.5141, allocations: 0 / 491.5 MB, free: 1.598 MB / 346.7 MB Notification: Performance of matching and sorting (n=23): time 0.0005783/0.5147, allocations: 362.6 kB / 491.8 MB, free: 1.23 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.888e-05/0.5147, allocations: 55.41 kB / 491.9 MB, free: 1.164 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/0.5148, allocations: 182.8 kB / 492.1 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.5149, allocations: 25.7 kB / 492.1 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.231e-05/0.5149, allocations: 176.5 kB / 492.3 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.997e-05/0.515, allocations: 78.86 kB / 492.3 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.02e-05/0.515, allocations: 0 / 492.3 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.297e-05/0.515, allocations: 339.5 kB / 492.7 MB, free: 364 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001126/0.5152, allocations: 104 kB / 492.8 MB, free: 260 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001103/0.5153, allocations: 107.9 kB / 492.9 MB, free: 152 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001335/0.5154, allocations: 127.9 kB / 493 MB, free: 24 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.5154, allocations: 8 kB / 493 MB, free: 16 kB / 346.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000611/0.516, allocations: 397.4 kB / 493.4 MB, free: 15.61 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.5161, allocations: 5.875 kB / 493.4 MB, free: 15.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.5161, allocations: 0 / 493.4 MB, free: 15.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003669/0.5165, allocations: 135.9 kB / 493.5 MB, free: 15.47 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000163/0.5166, allocations: 43.97 kB / 493.6 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003359/0.52, allocations: 4.516 MB / 498.1 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001548/0.5202, allocations: 31.97 kB / 498.1 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.487e-05/0.5202, allocations: 4 kB / 498.1 MB, free: 10.54 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 () * 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 8.834e-05/0.5203, allocations: 107.5 kB / 498.2 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.22e-05/0.5203, allocations: 20.56 kB / 498.3 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.779e-05/0.5204, allocations: 37.83 kB / 498.3 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.5204, allocations: 3.953 kB / 498.3 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.5204, allocations: 4 kB / 498.3 MB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.5204, allocations: 0 / 498.3 MB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000399/0.5208, allocations: 362.8 kB / 498.7 MB, free: 9.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.5209, allocations: 4 kB / 498.7 MB, free: 9.977 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001941/0.5211, allocations: 35.97 kB / 498.7 MB, free: 9.941 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002886/0.5214, allocations: 133.6 kB / 498.8 MB, free: 9.805 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.983e-05/0.5214, allocations: 7.984 kB / 498.8 MB, free: 9.797 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003204/0.5246, allocations: 4.514 MB / 0.4916 GB, free: 4.945 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.5246, allocations: 128 / 0.4916 GB, free: 4.945 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008214/0.5254, allocations: 0.6372 MB / 0.4922 GB, free: 4.289 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.5e-05/0.5255, allocations: 100.8 kB / 0.4923 GB, free: 4.172 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.576e-05/0.5256, allocations: 0 / 0.4923 GB, free: 4.172 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001624/0.5257, allocations: 24.91 kB / 0.4923 GB, free: 4.148 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.525e-05/0.5258, allocations: 19.97 kB / 0.4923 GB, free: 4.129 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.238e-05/0.5258, allocations: 8 kB / 0.4923 GB, free: 4.121 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001129/0.5259, allocations: 139.2 kB / 0.4925 GB, free: 3.984 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5259, allocations: 0 / 0.4925 GB, free: 3.984 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005706/0.5265, allocations: 107.7 kB / 0.4926 GB, free: 3.879 MB / 362.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.0001288/0.5266, allocations: 104.7 kB / 0.4927 GB, free: 3.77 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007544/0.5274, allocations: 0.6103 MB / 0.4933 GB, free: 3.129 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.5274, allocations: 0 / 0.4933 GB, free: 3.129 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004914/0.5279, allocations: 0.4893 MB / 0.4937 GB, free: 2.609 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002687/0.5282, allocations: 28.92 kB / 0.4938 GB, free: 2.582 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/0.5293, allocations: 0.6851 MB / 0.4944 GB, free: 1.883 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004136/0.5297, allocations: 0.8539 MB / 0.4953 GB, free: 0.9961 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001233/0.5298, allocations: 54.02 kB / 0.4953 GB, free: 0.9453 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.74e-05/0.5299, allocations: 19.44 kB / 0.4953 GB, free: 0.9297 MB / 362.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5299, allocations: 0 / 0.4953 GB, free: 0.9297 MB / 362.7 MB Notification: Performance of Templates: time 0.006386/0.5363, allocations: 3.428 MB / 0.4987 GB, free: 13.62 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)