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.001032/0.001032, allocations: 72.19 kB / 9.903 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001514/0.002546, allocations: 435.8 kB / 10.33 MB, free: 364 kB / 10.45 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.9811/0.9811, allocations: 177.2 MB / 188.2 MB, free: 4.5 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1722/1.153, allocations: 53.64 MB / 241.9 MB, free: 2.738 MB / 234.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.0007844/0.0007844, allocations: 147.6 kB / 242.8 MB, free: 1.875 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001075/0.001859, allocations: 482.2 kB / 243.2 MB, free: 1.422 MB / 234.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.02411/0.02411, allocations: 6.655 MB / 250.6 MB, free: 10.24 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005018/0.02913, allocations: 2.666 MB / 253.3 MB, free: 7.562 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.663e-06/1.663e-06, allocations: 0 / 254.5 MB, free: 6.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.001e-05/2.167e-05, allocations: 2.312 kB / 254.5 MB, free: 6.316 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.TestLongRod): time 0.002134/0.002156, allocations: 2.118 MB / 256.7 MB, free: 4.191 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003002/0.002456, allocations: 175.3 kB / 256.8 MB, free: 4.02 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.126e-05/0.002517, allocations: 4 kB / 256.8 MB, free: 4.016 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 7.791e-05/0.002595, allocations: 19.78 kB / 256.9 MB, free: 3.996 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001281/0.002723, allocations: 79.34 kB / 256.9 MB, free: 3.918 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001149/0.002838, allocations: 39.95 kB / 257 MB, free: 3.879 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003412/0.003179, allocations: 0.5055 MB / 257.5 MB, free: 3.371 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002104/0.00339, allocations: 166.1 kB / 257.6 MB, free: 3.207 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002671/0.003657, allocations: 304.4 kB / 257.9 MB, free: 2.906 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002188/0.003876, allocations: 211.5 kB / 258.1 MB, free: 2.699 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.626e-05/0.003922, allocations: 48 kB / 258.2 MB, free: 2.652 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.502e-05/0.003967, allocations: 51.94 kB / 258.2 MB, free: 2.602 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.215e-05/0.004039, allocations: 71.81 kB / 258.3 MB, free: 2.531 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001036/0.004143, allocations: 127.8 kB / 258.4 MB, free: 2.406 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002604/0.004403, allocations: 315.1 kB / 258.7 MB, free: 2.098 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.418e-05/0.004417, allocations: 0 / 258.7 MB, free: 2.098 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.004418, allocations: 0 / 258.7 MB, free: 2.098 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.597e-05/0.004434, allocations: 4 kB / 258.7 MB, free: 2.094 MB / 250.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.0006353/0.005069, allocations: 0.5817 MB / 259.3 MB, free: 1.484 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.005102, allocations: 8.031 kB / 259.3 MB, free: 1.477 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.125e-05/0.005163, allocations: 44.91 kB / 259.4 MB, free: 1.434 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001807/0.005344, allocations: 178 kB / 259.6 MB, free: 1.234 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.005361, allocations: 21.03 kB / 259.6 MB, free: 1.215 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.218e-05/0.005403, allocations: 36.38 kB / 259.6 MB, free: 1.18 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000252/0.005655, allocations: 210.1 kB / 259.8 MB, free: 0.9609 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.005668, allocations: 192 / 259.8 MB, free: 0.9609 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.114e-05/0.005689, allocations: 16.38 kB / 259.8 MB, free: 0.9453 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.141e-05/0.00572, allocations: 17.02 kB / 259.8 MB, free: 0.9297 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001264/0.005846, allocations: 86.98 kB / 259.9 MB, free: 0.8438 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000962/0.006809, allocations: 0.6011 MB / 260.5 MB, free: 228 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002405/0.007049, allocations: 158.2 kB / 260.7 MB, free: 60 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.891e-05/0.007108, allocations: 52.83 kB / 260.7 MB, free: 4 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.558e-06/0.007117, allocations: 4 kB / 260.7 MB, free: 0 / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/0.00715, allocations: 42.55 kB / 260.8 MB, free: 15.95 MB / 266.7 MB Notification: Performance of pre-optimization done (n=23): time 2.094e-06/0.007152, allocations: 3.984 kB / 260.8 MB, free: 15.95 MB / 266.7 MB Notification: Performance of matching and sorting (n=23): time 0.0005087/0.007661, allocations: 286 kB / 261.1 MB, free: 15.65 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.541e-05/0.007686, allocations: 55.41 kB / 261.1 MB, free: 15.59 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.302e-05/0.007779, allocations: 162.6 kB / 261.3 MB, free: 15.41 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.279e-05/0.007792, allocations: 29.7 kB / 261.3 MB, free: 15.38 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.993e-05/0.007842, allocations: 164.6 kB / 261.5 MB, free: 15.21 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.219e-05/0.007894, allocations: 87.2 kB / 261.6 MB, free: 15.13 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.895e-05/0.007943, allocations: 41.69 kB / 261.6 MB, free: 15.08 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.06e-05/0.008013, allocations: 330.8 kB / 261.9 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.994e-05/0.008043, allocations: 16 kB / 261.9 MB, free: 14.73 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.113e-05/0.008075, allocations: 21.08 kB / 262 MB, free: 14.71 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.48e-05/0.008159, allocations: 72.02 kB / 262 MB, free: 14.64 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.008162, allocations: 8 kB / 262 MB, free: 14.64 MB / 266.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000198/0.00836, allocations: 171.9 kB / 262.2 MB, free: 14.45 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.008373, allocations: 8 kB / 262.2 MB, free: 14.45 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.008378, allocations: 0 / 262.2 MB, free: 14.45 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002247/0.008602, allocations: 78.52 kB / 262.3 MB, free: 14.36 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000158/0.00876, allocations: 62.98 kB / 262.3 MB, free: 14.3 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001758/0.01052, allocations: 3.989 MB / 266.3 MB, free: 10.05 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.476e-05/0.01056, allocations: 15.89 kB / 266.4 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.01057, allocations: 4 kB / 266.4 MB, free: 10.04 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 8.127e-05/0.01065, allocations: 124.7 kB / 266.5 MB, free: 9.902 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.614e-05/0.01068, allocations: 15.98 kB / 266.5 MB, free: 9.887 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.091e-05/0.01071, allocations: 33.89 kB / 266.5 MB, free: 9.859 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.01071, allocations: 4 kB / 266.5 MB, free: 9.855 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.01072, allocations: 0 / 266.5 MB, free: 9.855 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.01072, allocations: 0 / 266.5 MB, free: 9.855 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001703/0.01089, allocations: 181.6 kB / 266.7 MB, free: 9.66 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.01089, allocations: 0 / 266.7 MB, free: 9.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001429/0.01103, allocations: 69.59 kB / 266.8 MB, free: 9.594 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.258e-05/0.01106, allocations: 23.78 kB / 266.8 MB, free: 9.57 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000158/0.01122, allocations: 82.5 kB / 266.9 MB, free: 9.48 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.01123, allocations: 8 kB / 266.9 MB, free: 9.473 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001945/0.01317, allocations: 3.979 MB / 270.9 MB, free: 5.234 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.01317, allocations: 4.094 kB / 270.9 MB, free: 5.23 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002768/0.01345, allocations: 306.2 kB / 271.2 MB, free: 4.906 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.765e-05/0.01347, allocations: 11.98 kB / 271.2 MB, free: 4.895 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.655e-05/0.01352, allocations: 4 kB / 271.2 MB, free: 4.891 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.876e-05/0.01357, allocations: 19.97 kB / 271.2 MB, free: 4.871 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.574e-06/0.01358, allocations: 4 kB / 271.2 MB, free: 4.867 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.715e-05/0.01362, allocations: 41.81 kB / 271.2 MB, free: 4.824 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01362, allocations: 0 / 271.2 MB, free: 4.824 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003403/0.01396, allocations: 111.8 kB / 271.4 MB, free: 4.715 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 9.968e-05/0.01406, allocations: 88.41 kB / 271.4 MB, free: 4.621 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000381/0.01444, allocations: 476.1 kB / 271.9 MB, free: 4.117 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.186e-05/0.01445, allocations: 7.984 kB / 271.9 MB, free: 4.109 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002317/0.01468, allocations: 444.4 kB / 272.4 MB, free: 3.633 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001995/0.01488, allocations: 48.17 kB / 272.4 MB, free: 3.586 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004316/0.0192, allocations: 0.6306 MB / 273 MB, free: 2.922 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.728e-05/0.0193, allocations: 124.2 kB / 273.1 MB, free: 2.781 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.596e-05/0.01936, allocations: 21.89 kB / 273.2 MB, free: 2.762 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001048/0.01947, allocations: 79.36 kB / 273.2 MB, free: 2.684 MB / 266.7 MB Notification: Performance of SimCode: time 1.032e-06/0.01947, allocations: 3.938 kB / 273.3 MB, free: 2.68 MB / 266.7 MB Notification: Performance of Templates: time 0.007365/0.02683, allocations: 4.822 MB / 278.1 MB, free: 13.92 MB / 282.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.6443210300058126]