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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001687/0.001687, allocations: 111.1 kB / 17.08 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 222.9 MB / 242.7 MB, free: 15.23 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001506/0.001505, allocations: 191.7 kB / 295 MB, free: 12.67 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.0399/0.0399, allocations: 8.794 MB / 356 MB, free: 15.91 MB / 302.1 MB " [Timeout remaining time 180] 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=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 0.002527/0.002527, allocations: 79.86 kB / 473.3 MB, free: 5.512 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3049/0.3074, allocations: 51.56 MB / 0.5125 GB, free: 12.46 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.TestLongRod): time 0.003559/0.311, allocations: 2.011 MB / 0.5145 GB, free: 10.88 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004252/0.3115, allocations: 163.3 kB / 0.5147 GB, free: 10.74 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.082e-05/0.3116, allocations: 2.562 kB / 0.5147 GB, free: 10.74 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001582/0.3117, allocations: 27.59 kB / 0.5147 GB, free: 10.72 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002034/0.3119, allocations: 64.86 kB / 0.5147 GB, free: 10.66 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001618/0.3121, allocations: 44.44 kB / 0.5148 GB, free: 10.62 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00063/0.3128, allocations: 0.4894 MB / 0.5153 GB, free: 10.3 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004476/0.3132, allocations: 281.7 kB / 0.5155 GB, free: 10.03 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002063/0.3134, allocations: 179.5 kB / 0.5157 GB, free: 9.852 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002897/0.3137, allocations: 195.2 kB / 0.5159 GB, free: 9.66 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.187e-05/0.3138, allocations: 44 kB / 0.5159 GB, free: 9.617 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.593e-05/0.3139, allocations: 48 kB / 0.516 GB, free: 9.57 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001322/0.314, allocations: 95.75 kB / 0.5161 GB, free: 9.477 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002337/0.3143, allocations: 215.1 kB / 0.5163 GB, free: 9.266 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000605/0.3149, allocations: 0.5475 MB / 0.5168 GB, free: 8.723 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/0.3149, allocations: 3.984 kB / 0.5168 GB, free: 8.719 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.3149, allocations: 0 / 0.5168 GB, free: 8.719 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.645e-06/0.3149, allocations: 4 kB / 0.5168 GB, free: 8.715 MB / 334.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.00116/0.3161, allocations: 0.6508 MB / 0.5175 GB, free: 8.008 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.3161, allocations: 8.031 kB / 0.5175 GB, free: 8 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.391e-05/0.3162, allocations: 36.75 kB / 0.5175 GB, free: 7.965 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004247/0.3167, allocations: 315.9 kB / 0.5178 GB, free: 7.617 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.089e-05/0.3167, allocations: 21.03 kB / 0.5178 GB, free: 7.598 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.603e-05/0.3168, allocations: 32.36 kB / 0.5179 GB, free: 7.566 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006894/0.3175, allocations: 386.5 kB / 0.5182 GB, free: 7.184 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.411e-05/0.3175, allocations: 8.188 kB / 0.5182 GB, free: 7.176 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.741e-05/0.3176, allocations: 11.94 kB / 0.5182 GB, free: 7.164 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.122e-05/0.3176, allocations: 20.59 kB / 0.5183 GB, free: 7.145 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006137/0.3182, allocations: 358.4 kB / 0.5186 GB, free: 6.793 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001837/0.3201, allocations: 1.413 MB / 0.52 GB, free: 5.254 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007189/0.3208, allocations: 390.4 kB / 0.5204 GB, free: 4.863 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002919/0.3211, allocations: 191 kB / 0.5205 GB, free: 4.676 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.3211, allocations: 4 kB / 0.5205 GB, free: 4.672 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.755e-05/0.3212, allocations: 34.56 kB / 0.5206 GB, free: 4.629 MB / 334.1 MB Notification: Performance of pre-optimization done (n=23): time 1.794e-06/0.3212, allocations: 0 / 0.5206 GB, free: 4.629 MB / 334.1 MB Notification: Performance of matching and sorting (n=23): time 0.001697/0.3229, allocations: 0.8624 MB / 0.5214 GB, free: 3.695 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.838e-05/0.3229, allocations: 59.34 kB / 0.5215 GB, free: 3.625 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002728/0.3232, allocations: 216.3 kB / 0.5217 GB, free: 3.398 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.657e-05/0.3233, allocations: 37.64 kB / 0.5217 GB, free: 3.355 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001284/0.3234, allocations: 164.6 kB / 0.5219 GB, free: 3.191 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.2e-05/0.3235, allocations: 87.23 kB / 0.522 GB, free: 3.105 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.825e-05/0.3236, allocations: 45.7 kB / 0.522 GB, free: 3.055 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.3237, allocations: 334.8 kB / 0.5223 GB, free: 2.719 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001864/0.3239, allocations: 111.9 kB / 0.5224 GB, free: 2.609 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001974/0.3241, allocations: 127.8 kB / 0.5225 GB, free: 2.484 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004254/0.3246, allocations: 268.7 kB / 0.5228 GB, free: 2.219 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3246, allocations: 4 kB / 0.5228 GB, free: 2.215 MB / 334.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0007361/0.3253, allocations: 440.1 kB / 0.5232 GB, free: 1.77 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.3254, allocations: 4 kB / 0.5232 GB, free: 1.766 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.3254, allocations: 4 kB / 0.5232 GB, free: 1.762 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004042/0.3258, allocations: 130.5 kB / 0.5234 GB, free: 1.625 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001763/0.326, allocations: 47.84 kB / 0.5234 GB, free: 1.578 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004725/0.3307, allocations: 5.161 MB / 0.5284 GB, free: 12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001505/0.3309, allocations: 23.91 kB / 0.5285 GB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.539e-05/0.3309, allocations: 4 kB / 0.5285 GB, free: 11.97 MB / 350.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.000261/0.3312, allocations: 205.6 kB / 0.5287 GB, free: 11.76 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.948e-05/0.3312, allocations: 27.92 kB / 0.5287 GB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.146e-05/0.3313, allocations: 33.81 kB / 0.5287 GB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.276e-05/0.3313, allocations: 4 kB / 0.5287 GB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.3313, allocations: 0 / 0.5287 GB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.563e-06/0.3313, allocations: 3.984 kB / 0.5287 GB, free: 11.69 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000519/0.3319, allocations: 421.3 kB / 0.5291 GB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.3319, allocations: 3.984 kB / 0.5291 GB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002001/0.3321, allocations: 43.97 kB / 0.5292 GB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003168/0.3324, allocations: 134.6 kB / 0.5293 GB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.39e-05/0.3324, allocations: 11.94 kB / 0.5293 GB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004507/0.337, allocations: 5.16 MB / 0.5344 GB, free: 5.453 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.337, allocations: 0 / 0.5344 GB, free: 5.453 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001062/0.3381, allocations: 0.6681 MB / 0.535 GB, free: 4.762 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.369e-05/0.3382, allocations: 100.9 kB / 0.5351 GB, free: 4.645 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.349e-05/0.3382, allocations: 12 kB / 0.5351 GB, free: 4.633 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001435/0.3384, allocations: 12.03 kB / 0.5351 GB, free: 4.621 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.766e-05/0.3384, allocations: 19.97 kB / 0.5351 GB, free: 4.602 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/0.3385, allocations: 11.94 kB / 0.5352 GB, free: 4.59 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001725/0.3386, allocations: 157.2 kB / 0.5353 GB, free: 4.438 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3387, allocations: 11.94 kB / 0.5353 GB, free: 4.426 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006029/0.3393, allocations: 103.8 kB / 0.5354 GB, free: 4.324 MB / 350.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.0001463/0.3394, allocations: 105.4 kB / 0.5355 GB, free: 4.215 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001014/0.3404, allocations: 0.6482 MB / 0.5362 GB, free: 3.527 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.3404, allocations: 0 / 0.5362 GB, free: 3.527 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006707/0.3411, allocations: 0.5194 MB / 0.5367 GB, free: 2.969 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003693/0.3415, allocations: 64 kB / 0.5367 GB, free: 2.906 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001485/0.343, allocations: 0.8577 MB / 0.5376 GB, free: 2.027 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005243/0.3435, allocations: 0.8497 MB / 0.5384 GB, free: 1.148 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.06e-05/0.3436, allocations: 15.44 kB / 0.5384 GB, free: 1.133 MB / 350.1 MB Notification: Performance of SimCode: time 4.3e-07/0.3436, allocations: 4 kB / 0.5384 GB, free: 1.129 MB / 350.1 MB Notification: Performance of Templates: time 0.01205/0.3557, allocations: 8.881 MB / 0.5471 GB, free: 8.238 MB / 366.1 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=480 -lv LOG_STATS > HanserModelica_HanserModelica.Thermal.TestLongRod.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.167966742999852] Failed to read output from testmodel.py, exit status != 0: 0.36260799691081047 0.37680947200000003 0.059172060000000005 Calling exit ...