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.001001/0.001001, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.429/1.429, allocations: 223.3 MB / 239.4 MB, free: 5.469 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.001262/0.001261, allocations: 184.5 kB / 290.6 MB, free: 2.148 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03466/0.03466, allocations: 8.794 MB / 350.5 MB, free: 4.598 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0007113/0.0007112, allocations: 14.5 kB / 413.8 MB, free: 42.79 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1039, allocations: 52.56 MB / 466.4 MB, free: 13.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.TestLongRod): time 0.002369/0.1063, allocations: 1.712 MB / 468.1 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004234/0.1068, allocations: 159.5 kB / 468.2 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001041/0.1069, allocations: 4 kB / 468.2 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001307/0.107, allocations: 23.84 kB / 468.3 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002153/0.1073, allocations: 55.59 kB / 468.3 MB, free: 11.15 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001528/0.1074, allocations: 31.98 kB / 468.3 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000514/0.108, allocations: 0.4901 MB / 468.8 MB, free: 10.63 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004156/0.1084, allocations: 240.8 kB / 469.1 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002395/0.1086, allocations: 139.4 kB / 469.2 MB, free: 10.26 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003317/0.109, allocations: 143.4 kB / 469.4 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.337e-05/0.109, allocations: 23.94 kB / 469.4 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.805e-05/0.1091, allocations: 16 kB / 469.4 MB, free: 10.08 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000102/0.1092, allocations: 59.75 kB / 469.4 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002622/0.1095, allocations: 204.8 kB / 469.6 MB, free: 9.812 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005423/0.1101, allocations: 0.5181 MB / 470.2 MB, free: 9.293 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.1101, allocations: 0 / 470.2 MB, free: 9.293 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1101, allocations: 0 / 470.2 MB, free: 9.293 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.521e-05/0.1101, allocations: 0 / 470.2 MB, free: 9.293 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.001122/0.1112, allocations: 0.581 MB / 470.7 MB, free: 8.66 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.1113, allocations: 8.031 kB / 470.8 MB, free: 8.652 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001232/0.1114, allocations: 36.56 kB / 470.8 MB, free: 8.617 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004435/0.1119, allocations: 307.8 kB / 471.1 MB, free: 8.277 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.563e-05/0.1119, allocations: 21.03 kB / 471.1 MB, free: 8.258 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.528e-05/0.112, allocations: 28.38 kB / 471.1 MB, free: 8.23 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007168/0.1127, allocations: 398.5 kB / 471.5 MB, free: 7.836 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/0.1127, allocations: 192 / 471.5 MB, free: 7.836 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.464e-05/0.1128, allocations: 15.94 kB / 471.5 MB, free: 7.82 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.863e-05/0.1128, allocations: 16.66 kB / 471.6 MB, free: 7.801 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000629/0.1134, allocations: 358.4 kB / 471.9 MB, free: 7.453 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001731/0.1152, allocations: 1.428 MB / 473.3 MB, free: 5.898 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007041/0.1159, allocations: 390.4 kB / 473.7 MB, free: 5.508 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002834/0.1162, allocations: 196.7 kB / 473.9 MB, free: 5.312 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.234e-05/0.1162, allocations: 7.938 kB / 473.9 MB, free: 5.305 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/0.1162, allocations: 38.56 kB / 474 MB, free: 5.258 MB / 302.1 MB Notification: Performance of pre-optimization done (n=23): time 1.613e-06/0.1163, allocations: 3.938 kB / 474 MB, free: 5.254 MB / 302.1 MB Notification: Performance of matching and sorting (n=23): time 0.001573/0.1178, allocations: 0.869 MB / 474.8 MB, free: 4.316 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.29e-05/0.1179, allocations: 55.34 kB / 474.9 MB, free: 4.25 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002166/0.1181, allocations: 215.4 kB / 475.1 MB, free: 4.023 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.247e-05/0.1181, allocations: 29.7 kB / 475.1 MB, free: 3.988 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.1182, allocations: 176.3 kB / 475.3 MB, free: 3.809 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.433e-05/0.1183, allocations: 78.81 kB / 475.4 MB, free: 3.73 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.05e-05/0.1184, allocations: 25.66 kB / 475.4 MB, free: 3.699 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.1185, allocations: 334.8 kB / 475.7 MB, free: 3.363 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001855/0.1187, allocations: 115.9 kB / 475.8 MB, free: 3.25 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001857/0.1189, allocations: 120.8 kB / 476 MB, free: 3.133 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003927/0.1193, allocations: 284.9 kB / 476.2 MB, free: 2.852 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1193, allocations: 0 / 476.2 MB, free: 2.852 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0007118/0.12, allocations: 431.7 kB / 476.7 MB, free: 2.414 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.12, allocations: 10.03 kB / 476.7 MB, free: 2.406 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.054e-06/0.1201, allocations: 4 kB / 476.7 MB, free: 2.402 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003716/0.1204, allocations: 134.4 kB / 476.8 MB, free: 2.262 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000166/0.1206, allocations: 39.91 kB / 476.8 MB, free: 2.223 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0037/0.1243, allocations: 4.712 MB / 481.6 MB, free: 13.11 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001683/0.1245, allocations: 39.78 kB / 481.6 MB, free: 13.07 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.357e-05/0.1245, allocations: 4 kB / 481.6 MB, free: 13.07 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.0002048/0.1247, allocations: 205.7 kB / 481.8 MB, free: 12.86 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.779e-05/0.1248, allocations: 19.81 kB / 481.8 MB, free: 12.84 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.044e-05/0.1249, allocations: 33.86 kB / 481.8 MB, free: 12.8 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.285e-05/0.1249, allocations: 4 kB / 481.9 MB, free: 12.8 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.1249, allocations: 3.938 kB / 481.9 MB, free: 12.8 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.1249, allocations: 0 / 481.9 MB, free: 12.8 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004511/0.1254, allocations: 421.2 kB / 482.3 MB, free: 12.34 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.1254, allocations: 4 kB / 482.3 MB, free: 12.33 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001905/0.1256, allocations: 39.97 kB / 482.3 MB, free: 12.29 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000294/0.1259, allocations: 130.5 kB / 482.4 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.253e-05/0.1259, allocations: 11.98 kB / 482.4 MB, free: 12.14 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003529/0.1295, allocations: 4.708 MB / 487.2 MB, free: 7.035 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.1295, allocations: 0 / 487.2 MB, free: 7.035 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009437/0.1304, allocations: 0.6714 MB / 487.8 MB, free: 6.34 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.008e-05/0.1305, allocations: 100.8 kB / 487.9 MB, free: 6.223 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.147e-05/0.1305, allocations: 8.031 kB / 487.9 MB, free: 6.215 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001623/0.1307, allocations: 27.89 kB / 488 MB, free: 6.188 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.095e-05/0.1308, allocations: 23.91 kB / 488 MB, free: 6.164 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/0.1308, allocations: 4 kB / 488 MB, free: 6.16 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001524/0.131, allocations: 168 kB / 488.2 MB, free: 5.996 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.131, allocations: 0 / 488.2 MB, free: 5.996 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000581/0.1316, allocations: 107.7 kB / 488.3 MB, free: 5.891 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.0001279/0.1317, allocations: 108.4 kB / 488.4 MB, free: 5.773 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008974/0.1326, allocations: 0.66 MB / 489 MB, free: 5.074 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.1326, allocations: 4 kB / 489 MB, free: 5.07 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000584/0.1332, allocations: 0.5155 MB / 489.5 MB, free: 4.516 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003692/0.1336, allocations: 54.34 kB / 489.6 MB, free: 4.465 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001419/0.135, allocations: 1.022 MB / 490.6 MB, free: 3.422 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005688/0.1356, allocations: 0.8455 MB / 491.5 MB, free: 2.551 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001352/0.1357, allocations: 49.91 kB / 491.5 MB, free: 2.5 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.206e-05/0.1358, allocations: 15.44 kB / 491.5 MB, free: 2.484 MB / 318.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1358, allocations: 0 / 491.5 MB, free: 2.484 MB / 318.1 MB Notification: Performance of Templates: time 0.007626/0.1434, allocations: 4.031 MB / 495.6 MB, free: 14.48 MB / 334.1 MB make -j1 -f HanserModelica_HanserModelica.Thermal.TestLongRod.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: