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.0008621/0.0008621, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.462/1.462, allocations: 223.3 MB / 239 MB, free: 5.441 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.0009552/0.0009552, allocations: 187.6 kB / 290.3 MB, free: 2.129 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03266/0.03266, allocations: 8.801 MB / 350.2 MB, free: 4.695 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004104/0.0004104, allocations: 13.47 kB / 413.2 MB, free: 42.95 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1052, allocations: 52.56 MB / 465.8 MB, free: 13.53 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.TestLongRod): time 0.00241/0.1077, allocations: 1.65 MB / 467.4 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.000371/0.1081, allocations: 159.5 kB / 467.6 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.195e-05/0.1082, allocations: 4 kB / 467.6 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001214/0.1083, allocations: 23.84 kB / 467.6 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001957/0.1085, allocations: 59.52 kB / 467.7 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001268/0.1086, allocations: 23.97 kB / 467.7 MB, free: 11.6 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004524/0.1091, allocations: 473.9 kB / 468.1 MB, free: 11.13 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003464/0.1094, allocations: 196.7 kB / 468.3 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000131/0.1096, allocations: 119.6 kB / 468.4 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002012/0.1098, allocations: 147.4 kB / 468.6 MB, free: 10.67 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.764e-05/0.1098, allocations: 20 kB / 468.6 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.932e-05/0.1099, allocations: 16 kB / 468.6 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.981e-05/0.11, allocations: 59.77 kB / 468.7 MB, free: 10.58 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.913e-05/0.1101, allocations: 101.5 kB / 468.8 MB, free: 10.47 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004363/0.1105, allocations: 447.1 kB / 469.2 MB, free: 10.04 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.1105, allocations: 0 / 469.2 MB, free: 10.04 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.1106, allocations: 0 / 469.2 MB, free: 10.04 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.1106, allocations: 4 kB / 469.2 MB, free: 10.03 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.001079/0.1117, allocations: 0.5925 MB / 469.8 MB, free: 9.391 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.1117, allocations: 8.031 kB / 469.8 MB, free: 9.383 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.957e-05/0.1118, allocations: 39.58 kB / 469.9 MB, free: 9.344 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004187/0.1122, allocations: 302.5 kB / 470.2 MB, free: 9.008 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.805e-05/0.1123, allocations: 24.59 kB / 470.2 MB, free: 8.984 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.973e-05/0.1123, allocations: 32 kB / 470.2 MB, free: 8.953 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006431/0.113, allocations: 382 kB / 470.6 MB, free: 8.57 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.849e-05/0.113, allocations: 4 kB / 470.6 MB, free: 8.566 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.231e-05/0.1131, allocations: 12 kB / 470.6 MB, free: 8.555 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.896e-05/0.1131, allocations: 16.66 kB / 470.6 MB, free: 8.539 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005871/0.1137, allocations: 370.2 kB / 471 MB, free: 8.18 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001712/0.1154, allocations: 1.417 MB / 472.4 MB, free: 6.637 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006604/0.1161, allocations: 386.4 kB / 472.8 MB, free: 6.25 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000271/0.1164, allocations: 200.7 kB / 473 MB, free: 6.051 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.524e-05/0.1164, allocations: 4 kB / 473 MB, free: 6.047 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.1164, allocations: 34.56 kB / 473 MB, free: 6.004 MB / 302.1 MB Notification: Performance of pre-optimization done (n=23): time 3.787e-06/0.1164, allocations: 3.984 kB / 473 MB, free: 6 MB / 302.1 MB Notification: Performance of matching and sorting (n=23): time 0.001545/0.118, allocations: 0.8611 MB / 473.9 MB, free: 5.07 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.939e-05/0.118, allocations: 55.41 kB / 473.9 MB, free: 5.004 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002364/0.1183, allocations: 223.4 kB / 474.1 MB, free: 4.773 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.202e-05/0.1183, allocations: 25.7 kB / 474.2 MB, free: 4.742 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.1184, allocations: 168.3 kB / 474.3 MB, free: 4.57 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.266e-05/0.1185, allocations: 78.84 kB / 474.4 MB, free: 4.492 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.391e-05/0.1185, allocations: 8 kB / 474.4 MB, free: 4.484 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.1187, allocations: 330.8 kB / 474.7 MB, free: 4.152 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002001/0.1189, allocations: 115.9 kB / 474.9 MB, free: 4.039 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001801/0.1191, allocations: 120.8 kB / 475 MB, free: 3.922 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000228/0.1193, allocations: 148.3 kB / 475.1 MB, free: 3.777 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.1193, allocations: 3.953 kB / 475.1 MB, free: 3.773 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0007093/0.1201, allocations: 439.6 kB / 475.6 MB, free: 3.328 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.342e-05/0.1201, allocations: 4 kB / 475.6 MB, free: 3.324 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.393e-06/0.1201, allocations: 0 / 475.6 MB, free: 3.324 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004523/0.1206, allocations: 134.4 kB / 475.7 MB, free: 3.184 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000178/0.1208, allocations: 43.91 kB / 475.7 MB, free: 3.141 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004683/0.1254, allocations: 4.7 MB / 480.4 MB, free: 14.04 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002189/0.1257, allocations: 39.89 kB / 480.5 MB, free: 14 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.701e-05/0.1257, allocations: 4 kB / 480.5 MB, free: 14 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.0003299/0.1261, allocations: 197.8 kB / 480.7 MB, free: 13.8 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.828e-05/0.1261, allocations: 23.8 kB / 480.7 MB, free: 13.77 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.244e-05/0.1262, allocations: 37.83 kB / 480.7 MB, free: 13.74 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.1262, allocations: 4.125 kB / 480.7 MB, free: 13.73 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-05/0.1263, allocations: 4 kB / 480.7 MB, free: 13.73 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.1263, allocations: 3.984 kB / 480.7 MB, free: 13.73 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005281/0.1268, allocations: 425.2 kB / 481.2 MB, free: 13.26 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.1268, allocations: 3.938 kB / 481.2 MB, free: 13.26 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001928/0.127, allocations: 43.97 kB / 481.2 MB, free: 13.21 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003018/0.1273, allocations: 134.5 kB / 481.3 MB, free: 13.07 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.086e-05/0.1274, allocations: 8 kB / 481.3 MB, free: 13.07 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003897/0.1313, allocations: 4.699 MB / 486 MB, free: 7.961 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.1313, allocations: 0 / 486 MB, free: 7.961 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009806/0.1323, allocations: 0.6637 MB / 486.7 MB, free: 7.273 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.533e-05/0.1324, allocations: 108.8 kB / 486.8 MB, free: 7.148 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.038e-05/0.1324, allocations: 8.281 kB / 486.8 MB, free: 7.141 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001465/0.1326, allocations: 15.89 kB / 486.8 MB, free: 7.125 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.574e-05/0.1326, allocations: 23.97 kB / 486.9 MB, free: 7.102 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/0.1327, allocations: 4 kB / 486.9 MB, free: 7.098 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001624/0.1328, allocations: 165.2 kB / 487 MB, free: 6.938 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1328, allocations: 0 / 487 MB, free: 6.938 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005715/0.1334, allocations: 103.8 kB / 487.1 MB, free: 6.836 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.0001365/0.1336, allocations: 108.8 kB / 487.2 MB, free: 6.719 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009283/0.1345, allocations: 0.6521 MB / 487.9 MB, free: 6.027 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.1345, allocations: 0 / 487.9 MB, free: 6.027 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000602/0.1351, allocations: 0.5272 MB / 488.4 MB, free: 5.461 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000381/0.1355, allocations: 49.94 kB / 488.5 MB, free: 5.41 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00151/0.137, allocations: 0.9999 MB / 489.5 MB, free: 4.391 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005069/0.1375, allocations: 0.8494 MB / 490.3 MB, free: 3.516 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001471/0.1377, allocations: 61.88 kB / 490.4 MB, free: 3.453 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.142e-05/0.1378, allocations: 19.44 kB / 490.4 MB, free: 3.434 MB / 318.1 MB Notification: Performance of SimCode: time 1.132e-06/0.1378, allocations: 0 / 490.4 MB, free: 3.434 MB / 318.1 MB Notification: Performance of Templates: time 0.007868/0.1456, allocations: 3.921 MB / 494.3 MB, free: 15.55 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: