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.001763/0.001763, allocations: 108.3 kB / 16.4 MB, free: 6.5 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.489/1.489, allocations: 222.9 MB / 242.1 MB, free: 15.22 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.001504/0.001504, allocations: 205.4 kB / 294.4 MB, free: 12.66 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.0398/0.0398, allocations: 8.793 MB / 355.3 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.003099/0.003099, allocations: 79.88 kB / 472.6 MB, free: 5.504 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3392/0.3423, allocations: 51.56 MB / 0.5119 GB, free: 12.45 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.TestLongRod): time 0.003705/0.3461, allocations: 2.004 MB / 0.5138 GB, free: 10.87 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004541/0.3466, allocations: 171.6 kB / 0.514 GB, free: 10.73 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.29e-05/0.3467, allocations: 2.5 kB / 0.514 GB, free: 10.73 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001707/0.3469, allocations: 22.72 kB / 0.514 GB, free: 10.71 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002151/0.3471, allocations: 64.69 kB / 0.5141 GB, free: 10.65 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001721/0.3473, allocations: 36.09 kB / 0.5141 GB, free: 10.62 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006297/0.3479, allocations: 0.494 MB / 0.5146 GB, free: 10.31 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004474/0.3484, allocations: 281.7 kB / 0.5149 GB, free: 10.03 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002205/0.3486, allocations: 183.5 kB / 0.515 GB, free: 9.852 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003179/0.3489, allocations: 195.3 kB / 0.5152 GB, free: 9.66 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.589e-05/0.349, allocations: 44 kB / 0.5153 GB, free: 9.617 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.429e-05/0.3491, allocations: 48 kB / 0.5153 GB, free: 9.57 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001218/0.3492, allocations: 99.69 kB / 0.5154 GB, free: 9.473 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002358/0.3495, allocations: 211.1 kB / 0.5156 GB, free: 9.266 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005816/0.3501, allocations: 0.5553 MB / 0.5162 GB, free: 8.715 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3501, allocations: 0 / 0.5162 GB, free: 8.715 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3501, allocations: 0 / 0.5162 GB, free: 8.715 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.3501, allocations: 0 / 0.5162 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.001225/0.3513, allocations: 0.6547 MB / 0.5168 GB, free: 8.004 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.3514, allocations: 8.031 kB / 0.5168 GB, free: 7.996 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.655e-05/0.3515, allocations: 36.75 kB / 0.5168 GB, free: 7.961 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004341/0.3519, allocations: 303.9 kB / 0.5171 GB, free: 7.625 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.206e-05/0.3519, allocations: 25.02 kB / 0.5172 GB, free: 7.602 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.456e-05/0.352, allocations: 28.38 kB / 0.5172 GB, free: 7.574 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007228/0.3527, allocations: 394.5 kB / 0.5176 GB, free: 7.184 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.269e-05/0.3528, allocations: 8.172 kB / 0.5176 GB, free: 7.176 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.481e-05/0.3528, allocations: 11.94 kB / 0.5176 GB, free: 7.164 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.837e-05/0.3528, allocations: 12.66 kB / 0.5176 GB, free: 7.152 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006399/0.3535, allocations: 358.4 kB / 0.5179 GB, free: 6.801 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001852/0.3553, allocations: 1.421 MB / 0.5193 GB, free: 5.254 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007465/0.3561, allocations: 382.5 kB / 0.5197 GB, free: 4.871 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003114/0.3564, allocations: 188.8 kB / 0.5199 GB, free: 4.684 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.83e-05/0.3565, allocations: 11.94 kB / 0.5199 GB, free: 4.672 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.201e-05/0.3565, allocations: 38.55 kB / 0.5199 GB, free: 4.625 MB / 334.1 MB Notification: Performance of pre-optimization done (n=23): time 1.713e-06/0.3565, allocations: 0 / 0.5199 GB, free: 4.625 MB / 334.1 MB Notification: Performance of matching and sorting (n=23): time 0.001804/0.3583, allocations: 0.855 MB / 0.5207 GB, free: 3.699 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.035e-05/0.3584, allocations: 59.34 kB / 0.5208 GB, free: 3.629 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002868/0.3587, allocations: 216.3 kB / 0.521 GB, free: 3.402 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.226e-05/0.3587, allocations: 33.7 kB / 0.521 GB, free: 3.363 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001247/0.3588, allocations: 168.6 kB / 0.5212 GB, free: 3.195 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001011/0.359, allocations: 91.2 kB / 0.5213 GB, free: 3.105 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.646e-05/0.359, allocations: 41.72 kB / 0.5213 GB, free: 3.059 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001872/0.3592, allocations: 342.8 kB / 0.5217 GB, free: 2.715 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002143/0.3595, allocations: 111.9 kB / 0.5218 GB, free: 2.605 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002049/0.3597, allocations: 123.9 kB / 0.5219 GB, free: 2.484 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004558/0.3601, allocations: 268.7 kB / 0.5221 GB, free: 2.219 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.3601, allocations: 4 kB / 0.5221 GB, free: 2.215 MB / 334.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0008112/0.361, allocations: 436.1 kB / 0.5226 GB, free: 1.773 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.361, allocations: 4 kB / 0.5226 GB, free: 1.77 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.361, allocations: 4 kB / 0.5226 GB, free: 1.766 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004308/0.3615, allocations: 134.4 kB / 0.5227 GB, free: 1.625 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001674/0.3616, allocations: 39.91 kB / 0.5227 GB, free: 1.586 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004945/0.3666, allocations: 5.164 MB / 0.5278 GB, free: 12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001497/0.3668, allocations: 27.97 kB / 0.5278 GB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.468e-05/0.3668, allocations: 4 kB / 0.5278 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.0002498/0.367, allocations: 205.7 kB / 0.528 GB, free: 11.76 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.869e-05/0.3671, allocations: 19.86 kB / 0.528 GB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.597e-05/0.3672, allocations: 33.81 kB / 0.528 GB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.3672, allocations: 4 kB / 0.5281 GB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.235e-06/0.3672, allocations: 4 kB / 0.5281 GB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.3672, allocations: 3.984 kB / 0.5281 GB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000535/0.3678, allocations: 425.3 kB / 0.5285 GB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.3678, allocations: 3.938 kB / 0.5285 GB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002032/0.368, allocations: 39.97 kB / 0.5285 GB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003349/0.3683, allocations: 126.5 kB / 0.5286 GB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.367e-05/0.3684, allocations: 15.94 kB / 0.5286 GB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004577/0.3729, allocations: 5.168 MB / 0.5337 GB, free: 5.453 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.373, allocations: 0 / 0.5337 GB, free: 5.453 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001064/0.374, allocations: 0.6641 MB / 0.5343 GB, free: 4.766 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.309e-05/0.3741, allocations: 105 kB / 0.5344 GB, free: 4.645 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.958e-05/0.3742, allocations: 12.03 kB / 0.5345 GB, free: 4.633 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001384/0.3743, allocations: 11.98 kB / 0.5345 GB, free: 4.621 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.569e-05/0.3744, allocations: 15.98 kB / 0.5345 GB, free: 4.605 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.641e-05/0.3744, allocations: 8 kB / 0.5345 GB, free: 4.598 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001847/0.3746, allocations: 161.1 kB / 0.5346 GB, free: 4.441 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3746, allocations: 4 kB / 0.5346 GB, free: 4.438 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005802/0.3752, allocations: 103.8 kB / 0.5347 GB, free: 4.336 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.0001378/0.3753, allocations: 113.2 kB / 0.5348 GB, free: 4.219 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001012/0.3764, allocations: 0.6443 MB / 0.5355 GB, free: 3.535 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3764, allocations: 0 / 0.5355 GB, free: 3.535 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006846/0.3771, allocations: 0.5193 MB / 0.536 GB, free: 2.977 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003666/0.3774, allocations: 59.09 kB / 0.536 GB, free: 2.922 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001419/0.3789, allocations: 0.8604 MB / 0.5369 GB, free: 2.047 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005274/0.3794, allocations: 0.8535 MB / 0.5377 GB, free: 1.164 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001296/0.3795, allocations: 49.91 kB / 0.5378 GB, free: 1.113 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.205e-05/0.3796, allocations: 15.44 kB / 0.5378 GB, free: 1.098 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3796, allocations: 4 kB / 0.5378 GB, free: 1.094 MB / 350.1 MB Notification: Performance of Templates: time 0.009281/0.3889, allocations: 4.331 MB / 0.542 GB, free: 12.8 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: 5.031114284880459]