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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.38/1.38, allocations: 222.9 MB / 239 MB, free: 4.699 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.001601/0.001601, allocations: 196.4 kB / 289.3 MB, free: 2.438 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03391/0.03391, allocations: 8.788 MB / 348.2 MB, free: 4.82 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001506/0.001506, allocations: 77.14 kB / 410.6 MB, free: 42.28 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09828/0.09981, allocations: 51.57 MB / 462.1 MB, free: 14.74 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.TestLongRod): time 0.003738/0.1036, allocations: 2.062 MB / 464.2 MB, free: 12.65 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004792/0.1041, allocations: 159.4 kB / 464.4 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001579/0.1043, allocations: 0 / 464.4 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001784/0.1045, allocations: 19.84 kB / 464.4 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002414/0.1047, allocations: 67.58 kB / 464.4 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001668/0.1049, allocations: 31.98 kB / 464.5 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005162/0.1054, allocations: 497.9 kB / 465 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004201/0.1059, allocations: 289.7 kB / 465.2 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002521/0.1061, allocations: 187.4 kB / 465.4 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000314/0.1065, allocations: 179.4 kB / 465.6 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.119e-05/0.1065, allocations: 48 kB / 465.6 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.635e-05/0.1066, allocations: 48 kB / 465.7 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001105/0.1067, allocations: 99.69 kB / 465.8 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002907/0.107, allocations: 215.1 kB / 466 MB, free: 10.85 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005067/0.1076, allocations: 0.5456 MB / 466.5 MB, free: 10.3 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1076, allocations: 0 / 466.5 MB, free: 10.3 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1076, allocations: 0 / 466.5 MB, free: 10.3 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.756e-05/0.1076, allocations: 0 / 466.5 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001294/0.1089, allocations: 0.6434 MB / 467.2 MB, free: 9.605 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.109, allocations: 8.031 kB / 467.2 MB, free: 9.598 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.908e-05/0.1091, allocations: 36.56 kB / 467.2 MB, free: 9.562 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003862/0.1094, allocations: 307.8 kB / 467.5 MB, free: 9.223 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.517e-05/0.1095, allocations: 21.03 kB / 467.6 MB, free: 9.203 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.376e-05/0.1096, allocations: 28.38 kB / 467.6 MB, free: 9.176 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006587/0.1102, allocations: 390.5 kB / 468 MB, free: 8.789 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.058e-05/0.1102, allocations: 4.094 kB / 468 MB, free: 8.785 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.416e-05/0.1103, allocations: 19.94 kB / 468 MB, free: 8.766 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.898e-05/0.1103, allocations: 16.66 kB / 468 MB, free: 8.746 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005937/0.1109, allocations: 358.4 kB / 468.4 MB, free: 8.398 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001717/0.1127, allocations: 1.417 MB / 469.8 MB, free: 6.855 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006683/0.1134, allocations: 388.2 kB / 470.1 MB, free: 6.469 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002787/0.1136, allocations: 192.7 kB / 470.3 MB, free: 6.277 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.316e-05/0.1137, allocations: 4 kB / 470.3 MB, free: 6.273 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.1137, allocations: 38.5 kB / 470.4 MB, free: 6.227 MB / 302.1 MB Notification: Performance of pre-optimization done (n=23): time 1.814e-06/0.1137, allocations: 0 / 470.4 MB, free: 6.227 MB / 302.1 MB Notification: Performance of matching and sorting (n=23): time 0.001703/0.1154, allocations: 0.8579 MB / 471.2 MB, free: 5.301 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.987e-05/0.1155, allocations: 59.34 kB / 471.3 MB, free: 5.23 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000221/0.1157, allocations: 219.4 kB / 471.5 MB, free: 5.004 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/0.1157, allocations: 29.7 kB / 471.5 MB, free: 4.969 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.1159, allocations: 172.3 kB / 471.7 MB, free: 4.797 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.795e-05/0.1159, allocations: 86.75 kB / 471.8 MB, free: 4.711 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.933e-05/0.116, allocations: 37.72 kB / 471.8 MB, free: 4.668 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.1161, allocations: 330.8 kB / 472.1 MB, free: 4.336 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001761/0.1163, allocations: 119.9 kB / 472.3 MB, free: 4.219 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001732/0.1165, allocations: 116.8 kB / 472.4 MB, free: 4.105 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000394/0.1169, allocations: 280.9 kB / 472.7 MB, free: 3.828 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.1169, allocations: 0 / 472.7 MB, free: 3.828 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006528/0.1176, allocations: 439.7 kB / 473.1 MB, free: 3.383 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.1176, allocations: 4 kB / 473.1 MB, free: 3.379 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.1176, allocations: 0 / 473.1 MB, free: 3.379 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003914/0.118, allocations: 142.4 kB / 473.2 MB, free: 3.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001654/0.1182, allocations: 43.91 kB / 473.3 MB, free: 3.188 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003853/0.1221, allocations: 5.156 MB / 478.4 MB, free: 13.61 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001797/0.1223, allocations: 35.84 kB / 478.5 MB, free: 13.57 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.961e-05/0.1223, allocations: 8 kB / 478.5 MB, free: 13.56 MB / 318.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 (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002164/0.1225, allocations: 205.7 kB / 478.7 MB, free: 13.35 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.37e-05/0.1226, allocations: 15.81 kB / 478.7 MB, free: 13.34 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.164e-05/0.1226, allocations: 37.8 kB / 478.7 MB, free: 13.3 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.1226, allocations: 4.188 kB / 478.7 MB, free: 13.29 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.685e-06/0.1226, allocations: 0 / 478.7 MB, free: 13.29 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.1227, allocations: 3.984 kB / 478.7 MB, free: 13.29 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004421/0.1231, allocations: 425.2 kB / 479.1 MB, free: 12.83 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.1231, allocations: 0 / 479.1 MB, free: 12.83 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001974/0.1233, allocations: 39.97 kB / 479.2 MB, free: 12.79 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002896/0.1236, allocations: 134.5 kB / 479.3 MB, free: 12.65 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.16e-05/0.1237, allocations: 11.94 kB / 479.3 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003851/0.1275, allocations: 5.16 MB / 484.5 MB, free: 7.062 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1275, allocations: 0 / 484.5 MB, free: 7.062 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009515/0.1285, allocations: 0.6614 MB / 485.1 MB, free: 6.375 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.03e-05/0.1286, allocations: 112.8 kB / 485.3 MB, free: 6.246 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.964e-05/0.1286, allocations: 4 kB / 485.3 MB, free: 6.242 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001571/0.1288, allocations: 23.97 kB / 485.3 MB, free: 6.219 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.422e-05/0.1289, allocations: 19.92 kB / 485.3 MB, free: 6.199 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.226e-05/0.1289, allocations: 4 kB / 485.3 MB, free: 6.195 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000146/0.129, allocations: 165.2 kB / 485.5 MB, free: 6.035 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1291, allocations: 4 kB / 485.5 MB, free: 6.031 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000568/0.1296, allocations: 103.7 kB / 485.6 MB, free: 5.93 MB / 318.1 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001141/0.1297, allocations: 107.1 kB / 485.7 MB, free: 5.816 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009151/0.1307, allocations: 0.6855 MB / 486.4 MB, free: 5.094 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.1307, allocations: 0 / 486.4 MB, free: 5.094 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005465/0.1312, allocations: 0.5233 MB / 486.9 MB, free: 4.531 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003746/0.1316, allocations: 51.86 kB / 486.9 MB, free: 4.48 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001372/0.133, allocations: 0.9755 MB / 487.9 MB, free: 3.48 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004274/0.1334, allocations: 0.8497 MB / 488.8 MB, free: 2.605 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001264/0.1336, allocations: 49.91 kB / 488.8 MB, free: 2.559 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.154e-05/0.1336, allocations: 15.44 kB / 488.8 MB, free: 2.543 MB / 318.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1336, allocations: 0 / 488.8 MB, free: 2.543 MB / 318.1 MB Notification: Performance of Templates: time 0.007601/0.1412, allocations: 4.27 MB / 493.1 MB, free: 14.3 MB / 334.1 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)