Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.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.001813/0.001813, allocations: 80.38 kB / 19.18 MB, free: 2.516 MB / 14.72 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.002396/0.002396, allocations: 163.7 kB / 22.46 MB, free: 5.375 MB / 14.72 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 1.599/1.599, allocations: 177.1 MB / 202.8 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] 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.04408/0.04408, allocations: 6.514 MB / 265.7 MB, free: 10.24 MB / 254.1 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.TestIceT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 392.2 MB, free: 9.723 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.604e-05/3.808e-05, allocations: 6.281 kB / 392.2 MB, free: 9.715 MB / 318.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceT): time 0.006377/0.006415, allocations: 3.505 MB / 395.7 MB, free: 6.191 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004006/0.01042, allocations: 1.893 MB / 397.6 MB, free: 4.293 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004219/0.01084, allocations: 11.94 kB / 397.6 MB, free: 4.281 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006086/0.01145, allocations: 202.8 kB / 397.8 MB, free: 4.082 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008599/0.01231, allocations: 278.4 kB / 398 MB, free: 3.809 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009432/0.01325, allocations: 417.9 kB / 398.4 MB, free: 3.402 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008534/0.01411, allocations: 0.647 MB / 399.1 MB, free: 2.75 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003578/0.01447, allocations: 147.2 kB / 399.2 MB, free: 2.605 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005071/0.01497, allocations: 367.1 kB / 399.6 MB, free: 2.246 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004193/0.01539, allocations: 251.3 kB / 399.8 MB, free: 2 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.47e-05/0.01549, allocations: 60 kB / 399.9 MB, free: 1.941 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000396/0.01588, allocations: 187.7 kB / 400.1 MB, free: 1.758 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002463/0.01613, allocations: 223.3 kB / 400.3 MB, free: 1.539 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002425/0.01637, allocations: 203.4 kB / 400.5 MB, free: 1.34 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001639/0.01801, allocations: 0.9424 MB / 401.4 MB, free: 404 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.01802, allocations: 0 / 401.4 MB, free: 404 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.01802, allocations: 0 / 401.4 MB, free: 404 kB / 318.1 MB Notification: Performance of Transformations before backend: time 1.722e-05/0.01803, allocations: 0 / 401.4 MB, free: 404 kB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 86 * Number of variables: 86 Notification: Performance of Generate backend data structure: time 0.002114/0.02015, allocations: 1.059 MB / 402.5 MB, free: 15.29 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.02019, allocations: 8.031 kB / 402.5 MB, free: 15.29 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001741/0.02037, allocations: 88.38 kB / 402.6 MB, free: 15.2 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009017/0.02127, allocations: 0.5372 MB / 403.1 MB, free: 14.63 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.917e-05/0.02131, allocations: 29.38 kB / 403.2 MB, free: 14.61 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.819e-05/0.0214, allocations: 48.27 kB / 403.2 MB, free: 14.56 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001132/0.02253, allocations: 0.5036 MB / 403.7 MB, free: 14.01 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.185e-05/0.02255, allocations: 3.984 kB / 403.7 MB, free: 14 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.178e-05/0.02259, allocations: 16 kB / 403.7 MB, free: 13.99 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.387e-05/0.0226, allocations: 11.94 kB / 403.7 MB, free: 13.98 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009304/0.02353, allocations: 303.8 kB / 404 MB, free: 13.68 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002648/0.02618, allocations: 1.446 MB / 405.5 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/0.02718, allocations: 317.7 kB / 405.8 MB, free: 11.87 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003635/0.02755, allocations: 116.8 kB / 405.9 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.57e-05/0.02758, allocations: 7.984 kB / 405.9 MB, free: 11.74 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005072/0.02809, allocations: 179.3 kB / 406.1 MB, free: 11.55 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 2.154e-06/0.02809, allocations: 0 / 406.1 MB, free: 11.55 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.001529/0.02962, allocations: 476.5 kB / 406.6 MB, free: 11.08 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.144e-05/0.02971, allocations: 132.5 kB / 406.7 MB, free: 10.92 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001334/0.03105, allocations: 0.9573 MB / 407.6 MB, free: 9.953 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.062e-05/0.03109, allocations: 37.64 kB / 407.7 MB, free: 9.91 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003228/0.03141, allocations: 352.6 kB / 408 MB, free: 9.559 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.273e-05/0.03149, allocations: 79.33 kB / 408.1 MB, free: 9.48 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000139/0.03163, allocations: 77.69 kB / 408.2 MB, free: 9.398 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002064/0.03184, allocations: 382.7 kB / 408.6 MB, free: 9.016 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004375/0.03228, allocations: 162.5 kB / 408.7 MB, free: 8.848 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000563/0.03284, allocations: 336 kB / 409 MB, free: 8.461 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000854/0.03369, allocations: 344.2 kB / 409.4 MB, free: 8.094 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.0337, allocations: 4 kB / 409.4 MB, free: 8.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001244/0.03494, allocations: 0.5201 MB / 409.9 MB, free: 7.547 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.154e-05/0.03499, allocations: 33.69 kB / 409.9 MB, free: 7.508 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.03499, allocations: 4.047 kB / 409.9 MB, free: 7.504 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001606/0.03516, allocations: 28.83 kB / 410 MB, free: 7.473 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003599/0.03552, allocations: 75.83 kB / 410 MB, free: 7.398 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001209/0.03672, allocations: 1.252 MB / 411.3 MB, free: 6.039 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000343/0.03707, allocations: 51.75 kB / 411.3 MB, free: 5.988 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.313e-05/0.0371, allocations: 16 kB / 411.4 MB, free: 5.973 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006536/0.03775, allocations: 370.3 kB / 411.7 MB, free: 5.602 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005426/0.0383, allocations: 317 kB / 412 MB, free: 5.234 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007416/0.03904, allocations: 335.7 kB / 412.4 MB, free: 4.875 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.703e-06/0.03904, allocations: 0 / 412.4 MB, free: 4.875 MB / 334.1 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001092/0.04013, allocations: 496.9 kB / 412.8 MB, free: 4.367 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.507e-05/0.04017, allocations: 37.91 kB / 412.9 MB, free: 4.324 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.04017, allocations: 8 kB / 412.9 MB, free: 4.316 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.293e-05/0.04025, allocations: 20.84 kB / 412.9 MB, free: 4.293 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003139/0.04057, allocations: 75.89 kB / 413 MB, free: 4.219 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001077/0.04165, allocations: 1.237 MB / 414.2 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003363/0.04198, allocations: 59.88 kB / 414.3 MB, free: 2.824 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.892e-05/0.04201, allocations: 11.98 kB / 414.3 MB, free: 2.812 MB / 334.1 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,iceT.tokgFuel.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 40 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001963/0.04221, allocations: 200.2 kB / 414.5 MB, free: 2.609 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001071/0.04231, allocations: 71.52 kB / 414.6 MB, free: 2.539 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001045/0.04336, allocations: 376.3 kB / 414.9 MB, free: 2.156 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/0.04337, allocations: 3.938 kB / 414.9 MB, free: 2.152 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.04337, allocations: 4 kB / 414.9 MB, free: 2.148 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.04338, allocations: 3.984 kB / 414.9 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005154/0.04389, allocations: 404.9 kB / 415.3 MB, free: 1.719 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.04389, allocations: 0 / 415.3 MB, free: 1.719 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003015/0.04419, allocations: 55.89 kB / 415.4 MB, free: 1.664 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.335e-05/0.04428, allocations: 20.84 kB / 415.4 MB, free: 1.641 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.2e-05/0.0443, allocations: 8 kB / 415.4 MB, free: 1.633 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001066/0.04537, allocations: 1.253 MB / 416.7 MB, free: 280 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.04537, allocations: 0 / 416.7 MB, free: 280 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001393/0.04676, allocations: 0.5176 MB / 417.2 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000152/0.04691, allocations: 87.55 kB / 417.3 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.791e-05/0.04698, allocations: 4 kB / 417.3 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002616/0.04724, allocations: 31.95 kB / 417.3 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.07e-05/0.04732, allocations: 23.91 kB / 417.3 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.135e-05/0.04734, allocations: 15.98 kB / 417.3 MB, free: 15.58 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008887/0.04823, allocations: 0.6787 MB / 418 MB, free: 14.91 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.04823, allocations: 0 / 418 MB, free: 14.91 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007324/0.04896, allocations: 251.3 kB / 418.3 MB, free: 14.66 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (inertia.w,loadTorque.phi,iceT.tokgFuel.y) * 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 (23): * Single equations (assignments): 20 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002839/0.0518, allocations: 0.7506 MB / 419 MB, free: 14.25 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001811/0.05361, allocations: 0.8493 MB / 419.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.05362, allocations: 4 kB / 419.9 MB, free: 13.33 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006397/0.05426, allocations: 250.6 kB / 420.1 MB, free: 13.07 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005446/0.0548, allocations: 103.5 kB / 420.2 MB, free: 12.98 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002285/0.05709, allocations: 1.28 MB / 421.5 MB, free: 11.67 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004148/0.0575, allocations: 341.7 kB / 421.8 MB, free: 11.31 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002556/0.05776, allocations: 92.2 kB / 421.9 MB, free: 11.22 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001368/0.0579, allocations: 48.42 kB / 422 MB, free: 11.17 MB / 350.1 MB Notification: Performance of SimCode: time 5.41e-07/0.0579, allocations: 0 / 422 MB, free: 11.17 MB / 350.1 MB Notification: Performance of Templates: time 0.01641/0.07431, allocations: 7.872 MB / 429.8 MB, free: 3.363 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.809336490929127] Failed to read output from testmodel.py, exit status != 0: 0.0838172435760498 0.100462823 0.078795142 Calling exit ...