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.007493/0.007493, allocations: 103.6 kB / 15.73 MB, free: 6.039 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.49/1.49, allocations: 222.9 MB / 239.4 MB, free: 4.531 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.001748/0.001748, allocations: 192.5 kB / 289.7 MB, free: 2.25 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03719/0.03719, allocations: 8.796 MB / 348.6 MB, free: 4.625 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 75.88 kB / 463.9 MB, free: 13.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1063, allocations: 51.58 MB / 0.5034 GB, free: 9.504 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.TestLongRod): time 0.00329/0.1097, allocations: 1.995 MB / 0.5053 GB, free: 7.496 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003846/0.1101, allocations: 163.4 kB / 0.5055 GB, free: 7.336 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.741e-05/0.1101, allocations: 0 / 0.5055 GB, free: 7.336 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001481/0.1103, allocations: 23.78 kB / 0.5055 GB, free: 7.312 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002067/0.1105, allocations: 75.45 kB / 0.5056 GB, free: 7.238 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001516/0.1107, allocations: 39.97 kB / 0.5056 GB, free: 7.199 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004638/0.1111, allocations: 497.9 kB / 0.5061 GB, free: 6.711 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003975/0.1116, allocations: 293.7 kB / 0.5064 GB, free: 6.422 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001622/0.1117, allocations: 187.4 kB / 0.5065 GB, free: 6.238 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002379/0.112, allocations: 187.3 kB / 0.5067 GB, free: 6.055 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.805e-05/0.112, allocations: 48 kB / 0.5068 GB, free: 6.008 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.379e-05/0.1121, allocations: 44 kB / 0.5068 GB, free: 5.965 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001161/0.1122, allocations: 103.7 kB / 0.5069 GB, free: 5.863 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001995/0.1124, allocations: 211.1 kB / 0.5071 GB, free: 5.656 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00048/0.1129, allocations: 0.5453 MB / 0.5076 GB, free: 5.109 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1129, allocations: 0 / 0.5076 GB, free: 5.109 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.1129, allocations: 0 / 0.5076 GB, free: 5.109 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.121e-05/0.113, allocations: 0 / 0.5076 GB, free: 5.109 MB / 350.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.001071/0.114, allocations: 0.6473 MB / 0.5083 GB, free: 4.406 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.1141, allocations: 12.03 kB / 0.5083 GB, free: 4.395 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.801e-05/0.1142, allocations: 36.55 kB / 0.5083 GB, free: 4.359 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003752/0.1145, allocations: 307.8 kB / 0.5086 GB, free: 4.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.426e-05/0.1146, allocations: 21.03 kB / 0.5086 GB, free: 4 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.119e-05/0.1146, allocations: 36.38 kB / 0.5087 GB, free: 3.965 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006063/0.1152, allocations: 390.5 kB / 0.509 GB, free: 3.578 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.923e-05/0.1153, allocations: 192 / 0.509 GB, free: 3.578 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.26e-05/0.1153, allocations: 15.94 kB / 0.5091 GB, free: 3.562 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.39e-05/0.1153, allocations: 12.66 kB / 0.5091 GB, free: 3.551 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000561/0.1159, allocations: 358.3 kB / 0.5094 GB, free: 3.199 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001644/0.1176, allocations: 1.421 MB / 0.5108 GB, free: 1.652 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006959/0.1183, allocations: 378.5 kB / 0.5112 GB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002835/0.1186, allocations: 211.2 kB / 0.5114 GB, free: 1.066 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.056e-05/0.1186, allocations: 0 / 0.5114 GB, free: 1.066 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/0.1186, allocations: 38.5 kB / 0.5114 GB, free: 1.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.282e-06/0.1186, allocations: 0 / 0.5114 GB, free: 1.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.001588/0.1202, allocations: 0.8491 MB / 0.5122 GB, free: 104 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.059e-05/0.1203, allocations: 59.34 kB / 0.5123 GB, free: 32 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002462/0.1205, allocations: 223.4 kB / 0.5125 GB, free: 15.8 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.1206, allocations: 25.7 kB / 0.5125 GB, free: 15.77 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.1207, allocations: 168.3 kB / 0.5127 GB, free: 15.6 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.477e-05/0.1208, allocations: 83.14 kB / 0.5128 GB, free: 15.52 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.526e-05/0.1209, allocations: 45.64 kB / 0.5128 GB, free: 15.46 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.121, allocations: 334.8 kB / 0.5131 GB, free: 15.13 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001801/0.1212, allocations: 115.9 kB / 0.5132 GB, free: 15.02 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001874/0.1214, allocations: 119.9 kB / 0.5134 GB, free: 14.9 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004051/0.1218, allocations: 268.7 kB / 0.5136 GB, free: 14.63 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.1218, allocations: 0 / 0.5136 GB, free: 14.63 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006918/0.1225, allocations: 440 kB / 0.514 GB, free: 14.19 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.1225, allocations: 9.562 kB / 0.514 GB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.1226, allocations: 0 / 0.514 GB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003859/0.1229, allocations: 126.5 kB / 0.5142 GB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001618/0.1231, allocations: 43.91 kB / 0.5142 GB, free: 14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004024/0.1271, allocations: 5.172 MB / 0.5193 GB, free: 8.414 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001211/0.1273, allocations: 19.86 kB / 0.5193 GB, free: 8.395 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.546e-05/0.1273, allocations: 8 kB / 0.5193 GB, free: 8.387 MB / 366.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.0001941/0.1275, allocations: 201.7 kB / 0.5195 GB, free: 8.18 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.284e-05/0.1276, allocations: 15.81 kB / 0.5195 GB, free: 8.164 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.981e-05/0.1276, allocations: 33.8 kB / 0.5195 GB, free: 8.129 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.1276, allocations: 4.062 kB / 0.5195 GB, free: 8.125 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.351e-06/0.1277, allocations: 7.938 kB / 0.5195 GB, free: 8.117 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.1277, allocations: 4 kB / 0.5195 GB, free: 8.113 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004553/0.1281, allocations: 425.2 kB / 0.5199 GB, free: 7.648 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1281, allocations: 0 / 0.5199 GB, free: 7.648 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00019/0.1283, allocations: 39.97 kB / 0.52 GB, free: 7.609 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003023/0.1286, allocations: 138.5 kB / 0.5201 GB, free: 7.465 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.084e-05/0.1287, allocations: 15.92 kB / 0.5201 GB, free: 7.449 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003875/0.1326, allocations: 5.156 MB / 0.5252 GB, free: 1.875 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.1326, allocations: 0 / 0.5252 GB, free: 1.875 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009311/0.1335, allocations: 0.6689 MB / 0.5258 GB, free: 1.18 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.39e-05/0.1336, allocations: 108.9 kB / 0.5259 GB, free: 1.055 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.615e-05/0.1336, allocations: 4 kB / 0.5259 GB, free: 1.051 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001406/0.1338, allocations: 15.98 kB / 0.5259 GB, free: 1.035 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.548e-05/0.1338, allocations: 19.97 kB / 0.526 GB, free: 1.016 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/0.1339, allocations: 4 kB / 0.526 GB, free: 1.012 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00015/0.134, allocations: 165.2 kB / 0.5261 GB, free: 0.8516 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.134, allocations: 0 / 0.5261 GB, free: 0.8516 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005191/0.1345, allocations: 103.7 kB / 0.5262 GB, free: 0.75 MB / 366.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.0001115/0.1347, allocations: 107.4 kB / 0.5263 GB, free: 0.6367 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.2456/0.3803, allocations: 0.635 MB / 0.5269 GB, free: 24.47 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 8.766e-06/0.3803, allocations: 1.781 kB / 0.5269 GB, free: 24.47 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006959/0.381, allocations: 0.5243 MB / 0.5275 GB, free: 24.14 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005292/0.3816, allocations: 48.75 kB / 0.5275 GB, free: 24.14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001376/0.3829, allocations: 0.8446 MB / 0.5283 GB, free: 23.88 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002926/0.3833, allocations: 0.8496 MB / 0.5292 GB, free: 23.17 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001185/0.3834, allocations: 51.23 kB / 0.5292 GB, free: 23.17 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.344e-05/0.3834, allocations: 16.75 kB / 0.5292 GB, free: 23.16 MB / 366.1 MB Notification: Performance of SimCode: time 8.92e-07/0.3834, allocations: 0 / 0.5292 GB, free: 23.16 MB / 366.1 MB Notification: Performance of Templates: time 0.009966/0.3934, allocations: 4.337 MB / 0.5335 GB, free: 22.96 MB / 366.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)