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.000848/0.000848, allocations: 80.75 kB / 19.94 MB, free: 4.547 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 0.9209/0.9209, allocations: 177.2 MB / 200.3 MB, free: 5.676 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.001903/0.001903, allocations: 156.6 kB / 257 MB, free: 12.96 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.02906/0.02906, allocations: 6.657 MB / 266.9 MB, free: 3.223 MB / 250.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.443e-06/1.443e-06, allocations: 0 / 285.6 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.618e-05/1.762e-05, allocations: 2.312 kB / 285.6 MB, free: 0.5117 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.TestLongRod): time 0.1123/0.1123, allocations: 2.051 MB / 287.7 MB, free: 21.37 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004378/0.1128, allocations: 174.3 kB / 287.8 MB, free: 21.3 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.476e-05/0.1129, allocations: 2.406 kB / 287.8 MB, free: 21.3 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001311/0.113, allocations: 22.12 kB / 287.9 MB, free: 21.29 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001672/0.1132, allocations: 78.5 kB / 287.9 MB, free: 21.25 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001432/0.1133, allocations: 40.34 kB / 288 MB, free: 21.25 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000348/0.1136, allocations: 0.5093 MB / 288.5 MB, free: 21.03 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002019/0.1139, allocations: 162 kB / 288.6 MB, free: 20.94 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002548/0.1141, allocations: 280.1 kB / 288.9 MB, free: 20.82 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002548/0.1144, allocations: 211.5 kB / 289.1 MB, free: 20.73 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.919e-05/0.1144, allocations: 46.5 kB / 289.2 MB, free: 20.73 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.207e-05/0.1145, allocations: 47.34 kB / 289.2 MB, free: 20.73 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.925e-05/0.1146, allocations: 99.28 kB / 289.3 MB, free: 20.67 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000123/0.1147, allocations: 154.1 kB / 289.5 MB, free: 20.6 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002914/0.115, allocations: 329.4 kB / 289.8 MB, free: 20.46 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.115, allocations: 0 / 289.8 MB, free: 20.46 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.115, allocations: 1.438 kB / 289.8 MB, free: 20.46 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.146e-06/0.115, allocations: 0.5312 kB / 289.8 MB, free: 20.46 MB / 266.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.0006259/0.1156, allocations: 0.5138 MB / 290.3 MB, free: 20.07 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.1156, allocations: 9.531 kB / 290.3 MB, free: 20.07 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.282e-05/0.1157, allocations: 48.69 kB / 290.4 MB, free: 20.06 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001926/0.1159, allocations: 171.8 kB / 290.5 MB, free: 19.9 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.987e-05/0.116, allocations: 21.34 kB / 290.5 MB, free: 19.89 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.919e-05/0.116, allocations: 31.64 kB / 290.6 MB, free: 19.88 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003003/0.1163, allocations: 215.5 kB / 290.8 MB, free: 19.79 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.1163, allocations: 3.656 kB / 290.8 MB, free: 19.79 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.962e-05/0.1163, allocations: 10.62 kB / 290.8 MB, free: 19.78 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.531e-05/0.1164, allocations: 13.33 kB / 290.8 MB, free: 19.78 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001485/0.1165, allocations: 91.77 kB / 290.9 MB, free: 19.76 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000717/0.1172, allocations: 0.601 MB / 291.5 MB, free: 19.41 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002487/0.1175, allocations: 157.3 kB / 291.7 MB, free: 19.35 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.451e-05/0.1175, allocations: 49.34 kB / 291.7 MB, free: 19.34 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.054e-05/0.1176, allocations: 5.344 kB / 291.7 MB, free: 19.34 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.542e-05/0.1176, allocations: 33.94 kB / 291.7 MB, free: 19.3 MB / 266.7 MB Notification: Performance of pre-optimization done (n=23): time 1.623e-06/0.1176, allocations: 0 / 291.7 MB, free: 19.3 MB / 266.7 MB Notification: Performance of matching and sorting (n=23): time 0.0005454/0.1181, allocations: 291.2 kB / 292 MB, free: 19.21 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.001e-05/0.1181, allocations: 55.23 kB / 292.1 MB, free: 19.15 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.584e-05/0.1182, allocations: 168.2 kB / 292.2 MB, free: 19.02 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.14e-05/0.1182, allocations: 30.86 kB / 292.3 MB, free: 18.98 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.44e-05/0.1183, allocations: 161.4 kB / 292.4 MB, free: 18.85 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.693e-05/0.1183, allocations: 87.39 kB / 292.5 MB, free: 18.78 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.369e-05/0.1184, allocations: 42.72 kB / 292.6 MB, free: 18.75 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.382e-05/0.1184, allocations: 328.6 kB / 292.9 MB, free: 18.43 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.642e-05/0.1185, allocations: 19.23 kB / 292.9 MB, free: 18.43 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.673e-05/0.1185, allocations: 20.25 kB / 292.9 MB, free: 18.43 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.758e-05/0.1186, allocations: 78.44 kB / 293 MB, free: 18.41 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.1186, allocations: 0 / 293 MB, free: 18.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002511/0.1189, allocations: 176.3 kB / 293.2 MB, free: 18.33 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.1189, allocations: 6 kB / 293.2 MB, free: 18.33 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1189, allocations: 0.5 kB / 293.2 MB, free: 18.33 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002582/0.1191, allocations: 80.94 kB / 293.3 MB, free: 18.3 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.255e-05/0.1192, allocations: 34.77 kB / 293.3 MB, free: 18.3 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001315/0.1205, allocations: 3.985 MB / 297.3 MB, free: 14.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.918e-05/0.1206, allocations: 11.2 kB / 297.3 MB, free: 14.43 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/0.1206, allocations: 7.375 kB / 297.3 MB, free: 14.42 MB / 266.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 6.578e-05/0.1207, allocations: 116.9 kB / 297.4 MB, free: 14.3 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.287e-05/0.1207, allocations: 23.02 kB / 297.4 MB, free: 14.3 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.573e-05/0.1207, allocations: 29.78 kB / 297.5 MB, free: 14.27 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.1207, allocations: 3.188 kB / 297.5 MB, free: 14.27 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-06/0.1207, allocations: 7.938 kB / 297.5 MB, free: 14.27 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.1207, allocations: 2.578 kB / 297.5 MB, free: 14.27 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001818/0.1209, allocations: 180.8 kB / 297.7 MB, free: 14.15 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.1209, allocations: 2.969 kB / 297.7 MB, free: 14.15 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.976e-05/0.121, allocations: 39.02 kB / 297.7 MB, free: 14.14 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001665/0.1212, allocations: 77.98 kB / 297.8 MB, free: 14.11 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.1212, allocations: 8.703 kB / 297.8 MB, free: 14.11 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001172/0.1224, allocations: 3.992 MB / 301.8 MB, free: 10.24 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.1224, allocations: 0.9375 kB / 301.8 MB, free: 10.24 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002697/0.1226, allocations: 302.9 kB / 302.1 MB, free: 10.06 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.717e-05/0.1227, allocations: 22.16 kB / 302.1 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.728e-05/0.1227, allocations: 14.84 kB / 302.1 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.592e-05/0.1227, allocations: 3.734 kB / 302.1 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.319e-05/0.1228, allocations: 20.47 kB / 302.1 MB, free: 10.03 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.113e-06/0.1228, allocations: 6.312 kB / 302.1 MB, free: 10.03 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.386e-05/0.1228, allocations: 48.12 kB / 302.2 MB, free: 10.01 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1228, allocations: 0 / 302.2 MB, free: 10.01 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000325/0.1232, allocations: 110.2 kB / 302.3 MB, free: 9.98 MB / 266.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 7.525e-05/0.1232, allocations: 84.83 kB / 302.4 MB, free: 9.906 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003407/0.1236, allocations: 475.3 kB / 302.8 MB, free: 9.523 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.1236, allocations: 0 / 302.8 MB, free: 9.523 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002031/0.1238, allocations: 449.5 kB / 303.3 MB, free: 9.137 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001791/0.124, allocations: 34.55 kB / 303.3 MB, free: 9.125 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008168/0.1248, allocations: 0.6056 MB / 303.9 MB, free: 8.766 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.368e-05/0.1249, allocations: 121.5 kB / 304 MB, free: 8.691 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.034e-05/0.1249, allocations: 14.58 kB / 304 MB, free: 8.688 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.755e-05/0.125, allocations: 78.17 kB / 304.1 MB, free: 8.641 MB / 266.7 MB Notification: Performance of SimCode: time 6.32e-07/0.125, allocations: 0 / 304.1 MB, free: 8.641 MB / 266.7 MB Notification: Performance of Templates: time 0.005885/0.1309, allocations: 4.423 MB / 308.5 MB, free: 6.801 MB / 266.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: 2.669320474844426]