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.0006915/0.0006915, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009509/0.001642, allocations: 440 kB / 10.41 MB, free: 284 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.9813/0.9813, allocations: 177.2 MB / 188.4 MB, free: 4.406 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2119/1.193, allocations: 53.66 MB / 242 MB, free: 2.609 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.001251/0.001251, allocations: 154.7 kB / 242.9 MB, free: 1.734 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004758/0.006009, allocations: 487.5 kB / 243.4 MB, free: 1.27 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.04463/0.04463, allocations: 6.646 MB / 250.8 MB, free: 10.09 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005769/0.0504, allocations: 2.658 MB / 253.5 MB, free: 7.414 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.372e-06/1.372e-06, allocations: 0 / 254.7 MB, free: 6.141 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.912e-05/2.049e-05, allocations: 2.312 kB / 254.7 MB, free: 6.137 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.TestLongRod): time 0.002978/0.002999, allocations: 2.125 MB / 256.9 MB, free: 4.008 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003518/0.006517, allocations: 175.3 kB / 257 MB, free: 3.836 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.715e-05/0.006594, allocations: 3.938 kB / 257 MB, free: 3.832 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001016/0.006696, allocations: 23.78 kB / 257 MB, free: 3.809 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001643/0.00686, allocations: 79.33 kB / 257.1 MB, free: 3.73 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001296/0.00699, allocations: 39.97 kB / 257.2 MB, free: 3.691 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004666/0.007457, allocations: 0.5094 MB / 257.7 MB, free: 3.18 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000247/0.007704, allocations: 166.1 kB / 257.8 MB, free: 3.016 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000336/0.00804, allocations: 304.5 kB / 258.1 MB, free: 2.715 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002761/0.008316, allocations: 207.6 kB / 258.3 MB, free: 2.512 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.406e-05/0.00838, allocations: 48 kB / 258.4 MB, free: 2.465 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.083e-05/0.008451, allocations: 48 kB / 258.4 MB, free: 2.418 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.46e-05/0.008545, allocations: 75.81 kB / 258.5 MB, free: 2.344 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001586/0.008704, allocations: 127.8 kB / 258.6 MB, free: 2.219 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003962/0.0091, allocations: 319 kB / 258.9 MB, free: 1.906 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.298e-05/0.009113, allocations: 0 / 258.9 MB, free: 1.906 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.009114, allocations: 0 / 258.9 MB, free: 1.906 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.334e-05/0.009128, allocations: 0 / 258.9 MB, free: 1.906 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.0008884/0.01002, allocations: 0.5817 MB / 259.5 MB, free: 1.297 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.01005, allocations: 12.03 kB / 259.5 MB, free: 1.285 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000109/0.01016, allocations: 44.91 kB / 259.6 MB, free: 1.242 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002678/0.01043, allocations: 174 kB / 259.7 MB, free: 1.047 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.453e-05/0.01045, allocations: 25.03 kB / 259.8 MB, free: 1.023 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.527e-05/0.01052, allocations: 36.3 kB / 259.8 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004065/0.01093, allocations: 214.1 kB / 260 MB, free: 0.7695 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.795e-05/0.01094, allocations: 192 / 260 MB, free: 0.7695 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.745e-05/0.01097, allocations: 8.375 kB / 260 MB, free: 0.7617 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.123e-05/0.01101, allocations: 17.02 kB / 260 MB, free: 0.7461 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001994/0.01121, allocations: 87.11 kB / 260.1 MB, free: 0.6602 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001039/0.01225, allocations: 0.605 MB / 260.7 MB, free: 40 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004483/0.0127, allocations: 153.4 kB / 260.9 MB, free: 15.88 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/0.0128, allocations: 52.83 kB / 260.9 MB, free: 15.82 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.93e-05/0.01282, allocations: 11.83 kB / 260.9 MB, free: 15.82 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.01286, allocations: 30.56 kB / 261 MB, free: 15.78 MB / 266.7 MB Notification: Performance of pre-optimization done (n=23): time 3.768e-06/0.01286, allocations: 3.984 kB / 261 MB, free: 15.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=23): time 0.0008561/0.01372, allocations: 287.5 kB / 261.3 MB, free: 15.48 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.028e-05/0.01376, allocations: 51.41 kB / 261.3 MB, free: 15.42 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001422/0.0139, allocations: 170.6 kB / 261.5 MB, free: 15.24 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.269e-05/0.01392, allocations: 29.7 kB / 261.5 MB, free: 15.2 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001493/0.01407, allocations: 164.5 kB / 261.7 MB, free: 15.04 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.062e-05/0.01415, allocations: 87.22 kB / 261.8 MB, free: 14.95 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.268e-05/0.01423, allocations: 45.69 kB / 261.8 MB, free: 14.9 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001009/0.01433, allocations: 334.8 kB / 262.1 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.915e-05/0.01438, allocations: 16 kB / 262.1 MB, free: 14.55 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.077e-05/0.01443, allocations: 24.86 kB / 262.2 MB, free: 14.53 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001308/0.01456, allocations: 72.02 kB / 262.2 MB, free: 14.46 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.01456, allocations: 0 / 262.2 MB, free: 14.46 MB / 266.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003386/0.0149, allocations: 167.9 kB / 262.4 MB, free: 14.28 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.01492, allocations: 6.656 kB / 262.4 MB, free: 14.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.01493, allocations: 8 kB / 262.4 MB, free: 14.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003642/0.01529, allocations: 78.5 kB / 262.5 MB, free: 14.18 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002499/0.01554, allocations: 63.92 kB / 262.6 MB, free: 14.12 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00337/0.01891, allocations: 3.985 MB / 266.5 MB, free: 9.871 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001197/0.01903, allocations: 11.92 kB / 266.5 MB, free: 9.859 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.324e-05/0.01904, allocations: 8 kB / 266.6 MB, free: 9.852 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 0.0001548/0.0192, allocations: 124.6 kB / 266.7 MB, free: 9.719 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.245e-05/0.01925, allocations: 15.98 kB / 266.7 MB, free: 9.703 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.638e-05/0.01931, allocations: 41.83 kB / 266.7 MB, free: 9.668 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/0.01931, allocations: 0 / 266.7 MB, free: 9.668 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.281e-05/0.01932, allocations: 4 kB / 266.7 MB, free: 9.664 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.01933, allocations: 4 kB / 266.7 MB, free: 9.66 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003397/0.01967, allocations: 177.7 kB / 266.9 MB, free: 9.469 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.01967, allocations: 0 / 266.9 MB, free: 9.469 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002717/0.01994, allocations: 55.94 kB / 267 MB, free: 9.414 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.871e-05/0.01998, allocations: 31.77 kB / 267 MB, free: 9.383 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006564/0.02064, allocations: 82.45 kB / 267.1 MB, free: 9.293 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.623e-05/0.02066, allocations: 11.98 kB / 267.1 MB, free: 9.281 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002703/0.02337, allocations: 3.972 MB / 271.1 MB, free: 5.051 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.02337, allocations: 0 / 271.1 MB, free: 5.051 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004866/0.02386, allocations: 312.9 kB / 271.4 MB, free: 4.723 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.684e-05/0.02389, allocations: 8 kB / 271.4 MB, free: 4.715 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001189/0.02401, allocations: 4.062 kB / 271.4 MB, free: 4.711 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.48e-05/0.02409, allocations: 31.89 kB / 271.4 MB, free: 4.68 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.765e-05/0.0241, allocations: 8 kB / 271.4 MB, free: 4.672 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.003e-05/0.02419, allocations: 33.83 kB / 271.5 MB, free: 4.637 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02419, allocations: 0 / 271.5 MB, free: 4.637 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006839/0.02487, allocations: 107.8 kB / 271.6 MB, free: 4.531 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 0.0001654/0.02503, allocations: 84.41 kB / 271.6 MB, free: 4.441 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.00076/0.02579, allocations: 485.7 kB / 272.1 MB, free: 3.926 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-05/0.02581, allocations: 0 / 272.1 MB, free: 3.926 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004276/0.02624, allocations: 456.4 kB / 272.6 MB, free: 3.438 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004816/0.02672, allocations: 349.2 kB / 272.9 MB, free: 3.035 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006499/0.03322, allocations: 0.6323 MB / 273.5 MB, free: 2.371 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001222/0.03334, allocations: 120.2 kB / 273.7 MB, free: 2.234 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000113/0.03346, allocations: 17.95 kB / 273.7 MB, free: 2.219 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001374/0.03359, allocations: 87.34 kB / 273.8 MB, free: 2.133 MB / 266.7 MB Notification: Performance of SimCode: time 1.603e-06/0.03359, allocations: 0 / 273.8 MB, free: 2.133 MB / 266.7 MB Notification: Performance of Templates: time 0.008748/0.04234, allocations: 4.986 MB / 278.7 MB, free: 13.22 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.81118141207844]