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.005775/0.005775, allocations: 99.55 kB / 15.73 MB, free: 6.008 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.441/1.441, allocations: 222.9 MB / 239.4 MB, free: 4.508 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.001524/0.001524, allocations: 188.5 kB / 289.7 MB, free: 2.219 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03461/0.03461, allocations: 8.785 MB / 348.6 MB, free: 4.598 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001492, allocations: 75.88 kB / 463.9 MB, free: 13.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1208, allocations: 51.56 MB / 0.5034 GB, free: 9.484 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.TestLongRod): time 0.003239/0.1241, allocations: 2.007 MB / 0.5053 GB, free: 7.465 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003646/0.1245, allocations: 159.5 kB / 0.5055 GB, free: 7.309 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.741e-05/0.1245, allocations: 3.938 kB / 0.5055 GB, free: 7.305 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001442/0.1247, allocations: 27.78 kB / 0.5055 GB, free: 7.277 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001902/0.1249, allocations: 67.47 kB / 0.5056 GB, free: 7.211 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001552/0.1251, allocations: 43.97 kB / 0.5056 GB, free: 7.168 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004684/0.1255, allocations: 0.4901 MB / 0.5061 GB, free: 6.676 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003937/0.1259, allocations: 281.7 kB / 0.5064 GB, free: 6.398 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001566/0.1261, allocations: 183.5 kB / 0.5065 GB, free: 6.219 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002341/0.1264, allocations: 191.3 kB / 0.5067 GB, free: 6.031 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.872e-05/0.1264, allocations: 44 kB / 0.5068 GB, free: 5.988 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.504e-05/0.1265, allocations: 48 kB / 0.5068 GB, free: 5.941 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001101/0.1266, allocations: 103.7 kB / 0.5069 GB, free: 5.84 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002131/0.1268, allocations: 207.2 kB / 0.5071 GB, free: 5.637 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004636/0.1273, allocations: 0.5492 MB / 0.5076 GB, free: 5.086 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.1273, allocations: 8 kB / 0.5077 GB, free: 5.078 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.1273, allocations: 0 / 0.5077 GB, free: 5.078 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.108e-05/0.1274, allocations: 0 / 0.5077 GB, free: 5.078 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.001016/0.1284, allocations: 0.6433 MB / 0.5083 GB, free: 4.379 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.1284, allocations: 16.03 kB / 0.5083 GB, free: 4.363 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.298e-05/0.1285, allocations: 32.56 kB / 0.5083 GB, free: 4.332 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003506/0.1289, allocations: 295.9 kB / 0.5086 GB, free: 4.004 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.51e-05/0.1289, allocations: 32.95 kB / 0.5086 GB, free: 3.973 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.853e-05/0.129, allocations: 24.38 kB / 0.5087 GB, free: 3.949 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006126/0.1296, allocations: 394.5 kB / 0.509 GB, free: 3.559 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/0.1296, allocations: 192 / 0.509 GB, free: 3.559 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.15e-05/0.1296, allocations: 11.94 kB / 0.5091 GB, free: 3.547 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.712e-05/0.1297, allocations: 16.64 kB / 0.5091 GB, free: 3.531 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005567/0.1302, allocations: 366.3 kB / 0.5094 GB, free: 3.172 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001582/0.1318, allocations: 1.409 MB / 0.5108 GB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006471/0.1325, allocations: 386.5 kB / 0.5112 GB, free: 1.25 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00026/0.1328, allocations: 192.7 kB / 0.5113 GB, free: 1.059 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.1328, allocations: 7.938 kB / 0.5114 GB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.196e-05/0.1328, allocations: 34.56 kB / 0.5114 GB, free: 1.008 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.794e-06/0.1328, allocations: 4 kB / 0.5114 GB, free: 1.004 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.001532/0.1344, allocations: 0.853 MB / 0.5122 GB, free: 84 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.564e-05/0.1344, allocations: 59.34 kB / 0.5123 GB, free: 12 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002227/0.1346, allocations: 219.9 kB / 0.5125 GB, free: 15.78 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.656e-05/0.1347, allocations: 29.7 kB / 0.5125 GB, free: 15.74 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.771e-05/0.1348, allocations: 168.3 kB / 0.5127 GB, free: 15.57 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.497e-05/0.1348, allocations: 86.66 kB / 0.5128 GB, free: 15.49 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.064e-05/0.1349, allocations: 41.66 kB / 0.5128 GB, free: 15.45 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.135, allocations: 334.8 kB / 0.5131 GB, free: 15.11 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001811/0.1352, allocations: 119.9 kB / 0.5132 GB, free: 14.99 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001643/0.1354, allocations: 115.9 kB / 0.5133 GB, free: 14.88 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003698/0.1358, allocations: 276.6 kB / 0.5136 GB, free: 14.61 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1358, allocations: 4 kB / 0.5136 GB, free: 14.6 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006492/0.1365, allocations: 432 kB / 0.514 GB, free: 14.16 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.1365, allocations: 8 kB / 0.514 GB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.1365, allocations: 0 / 0.514 GB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003848/0.1369, allocations: 134.4 kB / 0.5142 GB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001593/0.1371, allocations: 39.91 kB / 0.5142 GB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003776/0.1408, allocations: 5.164 MB / 0.5192 GB, free: 8.395 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001323/0.141, allocations: 19.83 kB / 0.5193 GB, free: 8.375 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.706e-05/0.141, allocations: 11.98 kB / 0.5193 GB, free: 8.363 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.0002353/0.1413, allocations: 201.8 kB / 0.5195 GB, free: 8.156 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.76e-05/0.1413, allocations: 15.81 kB / 0.5195 GB, free: 8.141 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.004e-05/0.1414, allocations: 29.81 kB / 0.5195 GB, free: 8.109 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.1414, allocations: 4 kB / 0.5195 GB, free: 8.105 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.1414, allocations: 0 / 0.5195 GB, free: 8.105 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.531e-05/0.1414, allocations: 3.984 kB / 0.5195 GB, free: 8.102 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004532/0.1419, allocations: 429.2 kB / 0.5199 GB, free: 7.633 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.1419, allocations: 0 / 0.5199 GB, free: 7.633 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001912/0.1421, allocations: 43.84 kB / 0.52 GB, free: 7.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003031/0.1424, allocations: 138.6 kB / 0.5201 GB, free: 7.445 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.387e-05/0.1424, allocations: 11.94 kB / 0.5201 GB, free: 7.434 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0038/0.1462, allocations: 5.164 MB / 0.5252 GB, free: 1.852 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1463, allocations: 0 / 0.5252 GB, free: 1.852 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001003/0.1473, allocations: 0.6691 MB / 0.5258 GB, free: 1.156 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.618e-05/0.1474, allocations: 104.8 kB / 0.5259 GB, free: 1.035 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.007e-05/0.1474, allocations: 8.031 kB / 0.5259 GB, free: 1.027 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000131/0.1475, allocations: 11.98 kB / 0.5259 GB, free: 1.016 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.142e-05/0.1476, allocations: 15.98 kB / 0.5259 GB, free: 1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.268e-05/0.1476, allocations: 4 kB / 0.5259 GB, free: 0.9961 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001942/0.1478, allocations: 173.1 kB / 0.5261 GB, free: 0.8281 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1478, allocations: 0 / 0.5261 GB, free: 0.8281 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000609/0.1484, allocations: 103.7 kB / 0.5262 GB, free: 0.7266 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.0002266/0.1487, allocations: 111.1 kB / 0.5263 GB, free: 0.6133 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.2334/0.3821, allocations: 0.6413 MB / 0.5269 GB, free: 24.41 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 8.295e-06/0.3821, allocations: 0.875 kB / 0.5269 GB, free: 24.41 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006441/0.3828, allocations: 0.5202 MB / 0.5274 GB, free: 24.09 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004983/0.3833, allocations: 49.56 kB / 0.5275 GB, free: 24.09 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001277/0.3846, allocations: 0.8414 MB / 0.5283 GB, free: 23.83 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002647/0.3849, allocations: 0.8503 MB / 0.5291 GB, free: 23.12 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001154/0.385, allocations: 55.78 kB / 0.5292 GB, free: 23.11 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.966e-05/0.385, allocations: 16.19 kB / 0.5292 GB, free: 23.11 MB / 366.1 MB Notification: Performance of SimCode: time 1.132e-06/0.385, allocations: 0 / 0.5292 GB, free: 23.11 MB / 366.1 MB Notification: Performance of Templates: time 0.009566/0.3946, allocations: 4.329 MB / 0.5334 GB, free: 22.9 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)