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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 85.64 kB / 19.87 MB, free: 4.617 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.021/1.021, allocations: 177.1 MB / 200.3 MB, free: 5.703 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003013/0.003013, allocations: 156.6 kB / 256.9 MB, free: 12.98 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.06085/0.06085, allocations: 6.667 MB / 320.1 MB, free: 26.35 MB / 266.7 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(HanserModelica.Thermal.TestLongRod,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Thermal.TestLongRod") translateModel(HanserModelica.Thermal.TestLongRod,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Thermal.TestLongRod") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 392.1 MB, free: 2.289 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.382e-05/2.556e-05, allocations: 2.312 kB / 392.1 MB, free: 2.285 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.TestLongRod): time 0.002775/0.002801, allocations: 2.062 MB / 394.1 MB, free: 216 kB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.000434/0.003235, allocations: 179.3 kB / 394.3 MB, free: 36 kB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.896e-05/0.003314, allocations: 3.938 kB / 394.3 MB, free: 32 kB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001187/0.003432, allocations: 23.78 kB / 394.3 MB, free: 8 kB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001626/0.003595, allocations: 67.47 kB / 394.4 MB, free: 15.94 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001494/0.003744, allocations: 39.95 kB / 394.4 MB, free: 15.9 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003315/0.004076, allocations: 0.5132 MB / 394.9 MB, free: 15.39 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002017/0.004277, allocations: 154.2 kB / 395.1 MB, free: 15.23 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003233/0.004601, allocations: 279.5 kB / 395.4 MB, free: 14.96 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003812/0.004982, allocations: 203.6 kB / 395.6 MB, free: 14.76 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.927e-05/0.005041, allocations: 44 kB / 395.6 MB, free: 14.72 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.156e-05/0.005103, allocations: 48 kB / 395.7 MB, free: 14.67 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.353e-05/0.005196, allocations: 99.73 kB / 395.8 MB, free: 14.57 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001281/0.005324, allocations: 151.7 kB / 395.9 MB, free: 14.43 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000336/0.00566, allocations: 343 kB / 396.2 MB, free: 14.09 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.005664, allocations: 0 / 396.2 MB, free: 14.09 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.113e-06/0.005665, allocations: 0 / 396.2 MB, free: 14.09 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.005671, allocations: 4 kB / 396.2 MB, free: 14.09 MB / 330.7 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.0006348/0.006306, allocations: 0.652 MB / 396.9 MB, free: 13.39 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.006341, allocations: 8.031 kB / 396.9 MB, free: 13.39 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.579e-05/0.006417, allocations: 60.7 kB / 397 MB, free: 13.33 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002112/0.006628, allocations: 228.5 kB / 397.2 MB, free: 13.08 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/0.006646, allocations: 29.03 kB / 397.2 MB, free: 13.05 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.816e-05/0.006684, allocations: 28.38 kB / 397.2 MB, free: 13.02 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002384/0.006922, allocations: 191.3 kB / 397.4 MB, free: 12.83 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.006936, allocations: 4.141 kB / 397.4 MB, free: 12.82 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.736e-05/0.006954, allocations: 8.375 kB / 397.4 MB, free: 12.82 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.891e-05/0.006982, allocations: 17.02 kB / 397.5 MB, free: 12.8 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000134/0.007116, allocations: 99.06 kB / 397.5 MB, free: 12.7 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008138/0.00793, allocations: 0.7929 MB / 398.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002727/0.008203, allocations: 187.3 kB / 398.5 MB, free: 11.69 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.908e-05/0.008272, allocations: 62.98 kB / 398.6 MB, free: 11.62 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.647e-06/0.008281, allocations: 4 kB / 398.6 MB, free: 11.62 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/0.008304, allocations: 45.23 kB / 398.6 MB, free: 11.57 MB / 330.7 MB Notification: Performance of pre-optimization done (n=23): time 1.734e-06/0.008305, allocations: 0 / 398.6 MB, free: 11.57 MB / 330.7 MB Notification: Performance of matching and sorting (n=23): time 0.0005569/0.008862, allocations: 328.1 kB / 399 MB, free: 11.23 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.252e-05/0.008885, allocations: 51.41 kB / 399 MB, free: 11.16 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.008994, allocations: 237.8 kB / 399.2 MB, free: 10.91 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/0.009008, allocations: 29.7 kB / 399.3 MB, free: 10.88 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.221e-05/0.00908, allocations: 219.3 kB / 399.5 MB, free: 10.66 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.686e-05/0.009137, allocations: 95.2 kB / 399.6 MB, free: 10.57 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.174e-05/0.009189, allocations: 51.36 kB / 399.6 MB, free: 10.51 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.00931, allocations: 0.5156 MB / 400.1 MB, free: 9.98 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.298e-05/0.009343, allocations: 19.98 kB / 400.2 MB, free: 9.961 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.447e-05/0.009377, allocations: 27.91 kB / 400.2 MB, free: 9.934 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.618e-05/0.009473, allocations: 87.59 kB / 400.3 MB, free: 9.844 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.009475, allocations: 0 / 400.3 MB, free: 9.844 MB / 330.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002263/0.009701, allocations: 208.8 kB / 400.5 MB, free: 9.621 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.009712, allocations: 4 kB / 400.5 MB, free: 9.617 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.009717, allocations: 0 / 400.5 MB, free: 9.617 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002111/0.009928, allocations: 98.92 kB / 400.6 MB, free: 9.508 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.164e-05/0.01001, allocations: 31.98 kB / 400.6 MB, free: 9.477 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002679/0.01269, allocations: 5.857 MB / 406.5 MB, free: 3.277 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.726e-05/0.01275, allocations: 19.88 kB / 406.5 MB, free: 3.258 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.01275, allocations: 4 kB / 406.5 MB, free: 3.254 MB / 330.7 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.0001024/0.01286, allocations: 172.6 kB / 406.7 MB, free: 3.074 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.319e-05/0.01289, allocations: 27.84 kB / 406.7 MB, free: 3.047 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.684e-05/0.01292, allocations: 29.91 kB / 406.7 MB, free: 3.023 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.01292, allocations: 4 kB / 406.7 MB, free: 3.02 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/0.01293, allocations: 0 / 406.7 MB, free: 3.02 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.01293, allocations: 3.984 kB / 406.7 MB, free: 3.016 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002205/0.01315, allocations: 225 kB / 406.9 MB, free: 2.77 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.01315, allocations: 0 / 406.9 MB, free: 2.77 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.942e-05/0.01325, allocations: 27.98 kB / 407 MB, free: 2.742 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001949/0.01345, allocations: 94.98 kB / 407.1 MB, free: 2.637 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.01346, allocations: 8 kB / 407.1 MB, free: 2.629 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1278/0.1413, allocations: 5.86 MB / 412.9 MB, free: 76.93 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1413, allocations: 0 / 412.9 MB, free: 76.93 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004297/0.1417, allocations: 408.3 kB / 413.3 MB, free: 76.71 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.764e-05/0.1417, allocations: 20.64 kB / 413.3 MB, free: 76.71 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.1417, allocations: 8.312 kB / 413.4 MB, free: 76.71 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.731e-05/0.1418, allocations: 6.969 kB / 413.4 MB, free: 76.71 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.244e-05/0.1419, allocations: 17.36 kB / 413.4 MB, free: 76.71 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.326e-06/0.1419, allocations: 6.844 kB / 413.4 MB, free: 76.71 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.013e-05/0.142, allocations: 166.8 kB / 413.5 MB, free: 76.59 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.142, allocations: 0.9062 kB / 413.6 MB, free: 76.59 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004234/0.1424, allocations: 106.8 kB / 413.7 MB, free: 76.59 MB / 330.7 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.0001067/0.1425, allocations: 101.9 kB / 413.8 MB, free: 76.5 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004616/0.1429, allocations: 0.6424 MB / 414.4 MB, free: 75.98 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.143, allocations: 0 / 414.4 MB, free: 75.98 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002915/0.1432, allocations: 0.609 MB / 415 MB, free: 75.46 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003244/0.1436, allocations: 42.75 kB / 415 MB, free: 75.46 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001077/0.1446, allocations: 0.6745 MB / 415.7 MB, free: 75.19 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001153/0.1448, allocations: 143.9 kB / 415.9 MB, free: 75.11 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.545e-05/0.1448, allocations: 15.3 kB / 415.9 MB, free: 75.11 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.893e-05/0.1449, allocations: 105.8 kB / 416 MB, free: 75.05 MB / 330.7 MB Notification: Performance of SimCode: time 1.062e-06/0.1449, allocations: 0.7656 kB / 416 MB, free: 75.05 MB / 330.7 MB Notification: Performance of Templates: time 0.00788/0.1528, allocations: 4.455 MB / 420.4 MB, free: 74.75 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Thermal.TestLongRod.makefile [Timeout 660] (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=240 -lv LOG_STATS > HanserModelica_HanserModelica.Thermal.TestLongRod.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3101602969691157]