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.001735/0.001735, allocations: 108 kB / 15.6 MB, free: 132 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.505/1.505, allocations: 222.9 MB / 239.2 MB, free: 4.578 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.001218/0.001218, allocations: 188.5 kB / 289.5 MB, free: 2.305 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03386/0.03386, allocations: 8.794 MB / 348.5 MB, free: 4.668 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001566/0.001566, allocations: 80.66 kB / 411.1 MB, free: 41.96 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09581/0.0974, allocations: 51.56 MB / 462.6 MB, free: 14.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.TestLongRod): time 0.003996/0.1014, allocations: 1.999 MB / 464.6 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005268/0.102, allocations: 163.5 kB / 464.8 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001435/0.1022, allocations: 4 kB / 464.8 MB, free: 12.1 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001643/0.1023, allocations: 27.72 kB / 464.8 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002306/0.1026, allocations: 71.47 kB / 464.9 MB, free: 12 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001706/0.1028, allocations: 39.95 kB / 464.9 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005238/0.1033, allocations: 497.9 kB / 465.4 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004418/0.1038, allocations: 281.7 kB / 465.7 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002269/0.104, allocations: 179.5 kB / 465.9 MB, free: 11.03 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002989/0.1043, allocations: 195.2 kB / 466.1 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.244e-05/0.1044, allocations: 44 kB / 466.1 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000101/0.1045, allocations: 48 kB / 466.2 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001279/0.1046, allocations: 99.69 kB / 466.2 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000236/0.1049, allocations: 207.2 kB / 466.5 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000487/0.1054, allocations: 0.5456 MB / 467 MB, free: 9.898 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.1054, allocations: 4 kB / 467 MB, free: 9.895 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1054, allocations: 0 / 467 MB, free: 9.895 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.369e-05/0.1054, allocations: 0 / 467 MB, free: 9.895 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.001218/0.1066, allocations: 0.6411 MB / 467.6 MB, free: 9.203 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.1067, allocations: 16.03 kB / 467.7 MB, free: 9.188 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001309/0.1068, allocations: 36.56 kB / 467.7 MB, free: 9.152 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003794/0.1072, allocations: 311.8 kB / 468 MB, free: 8.809 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.896e-05/0.1073, allocations: 24.97 kB / 468 MB, free: 8.785 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.217e-05/0.1073, allocations: 32.38 kB / 468.1 MB, free: 8.754 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006529/0.108, allocations: 394.5 kB / 468.4 MB, free: 8.363 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.877e-05/0.108, allocations: 4.094 kB / 468.4 MB, free: 8.359 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.477e-05/0.1081, allocations: 15.94 kB / 468.5 MB, free: 8.344 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.177e-05/0.1081, allocations: 16.64 kB / 468.5 MB, free: 8.324 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005813/0.1087, allocations: 358.4 kB / 468.8 MB, free: 7.977 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00176/0.1105, allocations: 1.421 MB / 470.2 MB, free: 6.43 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006877/0.1112, allocations: 382.5 kB / 470.6 MB, free: 6.047 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002911/0.1115, allocations: 196.7 kB / 470.8 MB, free: 5.852 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.341e-05/0.1115, allocations: 4 kB / 470.8 MB, free: 5.848 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.1115, allocations: 30.56 kB / 470.8 MB, free: 5.809 MB / 302.1 MB Notification: Performance of pre-optimization done (n=23): time 1.613e-06/0.1115, allocations: 4 kB / 470.8 MB, free: 5.805 MB / 302.1 MB Notification: Performance of matching and sorting (n=23): time 0.001684/0.1132, allocations: 0.8584 MB / 471.7 MB, free: 4.879 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.848e-05/0.1133, allocations: 59.34 kB / 471.8 MB, free: 4.809 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002638/0.1135, allocations: 219.4 kB / 472 MB, free: 4.582 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.881e-05/0.1136, allocations: 25.7 kB / 472 MB, free: 4.551 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/0.1137, allocations: 180.3 kB / 472.2 MB, free: 4.371 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000104/0.1138, allocations: 82.75 kB / 472.3 MB, free: 4.289 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.794e-05/0.1139, allocations: 37.72 kB / 472.3 MB, free: 4.246 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.1141, allocations: 334.8 kB / 472.6 MB, free: 3.91 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002038/0.1143, allocations: 115.9 kB / 472.7 MB, free: 3.797 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001764/0.1145, allocations: 116.8 kB / 472.9 MB, free: 3.684 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004103/0.1149, allocations: 280.9 kB / 473.1 MB, free: 3.406 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.1149, allocations: 4 kB / 473.1 MB, free: 3.402 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0007232/0.1156, allocations: 431.7 kB / 473.6 MB, free: 2.965 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.479e-05/0.1157, allocations: 8 kB / 473.6 MB, free: 2.957 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.1157, allocations: 0 / 473.6 MB, free: 2.957 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000438/0.1161, allocations: 134.5 kB / 473.7 MB, free: 2.816 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001717/0.1163, allocations: 43.84 kB / 473.7 MB, free: 2.773 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004415/0.1207, allocations: 5.164 MB / 478.9 MB, free: 13.19 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001403/0.1209, allocations: 15.88 kB / 478.9 MB, free: 13.17 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.751e-05/0.1209, allocations: 11.98 kB / 478.9 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.0002235/0.1211, allocations: 205.7 kB / 479.1 MB, free: 12.95 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.104e-05/0.1212, allocations: 15.81 kB / 479.1 MB, free: 12.93 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.078e-05/0.1213, allocations: 29.81 kB / 479.2 MB, free: 12.9 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.1213, allocations: 8.25 kB / 479.2 MB, free: 12.89 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.1213, allocations: 0 / 479.2 MB, free: 12.89 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.002e-06/0.1213, allocations: 11.91 kB / 479.2 MB, free: 12.88 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004722/0.1218, allocations: 429.2 kB / 479.6 MB, free: 12.41 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.1218, allocations: 0 / 479.6 MB, free: 12.41 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001951/0.122, allocations: 39.91 kB / 479.6 MB, free: 12.38 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002997/0.1223, allocations: 130.5 kB / 479.8 MB, free: 12.24 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.209e-05/0.1223, allocations: 11.94 kB / 479.8 MB, free: 12.23 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003804/0.1261, allocations: 5.168 MB / 485 MB, free: 6.645 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1262, allocations: 0 / 485 MB, free: 6.645 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009627/0.1271, allocations: 0.6653 MB / 485.6 MB, free: 5.953 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.044e-05/0.1272, allocations: 100.8 kB / 485.7 MB, free: 5.836 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.81e-05/0.1273, allocations: 8.031 kB / 485.7 MB, free: 5.828 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001561/0.1275, allocations: 19.98 kB / 485.7 MB, free: 5.809 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.417e-05/0.1276, allocations: 19.92 kB / 485.8 MB, free: 5.789 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.544e-05/0.1276, allocations: 4 kB / 485.8 MB, free: 5.785 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001622/0.1278, allocations: 169.1 kB / 485.9 MB, free: 5.621 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1278, allocations: 0 / 485.9 MB, free: 5.621 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006316/0.1284, allocations: 103.7 kB / 486 MB, free: 5.52 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.0001393/0.1285, allocations: 109.9 kB / 486.1 MB, free: 5.406 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001025/0.1296, allocations: 0.674 MB / 486.8 MB, free: 4.695 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/0.1296, allocations: 4 kB / 486.8 MB, free: 4.691 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000616/0.1302, allocations: 0.5194 MB / 487.3 MB, free: 4.133 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003921/0.1306, allocations: 53.78 kB / 487.4 MB, free: 4.082 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001526/0.1322, allocations: 0.8579 MB / 488.3 MB, free: 3.191 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004515/0.1326, allocations: 0.8419 MB / 489.1 MB, free: 2.32 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001423/0.1328, allocations: 53.91 kB / 489.1 MB, free: 2.27 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.968e-05/0.1328, allocations: 15.44 kB / 489.2 MB, free: 2.254 MB / 318.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1328, allocations: 0 / 489.2 MB, free: 2.254 MB / 318.1 MB Notification: Performance of Templates: time 0.009527/0.1424, allocations: 4.26 MB / 493.4 MB, free: 14.03 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)