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.001876/0.001876, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.124/2.124, allocations: 222.9 MB / 239.5 MB, free: 4.777 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.002179/0.002179, allocations: 196.4 kB / 289.8 MB, free: 2.516 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.06498/0.06498, allocations: 8.803 MB / 348.7 MB, free: 4.906 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002473/0.002473, allocations: 76.14 kB / 411 MB, free: 42.32 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.135, allocations: 51.56 MB / 462.6 MB, free: 14.95 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.TestLongRod): time 0.006061/0.1412, allocations: 2.065 MB / 464.7 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007285/0.142, allocations: 163.4 kB / 464.8 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002189/0.1422, allocations: 4 kB / 464.8 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002539/0.1425, allocations: 19.84 kB / 464.9 MB, free: 12.68 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003928/0.1429, allocations: 63.59 kB / 464.9 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002257/0.1432, allocations: 35.97 kB / 465 MB, free: 12.58 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008093/0.144, allocations: 493.9 kB / 465.4 MB, free: 12.1 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006263/0.1446, allocations: 248.8 kB / 465.7 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003108/0.145, allocations: 143.5 kB / 465.8 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004257/0.1454, allocations: 167.3 kB / 466 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.465e-05/0.1455, allocations: 24 kB / 466 MB, free: 11.53 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001308/0.1457, allocations: 24 kB / 466 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001382/0.1458, allocations: 71.69 kB / 466.1 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003534/0.1462, allocations: 187.1 kB / 466.3 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006661/0.1469, allocations: 463.3 kB / 466.7 MB, free: 10.8 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.598e-06/0.1469, allocations: 3.984 kB / 466.7 MB, free: 10.79 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.327e-06/0.1469, allocations: 0 / 466.7 MB, free: 10.79 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.76e-05/0.1469, allocations: 0 / 466.7 MB, free: 10.79 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.001963/0.1489, allocations: 0.6434 MB / 467.4 MB, free: 10.1 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.665e-05/0.149, allocations: 8.031 kB / 467.4 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001811/0.1492, allocations: 36.56 kB / 467.4 MB, free: 10.05 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006293/0.1498, allocations: 299.8 kB / 467.7 MB, free: 9.723 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.898e-05/0.1499, allocations: 29.02 kB / 467.7 MB, free: 9.695 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.746e-05/0.15, allocations: 28.38 kB / 467.8 MB, free: 9.668 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00117/0.1512, allocations: 386.5 kB / 468.2 MB, free: 9.285 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.186e-05/0.1512, allocations: 8.094 kB / 468.2 MB, free: 9.277 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.283e-05/0.1513, allocations: 15.92 kB / 468.2 MB, free: 9.262 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.778e-05/0.1513, allocations: 12.66 kB / 468.2 MB, free: 9.246 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001087/0.1524, allocations: 362.4 kB / 468.5 MB, free: 8.895 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002911/0.1554, allocations: 1.425 MB / 470 MB, free: 7.344 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001169/0.1566, allocations: 378.5 kB / 470.3 MB, free: 6.965 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004742/0.1571, allocations: 201.4 kB / 470.5 MB, free: 6.77 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.693e-05/0.1571, allocations: 8 kB / 470.5 MB, free: 6.762 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.687e-05/0.1571, allocations: 38.5 kB / 470.6 MB, free: 6.715 MB / 302.1 MB Notification: Performance of pre-optimization done (n=23): time 3.156e-06/0.1572, allocations: 0 / 470.6 MB, free: 6.715 MB / 302.1 MB Notification: Performance of matching and sorting (n=23): time 0.00268/0.1599, allocations: 0.8468 MB / 471.4 MB, free: 5.797 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.377e-05/0.1599, allocations: 59.28 kB / 471.5 MB, free: 5.727 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004081/0.1603, allocations: 219.4 kB / 471.7 MB, free: 5.5 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.736e-05/0.1604, allocations: 29.7 kB / 471.7 MB, free: 5.465 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001514/0.1606, allocations: 168.3 kB / 471.9 MB, free: 5.293 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001294/0.1607, allocations: 87.12 kB / 472 MB, free: 5.207 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001388/0.1609, allocations: 45.7 kB / 472 MB, free: 5.156 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001729/0.161, allocations: 330.8 kB / 472.3 MB, free: 4.824 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003366/0.1614, allocations: 111.9 kB / 472.5 MB, free: 4.715 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003015/0.1617, allocations: 124.7 kB / 472.6 MB, free: 4.594 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007099/0.1624, allocations: 277 kB / 472.8 MB, free: 4.32 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.1625, allocations: 0 / 472.8 MB, free: 4.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001234/0.1637, allocations: 435.7 kB / 473.3 MB, free: 3.879 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.785e-05/0.1637, allocations: 4 kB / 473.3 MB, free: 3.875 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.1638, allocations: 0 / 473.3 MB, free: 3.875 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006644/0.1644, allocations: 142.4 kB / 473.4 MB, free: 3.727 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002981/0.1647, allocations: 43.92 kB / 473.5 MB, free: 3.684 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006045/0.1708, allocations: 4.703 MB / 478.2 MB, free: 14.58 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003285/0.1712, allocations: 23.86 kB / 478.2 MB, free: 14.55 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.422e-05/0.1712, allocations: 8 kB / 478.2 MB, free: 14.55 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.0003976/0.1716, allocations: 209.7 kB / 478.4 MB, free: 14.33 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/0.1718, allocations: 19.81 kB / 478.4 MB, free: 14.31 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.193e-05/0.1719, allocations: 25.88 kB / 478.4 MB, free: 14.29 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.682e-06/0.1719, allocations: 4 kB / 478.4 MB, free: 14.29 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.5e-05/0.1719, allocations: 4 kB / 478.5 MB, free: 14.28 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.17e-05/0.1719, allocations: 3.984 kB / 478.5 MB, free: 14.28 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009345/0.1729, allocations: 425.2 kB / 478.9 MB, free: 13.81 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/0.1729, allocations: 7.984 kB / 478.9 MB, free: 13.8 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003347/0.1733, allocations: 43.91 kB / 478.9 MB, free: 13.76 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005421/0.1738, allocations: 138.5 kB / 479.1 MB, free: 13.62 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.941e-05/0.1739, allocations: 8 kB / 479.1 MB, free: 13.61 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005883/0.1798, allocations: 4.696 MB / 483.8 MB, free: 8.512 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.1798, allocations: 0 / 483.8 MB, free: 8.512 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001731/0.1816, allocations: 0.6616 MB / 484.4 MB, free: 7.828 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001749/0.1818, allocations: 108.8 kB / 484.5 MB, free: 7.703 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.325e-05/0.1818, allocations: 4 kB / 484.5 MB, free: 7.699 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003103/0.1822, allocations: 27.91 kB / 484.6 MB, free: 7.672 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/0.1823, allocations: 15.92 kB / 484.6 MB, free: 7.656 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.48e-05/0.1823, allocations: 8 kB / 484.6 MB, free: 7.648 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002475/0.1826, allocations: 164 kB / 484.7 MB, free: 7.488 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1826, allocations: 4 kB / 484.7 MB, free: 7.484 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001227/0.1838, allocations: 107.7 kB / 484.9 MB, free: 7.379 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 0.0001868/0.184, allocations: 102.6 kB / 485 MB, free: 7.27 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001511/0.1856, allocations: 0.656 MB / 485.6 MB, free: 6.574 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.1856, allocations: 0 / 485.6 MB, free: 6.574 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001001/0.1866, allocations: 0.5233 MB / 486.1 MB, free: 6.012 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007391/0.1874, allocations: 48.19 kB / 486.2 MB, free: 5.965 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002585/0.19, allocations: 0.9811 MB / 487.2 MB, free: 4.953 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006497/0.1906, allocations: 0.8416 MB / 488 MB, free: 4.086 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.888e-05/0.1907, allocations: 15.44 kB / 488 MB, free: 4.07 MB / 318.1 MB Notification: Performance of SimCode: time 1.452e-06/0.1908, allocations: 4 kB / 488 MB, free: 4.066 MB / 318.1 MB Notification: Performance of Templates: time 0.01824/0.209, allocations: 8.857 MB / 496.9 MB, free: 11.21 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)