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.001133/0.001133, allocations: 117.1 kB / 16.37 MB, free: 6.012 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.496/1.496, allocations: 222.9 MB / 240 MB, free: 4.496 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.001397/0.001397, allocations: 184.2 kB / 290.3 MB, free: 2.234 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.0348/0.0348, allocations: 8.791 MB / 349.3 MB, free: 4.598 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002548/0.002548, allocations: 77.88 kB / 412.5 MB, free: 41.73 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1225, allocations: 51.56 MB / 464.1 MB, free: 13.52 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.TestLongRod): time 0.005215/0.1278, allocations: 2.005 MB / 466.1 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005418/0.1284, allocations: 159.5 kB / 466.2 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.8e-05/0.1285, allocations: 4 kB / 466.3 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001671/0.1287, allocations: 27.72 kB / 466.3 MB, free: 11.31 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002807/0.129, allocations: 63.52 kB / 466.3 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002039/0.1292, allocations: 47.91 kB / 466.4 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007139/0.1299, allocations: 493.9 kB / 466.9 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006125/0.1306, allocations: 293.7 kB / 467.2 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002766/0.1309, allocations: 183.4 kB / 467.3 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004033/0.1313, allocations: 183.3 kB / 467.5 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.17e-05/0.1314, allocations: 48 kB / 467.6 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001135/0.1315, allocations: 48 kB / 467.6 MB, free: 9.977 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000186/0.1317, allocations: 99.73 kB / 467.7 MB, free: 9.879 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003203/0.1321, allocations: 211.1 kB / 467.9 MB, free: 9.672 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007072/0.1328, allocations: 0.5492 MB / 468.5 MB, free: 9.121 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.1328, allocations: 0 / 468.5 MB, free: 9.121 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1328, allocations: 0 / 468.5 MB, free: 9.121 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.197e-06/0.1328, allocations: 4 kB / 468.5 MB, free: 9.117 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.001174/0.134, allocations: 0.6395 MB / 469.1 MB, free: 8.426 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/0.1341, allocations: 8.031 kB / 469.1 MB, free: 8.418 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.162e-05/0.1341, allocations: 36.56 kB / 469.1 MB, free: 8.383 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004653/0.1346, allocations: 311.8 kB / 469.5 MB, free: 8.039 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.663e-05/0.1347, allocations: 21.03 kB / 469.5 MB, free: 8.02 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.999e-05/0.1347, allocations: 28.38 kB / 469.5 MB, free: 7.992 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006297/0.1354, allocations: 394.5 kB / 469.9 MB, free: 7.602 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.122e-05/0.1354, allocations: 8.031 kB / 469.9 MB, free: 7.594 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.444e-05/0.1354, allocations: 15.94 kB / 469.9 MB, free: 7.578 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.07e-05/0.1355, allocations: 16.66 kB / 469.9 MB, free: 7.559 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000573/0.136, allocations: 358.3 kB / 470.3 MB, free: 7.211 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001716/0.1378, allocations: 1.421 MB / 471.7 MB, free: 5.664 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006592/0.1384, allocations: 388 kB / 472.1 MB, free: 5.277 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002613/0.1387, allocations: 196.7 kB / 472.3 MB, free: 5.082 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.804e-05/0.1387, allocations: 4 kB / 472.3 MB, free: 5.078 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.649e-05/0.1388, allocations: 34.56 kB / 472.3 MB, free: 5.035 MB / 302.1 MB Notification: Performance of pre-optimization done (n=23): time 1.694e-06/0.1388, allocations: 0 / 472.3 MB, free: 5.035 MB / 302.1 MB Notification: Performance of matching and sorting (n=23): time 0.001606/0.1404, allocations: 0.8542 MB / 473.2 MB, free: 4.113 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.985e-05/0.1404, allocations: 59.34 kB / 473.2 MB, free: 4.043 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002108/0.1407, allocations: 215.4 kB / 473.4 MB, free: 3.816 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.688e-05/0.1407, allocations: 29.7 kB / 473.5 MB, free: 3.781 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.453e-05/0.1408, allocations: 168.3 kB / 473.6 MB, free: 3.613 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.276e-05/0.1409, allocations: 87.14 kB / 473.7 MB, free: 3.527 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.194e-05/0.141, allocations: 41.72 kB / 473.7 MB, free: 3.48 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001856/0.1412, allocations: 330.8 kB / 474.1 MB, free: 3.148 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001705/0.1413, allocations: 111.9 kB / 474.2 MB, free: 3.039 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001703/0.1415, allocations: 120.8 kB / 474.3 MB, free: 2.922 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003632/0.1419, allocations: 277 kB / 474.6 MB, free: 2.648 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1419, allocations: 0 / 474.6 MB, free: 2.648 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006663/0.1426, allocations: 439.6 kB / 475 MB, free: 2.203 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.1426, allocations: 5.719 kB / 475 MB, free: 2.199 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1426, allocations: 0 / 475 MB, free: 2.199 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003735/0.143, allocations: 134.5 kB / 475.1 MB, free: 2.059 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000165/0.1432, allocations: 43.91 kB / 475.2 MB, free: 2.016 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004245/0.1474, allocations: 5.164 MB / 480.3 MB, free: 12.43 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001439/0.1476, allocations: 23.86 kB / 480.4 MB, free: 12.41 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.622e-05/0.1476, allocations: 4 kB / 480.4 MB, free: 12.4 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.0002327/0.1478, allocations: 205.6 kB / 480.6 MB, free: 12.19 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.685e-05/0.1479, allocations: 23.88 kB / 480.6 MB, free: 12.17 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.992e-05/0.148, allocations: 33.81 kB / 480.6 MB, free: 12.13 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.148, allocations: 3.984 kB / 480.6 MB, free: 12.13 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/0.148, allocations: 4 kB / 480.6 MB, free: 12.12 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.148, allocations: 0 / 480.6 MB, free: 12.12 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000455/0.1485, allocations: 425.2 kB / 481 MB, free: 11.66 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.032e-06/0.1485, allocations: 4 kB / 481.1 MB, free: 11.66 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002147/0.1487, allocations: 43.97 kB / 481.1 MB, free: 11.61 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003022/0.149, allocations: 134.4 kB / 481.2 MB, free: 11.47 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.026e-05/0.1491, allocations: 11.94 kB / 481.2 MB, free: 11.46 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003908/0.153, allocations: 5.156 MB / 486.4 MB, free: 5.891 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.153, allocations: 3.938 kB / 486.4 MB, free: 5.887 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009077/0.1539, allocations: 0.6576 MB / 487.1 MB, free: 5.203 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.554e-05/0.154, allocations: 112.8 kB / 487.2 MB, free: 5.074 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.301e-05/0.1541, allocations: 12 kB / 487.2 MB, free: 5.062 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/0.1542, allocations: 11.98 kB / 487.2 MB, free: 5.051 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.432e-05/0.1543, allocations: 15.97 kB / 487.2 MB, free: 5.035 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.347e-05/0.1543, allocations: 8 kB / 487.2 MB, free: 5.027 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001355/0.1544, allocations: 161.2 kB / 487.4 MB, free: 4.871 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1544, allocations: 4 kB / 487.4 MB, free: 4.867 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005832/0.155, allocations: 107.7 kB / 487.5 MB, free: 4.762 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.0001058/0.1551, allocations: 103.2 kB / 487.6 MB, free: 4.652 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008466/0.156, allocations: 0.6623 MB / 488.2 MB, free: 3.953 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.156, allocations: 0 / 488.2 MB, free: 3.953 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006455/0.1566, allocations: 0.5155 MB / 488.8 MB, free: 3.398 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003593/0.157, allocations: 50.11 kB / 488.8 MB, free: 3.352 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001271/0.1583, allocations: 0.8522 MB / 489.7 MB, free: 2.469 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004084/0.1587, allocations: 0.8458 MB / 490.5 MB, free: 1.594 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001339/0.1589, allocations: 53.91 kB / 490.6 MB, free: 1.543 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.023e-05/0.1589, allocations: 15.44 kB / 490.6 MB, free: 1.527 MB / 318.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1589, allocations: 0 / 490.6 MB, free: 1.527 MB / 318.1 MB Notification: Performance of Templates: time 0.007579/0.1665, allocations: 4.255 MB / 494.8 MB, free: 13.31 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 -s cvode -lv LOG_STATS > HanserModelica_HanserModelica.Thermal.TestLongRod.pipe 2>&1)