Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.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.0007573/0.0007573, allocations: 72.55 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] 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.0007923/0.0007923, allocations: 177.9 kB / 23.21 MB, free: 1.344 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.8664/0.8664, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo): time 0.02463/0.02463, allocations: 6.478 MB / 266.4 MB, free: 6.832 MB / 250.7 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/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 Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(EHPTlib.MapBased.TestingModels.TestICE.TestIceP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.205e-06/2.205e-06, allocations: 0 / 392.9 MB, free: 5.195 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.824e-05/2.045e-05, allocations: 2.281 kB / 392.9 MB, free: 5.191 MB / 362.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceP): time 0.003934/0.003954, allocations: 3.614 MB / 396.5 MB, free: 1.555 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001716/0.00567, allocations: 1.916 MB / 398.4 MB, free: 15.63 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001719/0.005842, allocations: 19.88 kB / 398.5 MB, free: 15.61 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003488/0.006191, allocations: 206.8 kB / 398.7 MB, free: 15.41 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004377/0.006629, allocations: 294.3 kB / 399 MB, free: 15.12 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000466/0.007095, allocations: 413 kB / 399.4 MB, free: 14.72 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004829/0.007578, allocations: 0.6898 MB / 400 MB, free: 14.03 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002355/0.007813, allocations: 160.2 kB / 400.2 MB, free: 13.86 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003503/0.008163, allocations: 387 kB / 400.6 MB, free: 13.48 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002333/0.008397, allocations: 251.3 kB / 400.8 MB, free: 13.24 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002935/0.00869, allocations: 59.94 kB / 400.9 MB, free: 13.18 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001264/0.008817, allocations: 127.8 kB / 401 MB, free: 13.05 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001433/0.00896, allocations: 227.2 kB / 401.2 MB, free: 12.83 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001349/0.009095, allocations: 207.3 kB / 401.4 MB, free: 12.63 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006217/0.009717, allocations: 0.8917 MB / 402.3 MB, free: 11.73 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.009719, allocations: 0 / 402.3 MB, free: 11.73 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.00972, allocations: 0 / 402.3 MB, free: 11.73 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.673e-06/0.009727, allocations: 7.938 kB / 402.3 MB, free: 11.73 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.00112/0.01085, allocations: 1.05 MB / 403.4 MB, free: 10.64 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.01088, allocations: 12.03 kB / 403.4 MB, free: 10.62 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.169e-05/0.01097, allocations: 96.36 kB / 403.5 MB, free: 10.53 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005115/0.01148, allocations: 0.5371 MB / 404 MB, free: 9.969 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.528e-05/0.01151, allocations: 29.38 kB / 404.1 MB, free: 9.938 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.877e-05/0.01156, allocations: 48.36 kB / 404.1 MB, free: 9.891 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005228/0.01208, allocations: 478.5 kB / 404.6 MB, free: 9.395 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.01209, allocations: 3.953 kB / 404.6 MB, free: 9.391 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.406e-05/0.01212, allocations: 16 kB / 404.6 MB, free: 9.375 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.01213, allocations: 8 kB / 404.6 MB, free: 9.367 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004546/0.01258, allocations: 335.7 kB / 404.9 MB, free: 9.039 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001464/0.01404, allocations: 1.51 MB / 406.4 MB, free: 7.477 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005435/0.01459, allocations: 342 kB / 406.8 MB, free: 7.137 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001914/0.01478, allocations: 132.8 kB / 406.9 MB, free: 7.004 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.747e-05/0.01481, allocations: 7.938 kB / 406.9 MB, free: 6.996 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002715/0.01508, allocations: 197.1 kB / 407.1 MB, free: 6.789 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 1.563e-06/0.01508, allocations: 0 / 407.1 MB, free: 6.789 MB / 378.7 MB Notification: Performance of matching and sorting (n=27): time 0.0009349/0.01601, allocations: 0.5661 MB / 407.7 MB, free: 6.215 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.06e-05/0.01605, allocations: 81.11 kB / 407.7 MB, free: 6.117 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009371/0.01699, allocations: 0.9378 MB / 408.7 MB, free: 5.168 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.378e-05/0.01702, allocations: 33.7 kB / 408.7 MB, free: 5.129 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002028/0.01722, allocations: 368.5 kB / 409.1 MB, free: 4.762 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.152e-05/0.01727, allocations: 95.22 kB / 409.2 MB, free: 4.668 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.219e-05/0.01735, allocations: 82.02 kB / 409.2 MB, free: 4.578 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.01747, allocations: 382.8 kB / 409.6 MB, free: 4.195 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002244/0.01769, allocations: 168.1 kB / 409.8 MB, free: 4.023 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002536/0.01795, allocations: 271 kB / 410 MB, free: 3.719 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000427/0.01837, allocations: 366.2 kB / 410.4 MB, free: 3.332 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.01838, allocations: 4 kB / 410.4 MB, free: 3.328 MB / 378.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006393/0.01902, allocations: 0.5686 MB / 411 MB, free: 2.738 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.689e-05/0.01904, allocations: 29.7 kB / 411 MB, free: 2.703 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.01905, allocations: 7.938 kB / 411 MB, free: 2.695 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001734/0.01922, allocations: 60.81 kB / 411.1 MB, free: 2.633 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001623/0.01939, allocations: 75.89 kB / 411.1 MB, free: 2.559 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001066/0.02045, allocations: 1.681 MB / 412.8 MB, free: 0.7773 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001502/0.0206, allocations: 51.72 kB / 412.9 MB, free: 0.7266 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.89e-05/0.02062, allocations: 16 kB / 412.9 MB, free: 0.7109 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003416/0.02096, allocations: 382.7 kB / 413.3 MB, free: 336 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002177/0.02118, allocations: 259 kB / 413.5 MB, free: 36 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003688/0.02155, allocations: 336.4 kB / 413.9 MB, free: 15.68 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.112e-06/0.02155, allocations: 0 / 413.9 MB, free: 15.68 MB / 394.7 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0005823/0.02213, allocations: 0.5442 MB / 414.4 MB, free: 15.11 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/0.02215, allocations: 37.69 kB / 414.4 MB, free: 15.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-06/0.02216, allocations: 7.938 kB / 414.4 MB, free: 15.06 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001118/0.02227, allocations: 64.81 kB / 414.5 MB, free: 14.99 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001363/0.02241, allocations: 71.89 kB / 414.6 MB, free: 14.92 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001188/0.02359, allocations: 1.684 MB / 416.3 MB, free: 13.14 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001422/0.02374, allocations: 39.89 kB / 416.3 MB, free: 13.1 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.514e-05/0.02375, allocations: 12 kB / 416.3 MB, free: 13.09 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 6 (trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1,iceP.tokgFuel.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 9.973e-05/0.02385, allocations: 212.2 kB / 416.5 MB, free: 12.88 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.991e-05/0.0239, allocations: 71.53 kB / 416.6 MB, free: 12.8 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005423/0.02444, allocations: 421.8 kB / 417 MB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.02444, allocations: 4 kB / 417 MB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.92e-07/0.02445, allocations: 0 / 417 MB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.02445, allocations: 7.984 kB / 417 MB, free: 12.37 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000886/0.02534, allocations: 0.8896 MB / 417.9 MB, free: 11.44 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.02534, allocations: 4 kB / 417.9 MB, free: 11.43 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001353/0.02547, allocations: 55.89 kB / 418 MB, free: 11.38 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001067/0.02558, allocations: 52.81 kB / 418 MB, free: 11.32 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/0.0256, allocations: 8 kB / 418 MB, free: 11.32 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009121/0.02651, allocations: 1.676 MB / 419.7 MB, free: 9.531 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.02651, allocations: 0 / 419.7 MB, free: 9.531 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007226/0.02723, allocations: 0.6451 MB / 420.3 MB, free: 8.867 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.495e-05/0.02731, allocations: 87.53 kB / 420.4 MB, free: 8.781 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.267e-05/0.02734, allocations: 8 kB / 420.4 MB, free: 8.773 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001244/0.02746, allocations: 23.97 kB / 420.5 MB, free: 8.75 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.338e-05/0.02753, allocations: 31.89 kB / 420.5 MB, free: 8.719 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.628e-05/0.02754, allocations: 4 kB / 420.5 MB, free: 8.715 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000494/0.02804, allocations: 0.6747 MB / 421.2 MB, free: 8.047 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02804, allocations: 0 / 421.2 MB, free: 8.047 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004924/0.02853, allocations: 235.4 kB / 421.4 MB, free: 7.816 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (iceP.inertia.w,iceP.tokgFuel.y,loadTorque.phi) * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009618/0.02949, allocations: 0.6592 MB / 422.1 MB, free: 7.461 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00124/0.03073, allocations: 0.902 MB / 423 MB, free: 6.496 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.03073, allocations: 0 / 423 MB, free: 6.496 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002641/0.031, allocations: 278.6 kB / 423.2 MB, free: 6.211 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003525/0.03135, allocations: 97.36 kB / 423.3 MB, free: 6.121 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001383/0.03273, allocations: 1.356 MB / 424.7 MB, free: 4.73 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002214/0.03296, allocations: 350 kB / 425 MB, free: 4.363 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.022e-05/0.03304, allocations: 36.5 kB / 425.1 MB, free: 4.328 MB / 394.7 MB Notification: Performance of SimCode: time 5.71e-07/0.03304, allocations: 0 / 425.1 MB, free: 4.328 MB / 394.7 MB Notification: Performance of Templates: time 0.008904/0.04194, allocations: 11.42 MB / 436.5 MB, free: 8.902 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.496303927153349] Failed to read output from testmodel.py, exit status != 0: 0.047445609234273434 0.19928389799999996 0.18814813299999994 Calling exit ...