Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_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.001294/0.001294, allocations: 79.28 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.001393/0.001393, allocations: 160.5 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.392/1.392, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo): time 0.03942/0.03942, allocations: 6.482 MB / 265.7 MB, free: 10.27 MB / 254.1 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/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_EHPTlib.MapBased.TestingModels.TestICE.TestIceP") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 392.1 MB, free: 9.742 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.809e-05/1.941e-05, allocations: 6.281 kB / 392.1 MB, free: 9.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceP): time 0.005334/0.005354, allocations: 3.62 MB / 395.8 MB, free: 6.098 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003125/0.008479, allocations: 1.92 MB / 397.7 MB, free: 4.172 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002242/0.008703, allocations: 11.94 kB / 397.7 MB, free: 4.16 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004882/0.009191, allocations: 210.7 kB / 397.9 MB, free: 3.953 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006637/0.009855, allocations: 294.3 kB / 398.2 MB, free: 3.664 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007958/0.01065, allocations: 421.9 kB / 398.6 MB, free: 3.258 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007649/0.01142, allocations: 0.682 MB / 399.3 MB, free: 2.574 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003202/0.01174, allocations: 172.1 kB / 399.4 MB, free: 2.402 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005375/0.01227, allocations: 387 kB / 399.8 MB, free: 2.023 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003841/0.01266, allocations: 255.2 kB / 400.1 MB, free: 1.773 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.436e-05/0.01275, allocations: 56 kB / 400.1 MB, free: 1.719 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002007/0.01295, allocations: 123.8 kB / 400.2 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002403/0.01319, allocations: 215.3 kB / 400.5 MB, free: 1.387 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002588/0.01345, allocations: 211.3 kB / 400.7 MB, free: 1.18 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009904/0.01444, allocations: 0.8956 MB / 401.6 MB, free: 288 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.01445, allocations: 0 / 401.6 MB, free: 288 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.01445, allocations: 4 kB / 401.6 MB, free: 284 kB / 318.1 MB Notification: Performance of Transformations before backend: time 7.824e-06/0.01446, allocations: 0 / 401.6 MB, free: 284 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001789/0.01624, allocations: 1.05 MB / 402.6 MB, free: 15.19 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/0.01628, allocations: 12.03 kB / 402.6 MB, free: 15.18 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001437/0.01642, allocations: 88.38 kB / 402.7 MB, free: 15.09 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008167/0.01724, allocations: 0.545 MB / 403.3 MB, free: 14.52 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.864e-05/0.01727, allocations: 29.38 kB / 403.3 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.945e-05/0.01735, allocations: 48.31 kB / 403.3 MB, free: 14.44 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009472/0.0183, allocations: 482.5 kB / 403.8 MB, free: 13.94 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.003e-05/0.01832, allocations: 0 / 403.8 MB, free: 13.94 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.48e-05/0.01837, allocations: 16 kB / 403.8 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.01838, allocations: 8 kB / 403.8 MB, free: 13.92 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009142/0.01929, allocations: 335.7 kB / 404.2 MB, free: 13.59 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002477/0.02177, allocations: 1.503 MB / 405.7 MB, free: 12.03 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001032/0.0228, allocations: 343.5 kB / 406 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000376/0.02318, allocations: 128.8 kB / 406.1 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.351e-05/0.02321, allocations: 4 kB / 406.1 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000491/0.0237, allocations: 202.5 kB / 406.3 MB, free: 11.34 MB / 334.1 MB Notification: Performance of pre-optimization done (n=27): time 1.703e-06/0.0237, allocations: 4 kB / 406.3 MB, free: 11.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=27): time 0.001816/0.02552, allocations: 0.57 MB / 406.9 MB, free: 10.76 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.647e-05/0.02558, allocations: 85.11 kB / 407 MB, free: 10.66 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001146/0.02673, allocations: 0.9339 MB / 407.9 MB, free: 9.711 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.884e-05/0.02677, allocations: 33.7 kB / 407.9 MB, free: 9.672 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003152/0.02709, allocations: 364.5 kB / 408.3 MB, free: 9.312 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.979e-05/0.02718, allocations: 99.16 kB / 408.4 MB, free: 9.215 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001332/0.02731, allocations: 82.02 kB / 408.5 MB, free: 9.125 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002044/0.02751, allocations: 378.8 kB / 408.8 MB, free: 8.746 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004386/0.02795, allocations: 172.1 kB / 409 MB, free: 8.57 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005827/0.02853, allocations: 275 kB / 409.3 MB, free: 8.258 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008671/0.0294, allocations: 370.3 kB / 409.6 MB, free: 7.867 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.0294, allocations: 3.938 kB / 409.6 MB, free: 7.863 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001262/0.03067, allocations: 0.5608 MB / 410.2 MB, free: 7.281 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.886e-05/0.03071, allocations: 37.69 kB / 410.2 MB, free: 7.238 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.03071, allocations: 3.938 kB / 410.3 MB, free: 7.234 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002761/0.03099, allocations: 60.81 kB / 410.3 MB, free: 7.172 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000324/0.03131, allocations: 80.05 kB / 410.4 MB, free: 7.094 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001868/0.03318, allocations: 1.669 MB / 412.1 MB, free: 5.324 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003165/0.0335, allocations: 55.72 kB / 412.1 MB, free: 5.27 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.08e-05/0.03353, allocations: 16.06 kB / 412.1 MB, free: 5.254 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006331/0.03416, allocations: 378.5 kB / 412.5 MB, free: 4.875 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004658/0.03463, allocations: 259.1 kB / 412.8 MB, free: 4.586 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007519/0.03538, allocations: 340.4 kB / 413.1 MB, free: 4.223 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.694e-06/0.03538, allocations: 0 / 413.1 MB, free: 4.223 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.001184/0.03657, allocations: 0.5518 MB / 413.6 MB, free: 3.648 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.09e-05/0.0366, allocations: 33.7 kB / 413.7 MB, free: 3.609 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.0366, allocations: 4 kB / 413.7 MB, free: 3.605 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002054/0.03681, allocations: 65.02 kB / 413.7 MB, free: 3.539 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002986/0.0371, allocations: 71.89 kB / 413.8 MB, free: 3.469 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001762/0.03887, allocations: 1.68 MB / 415.5 MB, free: 1.688 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002848/0.03915, allocations: 43.95 kB / 415.5 MB, free: 1.645 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.677e-05/0.03918, allocations: 12 kB / 415.5 MB, free: 1.633 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,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 0.0001623/0.03934, allocations: 208.7 kB / 415.7 MB, free: 1.422 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.332e-05/0.03943, allocations: 71.53 kB / 415.8 MB, free: 1.352 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001121/0.04056, allocations: 428.9 kB / 416.2 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.04056, allocations: 0 / 416.2 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.04056, allocations: 4 kB / 416.2 MB, free: 0.918 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/0.04057, allocations: 3.984 kB / 416.2 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001715/0.04228, allocations: 0.8906 MB / 417.1 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.04229, allocations: 0 / 417.1 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002912/0.04258, allocations: 55.83 kB / 417.2 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001969/0.04277, allocations: 52.81 kB / 417.2 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.365e-05/0.0428, allocations: 11.98 kB / 417.2 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001739/0.04454, allocations: 1.669 MB / 418.9 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.04454, allocations: 3.984 kB / 418.9 MB, free: 14.08 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001509/0.04605, allocations: 0.6531 MB / 419.6 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00014/0.04619, allocations: 83.55 kB / 419.7 MB, free: 13.33 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.406e-05/0.04625, allocations: 7.984 kB / 419.7 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002877/0.04654, allocations: 31.97 kB / 419.7 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.421e-05/0.04663, allocations: 27.89 kB / 419.7 MB, free: 13.26 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.008e-05/0.04665, allocations: 4 kB / 419.7 MB, free: 13.26 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008401/0.04749, allocations: 0.6747 MB / 420.4 MB, free: 12.59 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.04749, allocations: 3.938 kB / 420.4 MB, free: 12.58 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007741/0.04826, allocations: 231.4 kB / 420.6 MB, free: 12.36 MB / 350.1 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.002468/0.05073, allocations: 0.6446 MB / 421.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001834/0.05256, allocations: 0.9098 MB / 422.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.05256, allocations: 0 / 422.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005806/0.05314, allocations: 270.5 kB / 422.4 MB, free: 10.76 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005797/0.05372, allocations: 102.1 kB / 422.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002163/0.05589, allocations: 1.316 MB / 423.9 MB, free: 9.32 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004147/0.0563, allocations: 356.8 kB / 424.2 MB, free: 8.949 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002225/0.05652, allocations: 84.33 kB / 424.3 MB, free: 8.863 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001141/0.05664, allocations: 36.48 kB / 424.3 MB, free: 8.828 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.05664, allocations: 8 kB / 424.3 MB, free: 8.82 MB / 350.1 MB Notification: Performance of Templates: time 0.0151/0.07173, allocations: 7.719 MB / 432.1 MB, free: 1.168 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.236452151089907] Failed to read output from testmodel.py, exit status != 0: 0.07996492832899094 0.094360386 0.076893134 Calling exit ...