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.0009473/0.0009473, allocations: 92.55 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.31/1.31, allocations: 223.3 MB / 240 MB, free: 5.512 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.000926/0.000926, allocations: 179.4 kB / 291.3 MB, free: 2.176 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.0355/0.0355, allocations: 8.806 MB / 351.2 MB, free: 4.605 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003342/0.0003342, allocations: 9.562 kB / 414.5 MB, free: 42.68 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06522/0.06557, allocations: 52.56 MB / 467 MB, free: 13.14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.TestLongRod): time 0.001855/0.06745, allocations: 1.712 MB / 468.7 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003464/0.06782, allocations: 159.5 kB / 468.9 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.285e-05/0.06791, allocations: 0 / 468.9 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001003/0.06802, allocations: 19.84 kB / 468.9 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001744/0.0682, allocations: 55.59 kB / 469 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001202/0.06833, allocations: 31.98 kB / 469 MB, free: 11.15 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004349/0.06878, allocations: 0.4901 MB / 469.5 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003333/0.06912, allocations: 240.8 kB / 469.7 MB, free: 10.42 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001462/0.06928, allocations: 131.5 kB / 469.9 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002017/0.06948, allocations: 155.2 kB / 470 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.313e-05/0.06953, allocations: 20 kB / 470 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.391e-05/0.06958, allocations: 19.94 kB / 470.1 MB, free: 10.1 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.449e-05/0.06966, allocations: 59.77 kB / 470.1 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001682/0.06983, allocations: 200.8 kB / 470.3 MB, free: 9.84 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003447/0.07019, allocations: 455.1 kB / 470.8 MB, free: 9.395 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.0702, allocations: 0 / 470.8 MB, free: 9.395 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.07021, allocations: 4 kB / 470.8 MB, free: 9.391 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.07022, allocations: 0 / 470.8 MB, free: 9.391 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.0008741/0.0711, allocations: 0.581 MB / 471.3 MB, free: 8.758 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.02e-05/0.07113, allocations: 8.031 kB / 471.3 MB, free: 8.75 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.245e-05/0.07121, allocations: 32.56 kB / 471.4 MB, free: 8.719 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003257/0.07155, allocations: 307.8 kB / 471.7 MB, free: 8.379 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.07158, allocations: 21.03 kB / 471.7 MB, free: 8.359 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.864e-05/0.07164, allocations: 32.38 kB / 471.7 MB, free: 8.328 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006297/0.07228, allocations: 398.5 kB / 472.1 MB, free: 7.934 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.0723, allocations: 4.188 kB / 472.1 MB, free: 7.93 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.119e-05/0.07234, allocations: 11.94 kB / 472.1 MB, free: 7.918 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.363e-05/0.07237, allocations: 12.66 kB / 472.1 MB, free: 7.902 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000582/0.07296, allocations: 366.4 kB / 472.5 MB, free: 7.547 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00154/0.07451, allocations: 1.425 MB / 473.9 MB, free: 5.996 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006394/0.07516, allocations: 390.4 kB / 474.3 MB, free: 5.605 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002731/0.07544, allocations: 200.6 kB / 474.5 MB, free: 5.406 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.5e-05/0.07547, allocations: 4 kB / 474.5 MB, free: 5.402 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.742e-05/0.07549, allocations: 30.56 kB / 474.5 MB, free: 5.363 MB / 302.1 MB Notification: Performance of pre-optimization done (n=23): time 1.443e-06/0.0755, allocations: 0 / 474.5 MB, free: 5.363 MB / 302.1 MB Notification: Performance of matching and sorting (n=23): time 0.001536/0.07704, allocations: 0.8689 MB / 475.4 MB, free: 4.426 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.169e-05/0.07708, allocations: 59.34 kB / 475.5 MB, free: 4.355 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002016/0.07729, allocations: 219.4 kB / 475.7 MB, free: 4.125 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.07732, allocations: 29.7 kB / 475.7 MB, free: 4.09 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.505e-05/0.07741, allocations: 172.3 kB / 475.9 MB, free: 3.914 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.585e-05/0.07748, allocations: 82.75 kB / 476 MB, free: 3.832 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.984e-05/0.07753, allocations: 25.72 kB / 476 MB, free: 3.801 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.377e-05/0.07763, allocations: 330.8 kB / 476.3 MB, free: 3.469 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001853/0.07782, allocations: 115.9 kB / 476.4 MB, free: 3.355 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001801/0.07801, allocations: 120.8 kB / 476.5 MB, free: 3.238 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003921/0.07841, allocations: 284.9 kB / 476.8 MB, free: 2.957 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.07842, allocations: 0 / 476.8 MB, free: 2.957 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006967/0.07912, allocations: 435.7 kB / 477.2 MB, free: 2.516 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.07915, allocations: 8 kB / 477.2 MB, free: 2.508 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.07916, allocations: 11.88 kB / 477.3 MB, free: 2.496 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003554/0.07952, allocations: 130.5 kB / 477.4 MB, free: 2.359 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001707/0.0797, allocations: 47.89 kB / 477.4 MB, free: 2.312 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003376/0.08309, allocations: 4.707 MB / 482.1 MB, free: 13.2 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001607/0.08326, allocations: 35.78 kB / 482.2 MB, free: 13.17 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.439e-05/0.08328, allocations: 8.062 kB / 482.2 MB, free: 13.16 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.0001887/0.08348, allocations: 205.7 kB / 482.4 MB, free: 12.95 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.599e-05/0.08353, allocations: 15.81 kB / 482.4 MB, free: 12.93 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.604e-05/0.08362, allocations: 33.86 kB / 482.4 MB, free: 12.9 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.08362, allocations: 3.938 kB / 482.4 MB, free: 12.9 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/0.08364, allocations: 8 kB / 482.4 MB, free: 12.89 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.08364, allocations: 0 / 482.4 MB, free: 12.89 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004356/0.08409, allocations: 429.2 kB / 482.9 MB, free: 12.42 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.0841, allocations: 0 / 482.9 MB, free: 12.42 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002047/0.08431, allocations: 39.97 kB / 482.9 MB, free: 12.38 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003012/0.08462, allocations: 130.6 kB / 483 MB, free: 12.25 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.094e-05/0.08465, allocations: 15.91 kB / 483 MB, free: 12.23 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003283/0.08794, allocations: 4.7 MB / 487.7 MB, free: 7.129 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.08795, allocations: 0 / 487.7 MB, free: 7.129 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009161/0.08888, allocations: 0.6716 MB / 488.4 MB, free: 6.434 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.993e-05/0.08895, allocations: 96.86 kB / 488.5 MB, free: 6.32 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.117e-05/0.08899, allocations: 12.03 kB / 488.5 MB, free: 6.309 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001651/0.08916, allocations: 27.89 kB / 488.6 MB, free: 6.281 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.206e-05/0.08922, allocations: 19.91 kB / 488.6 MB, free: 6.262 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.368e-05/0.08924, allocations: 8 kB / 488.6 MB, free: 6.254 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001364/0.08938, allocations: 164 kB / 488.7 MB, free: 6.094 MB / 318.1 MB Notification: Performance of sort global known variables: time 2e-07/0.08939, allocations: 0 / 488.7 MB, free: 6.094 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000522/0.08992, allocations: 103.7 kB / 488.8 MB, free: 5.992 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 9.546e-05/0.09002, allocations: 107.2 kB / 488.9 MB, free: 5.875 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008263/0.09085, allocations: 0.66 MB / 489.6 MB, free: 5.176 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.09087, allocations: 8 kB / 489.6 MB, free: 5.168 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005583/0.09143, allocations: 0.5195 MB / 490.1 MB, free: 4.609 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003617/0.09181, allocations: 49.72 kB / 490.2 MB, free: 4.562 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001285/0.0931, allocations: 1.04 MB / 491.2 MB, free: 3.496 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003616/0.09347, allocations: 0.8377 MB / 492.1 MB, free: 2.633 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.886e-05/0.09353, allocations: 19.44 kB / 492.1 MB, free: 2.613 MB / 318.1 MB Notification: Performance of SimCode: time 2.5e-07/0.09354, allocations: 0 / 492.1 MB, free: 2.613 MB / 318.1 MB Notification: Performance of Templates: time 0.009785/0.1033, allocations: 8.814 MB / 0.4892 GB, free: 9.801 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)