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.000898/0.0008981, allocations: 99.16 kB / 15.05 MB, free: 1.105 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.362/1.362, allocations: 223.2 MB / 239 MB, free: 5.492 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.00108/0.00108, allocations: 193 kB / 290.2 MB, free: 2.18 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03339/0.03339, allocations: 8.801 MB / 350.1 MB, free: 4.723 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003741/0.000374, allocations: 16.5 kB / 413.1 MB, free: 43.09 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09903/0.09942, allocations: 52.55 MB / 465.6 MB, free: 13.58 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.TestLongRod): time 0.002035/0.1015, allocations: 1.582 MB / 467.2 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003247/0.1018, allocations: 171.5 kB / 467.4 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.804e-05/0.1019, allocations: 4 kB / 467.4 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001129/0.102, allocations: 15.91 kB / 467.4 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001502/0.1022, allocations: 63.78 kB / 467.5 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001176/0.1023, allocations: 27.98 kB / 467.5 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003256/0.1027, allocations: 303.3 kB / 467.8 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002978/0.103, allocations: 196.7 kB / 468 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001138/0.1031, allocations: 115.6 kB / 468.1 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001651/0.1033, allocations: 139.4 kB / 468.2 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.26e-05/0.1033, allocations: 16 kB / 468.3 MB, free: 10.94 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.068e-05/0.1034, allocations: 20 kB / 468.3 MB, free: 10.92 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.805e-05/0.1034, allocations: 59.77 kB / 468.3 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.713e-05/0.1035, allocations: 97.52 kB / 468.4 MB, free: 10.76 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003649/0.1039, allocations: 451.1 kB / 468.9 MB, free: 10.32 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.1039, allocations: 4 kB / 468.9 MB, free: 10.32 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1039, allocations: 0 / 468.9 MB, free: 10.32 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.948e-06/0.1039, allocations: 0 / 468.9 MB, free: 10.32 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.0009759/0.1049, allocations: 0.5925 MB / 469.5 MB, free: 9.676 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.479e-05/0.1049, allocations: 8.031 kB / 469.5 MB, free: 9.668 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.011e-05/0.105, allocations: 39.58 kB / 469.5 MB, free: 9.629 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003683/0.1054, allocations: 298.5 kB / 469.8 MB, free: 9.297 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.227e-05/0.1054, allocations: 20.66 kB / 469.8 MB, free: 9.277 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.38e-05/0.1055, allocations: 32 kB / 469.9 MB, free: 9.246 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000608/0.1061, allocations: 382 kB / 470.2 MB, free: 8.863 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.649e-05/0.1061, allocations: 4 kB / 470.2 MB, free: 8.859 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.272e-05/0.1062, allocations: 15.98 kB / 470.2 MB, free: 8.844 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.86e-05/0.1062, allocations: 20.62 kB / 470.3 MB, free: 8.824 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005833/0.1068, allocations: 370.3 kB / 470.6 MB, free: 8.465 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001641/0.1084, allocations: 1.421 MB / 472.1 MB, free: 6.918 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00064/0.1091, allocations: 382.4 kB / 472.4 MB, free: 6.535 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.641e-05/0.1091, allocations: 4 kB / 472.4 MB, free: 6.531 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/0.1092, allocations: 42.5 kB / 472.5 MB, free: 6.48 MB / 302.1 MB Notification: Performance of pre-optimization done (n=23): time 1.573e-06/0.1092, allocations: 0 / 472.5 MB, free: 6.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=23): time 0.001531/0.1107, allocations: 0.8652 MB / 473.3 MB, free: 5.547 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.564e-05/0.1108, allocations: 51.41 kB / 473.4 MB, free: 5.484 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002113/0.111, allocations: 215.5 kB / 473.6 MB, free: 5.262 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.111, allocations: 29.7 kB / 473.6 MB, free: 5.227 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.1111, allocations: 168.3 kB / 473.8 MB, free: 5.055 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.125e-05/0.1112, allocations: 83.22 kB / 473.9 MB, free: 4.973 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.065e-05/0.1112, allocations: 4 kB / 473.9 MB, free: 4.969 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.1113, allocations: 330.8 kB / 474.2 MB, free: 4.637 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001871/0.1115, allocations: 123.9 kB / 474.3 MB, free: 4.516 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000168/0.1117, allocations: 120.7 kB / 474.4 MB, free: 4.398 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000206/0.1119, allocations: 144.3 kB / 474.6 MB, free: 4.258 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1119, allocations: 0 / 474.6 MB, free: 4.258 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006791/0.1126, allocations: 443.5 kB / 475 MB, free: 3.809 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.1126, allocations: 4 kB / 475 MB, free: 3.805 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.1126, allocations: 0 / 475 MB, free: 3.805 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004045/0.1131, allocations: 142.4 kB / 475.2 MB, free: 3.656 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001659/0.1132, allocations: 39.97 kB / 475.2 MB, free: 3.617 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004074/0.1173, allocations: 4.728 MB / 479.9 MB, free: 14.49 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001987/0.1175, allocations: 47.75 kB / 480 MB, free: 14.44 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.74e-05/0.1176, allocations: 8 kB / 480 MB, free: 14.43 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 (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.000227/0.1178, allocations: 193.8 kB / 480.2 MB, free: 14.23 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.437e-05/0.1179, allocations: 15.81 kB / 480.2 MB, free: 14.22 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.127e-05/0.1179, allocations: 33.86 kB / 480.2 MB, free: 14.19 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.1179, allocations: 8 kB / 480.2 MB, free: 14.18 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.206e-05/0.118, allocations: 11.89 kB / 480.2 MB, free: 14.17 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.118, allocations: 0 / 480.2 MB, free: 14.17 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004856/0.1185, allocations: 421.2 kB / 480.6 MB, free: 13.71 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.1185, allocations: 0 / 480.6 MB, free: 13.71 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001949/0.1187, allocations: 43.97 kB / 480.7 MB, free: 13.66 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002986/0.119, allocations: 138.4 kB / 480.8 MB, free: 13.52 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.927e-05/0.119, allocations: 4 kB / 480.8 MB, free: 13.52 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003679/0.1227, allocations: 4.747 MB / 485.6 MB, free: 8.363 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1227, allocations: 0 / 485.6 MB, free: 8.363 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009533/0.1237, allocations: 0.6714 MB / 486.2 MB, free: 7.668 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.979e-05/0.1238, allocations: 96.89 kB / 486.3 MB, free: 7.555 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.879e-05/0.1238, allocations: 12 kB / 486.3 MB, free: 7.543 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001571/0.124, allocations: 27.88 kB / 486.4 MB, free: 7.516 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.662e-05/0.124, allocations: 15.98 kB / 486.4 MB, free: 7.5 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.233e-05/0.124, allocations: 4 kB / 486.4 MB, free: 7.496 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001448/0.1242, allocations: 165.2 kB / 486.6 MB, free: 7.336 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1242, allocations: 0 / 486.6 MB, free: 7.336 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005632/0.1248, allocations: 103.8 kB / 486.7 MB, free: 7.234 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 (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.0001585/0.1249, allocations: 107.2 kB / 486.8 MB, free: 7.117 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008755/0.1258, allocations: 0.6443 MB / 487.4 MB, free: 6.434 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1258, allocations: 0 / 487.4 MB, free: 6.434 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005797/0.1264, allocations: 0.5194 MB / 487.9 MB, free: 5.875 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002908/0.1267, allocations: 56.05 kB / 488 MB, free: 5.816 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001415/0.1281, allocations: 1.001 MB / 489 MB, free: 4.801 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000465/0.1286, allocations: 0.8611 MB / 489.8 MB, free: 3.914 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001346/0.1288, allocations: 49.84 kB / 489.9 MB, free: 3.863 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.643e-05/0.1288, allocations: 23.44 kB / 489.9 MB, free: 3.84 MB / 318.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1288, allocations: 0 / 489.9 MB, free: 3.84 MB / 318.1 MB Notification: Performance of Templates: time 0.007721/0.1366, allocations: 3.921 MB / 493.8 MB, free: 15.95 MB / 334.1 MB make -j1 -f HanserModelica_HanserModelica.Thermal.TestLongRod.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: