Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.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.00129/0.00129, allocations: 79.52 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.001337/0.001337, allocations: 165.6 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.358/1.358, allocations: 177.2 MB / 202.8 MB, free: 9.172 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.03885/0.03885, allocations: 6.487 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.TestIceT01,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceT01,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 392.1 MB, free: 9.734 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.145e-05/2.29e-05, allocations: 2.281 kB / 392.1 MB, free: 9.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceT01): time 0.005455/0.005478, allocations: 3.525 MB / 395.7 MB, free: 6.184 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003071/0.008549, allocations: 1.889 MB / 397.5 MB, free: 4.285 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000289/0.008838, allocations: 11.88 kB / 397.6 MB, free: 4.273 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004805/0.009319, allocations: 198.9 kB / 397.8 MB, free: 4.078 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007146/0.01003, allocations: 294.3 kB / 398 MB, free: 3.789 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008726/0.01091, allocations: 406.5 kB / 398.4 MB, free: 3.395 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008593/0.01177, allocations: 0.6546 MB / 399.1 MB, free: 2.734 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003165/0.01208, allocations: 139.2 kB / 399.2 MB, free: 2.602 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000629/0.01271, allocations: 383 kB / 399.6 MB, free: 2.227 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003746/0.01309, allocations: 239.3 kB / 399.8 MB, free: 1.992 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.195e-05/0.01318, allocations: 52 kB / 399.9 MB, free: 1.941 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002254/0.0134, allocations: 119.8 kB / 400 MB, free: 1.824 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002261/0.01363, allocations: 211.3 kB / 400.2 MB, free: 1.617 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002445/0.01387, allocations: 199.3 kB / 400.4 MB, free: 1.422 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009956/0.01487, allocations: 0.8489 MB / 401.3 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.01487, allocations: 4 kB / 401.3 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.01487, allocations: 0 / 401.3 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.379e-05/0.01489, allocations: 4 kB / 401.3 MB, free: 0.5625 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.001876/0.01677, allocations: 1.027 MB / 402.3 MB, free: 15.49 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.0168, allocations: 8.031 kB / 402.3 MB, free: 15.48 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001581/0.01696, allocations: 88.38 kB / 402.4 MB, free: 15.4 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008624/0.01782, allocations: 0.5372 MB / 402.9 MB, free: 14.83 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.857e-05/0.01786, allocations: 29.38 kB / 402.9 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.816e-05/0.01794, allocations: 40.33 kB / 403 MB, free: 14.77 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009549/0.01889, allocations: 446.3 kB / 403.4 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.326e-05/0.01892, allocations: 4 kB / 403.4 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.962e-05/0.01897, allocations: 12 kB / 403.4 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.292e-05/0.01898, allocations: 12 kB / 403.4 MB, free: 14.28 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000882/0.01986, allocations: 311.7 kB / 403.8 MB, free: 13.97 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002466/0.02233, allocations: 1.426 MB / 405.2 MB, free: 12.49 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009781/0.0233, allocations: 321.4 kB / 405.5 MB, free: 12.17 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003612/0.02367, allocations: 116.8 kB / 405.6 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.488e-05/0.0237, allocations: 4 kB / 405.6 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000491/0.02419, allocations: 187.2 kB / 405.8 MB, free: 11.86 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 1.843e-06/0.02419, allocations: 0 / 405.8 MB, free: 11.86 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.001488/0.02568, allocations: 472.8 kB / 406.3 MB, free: 11.39 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.399e-05/0.02574, allocations: 81.11 kB / 406.3 MB, free: 11.29 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0012/0.02695, allocations: 0.9377 MB / 407.3 MB, free: 10.34 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.799e-05/0.02698, allocations: 29.7 kB / 407.3 MB, free: 10.3 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003186/0.0273, allocations: 356.6 kB / 407.6 MB, free: 9.949 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.559e-05/0.02738, allocations: 83.28 kB / 407.7 MB, free: 9.867 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001318/0.02751, allocations: 77.64 kB / 407.8 MB, free: 9.785 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001979/0.02771, allocations: 382.7 kB / 408.2 MB, free: 9.402 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004337/0.02814, allocations: 170.5 kB / 408.3 MB, free: 9.227 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004885/0.02863, allocations: 259 kB / 408.6 MB, free: 8.934 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000857/0.02949, allocations: 352 kB / 408.9 MB, free: 8.559 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.02949, allocations: 0 / 408.9 MB, free: 8.559 MB / 334.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001177/0.03067, allocations: 0.5084 MB / 409.5 MB, free: 8.027 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.467e-05/0.03071, allocations: 34.8 kB / 409.5 MB, free: 7.988 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.03072, allocations: 3.938 kB / 409.5 MB, free: 7.984 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001685/0.03089, allocations: 24.84 kB / 409.5 MB, free: 7.957 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003497/0.03124, allocations: 84.11 kB / 409.6 MB, free: 7.875 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001159/0.0324, allocations: 1.24 MB / 410.8 MB, free: 6.531 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003229/0.03272, allocations: 47.78 kB / 410.9 MB, free: 6.484 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.44e-05/0.03275, allocations: 16 kB / 410.9 MB, free: 6.469 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006306/0.03338, allocations: 378.5 kB / 411.3 MB, free: 6.09 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004411/0.03382, allocations: 247.7 kB / 411.5 MB, free: 5.809 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007353/0.03456, allocations: 331.8 kB / 411.8 MB, free: 5.453 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.663e-06/0.03456, allocations: 0 / 411.8 MB, free: 5.453 MB / 334.1 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001065/0.03563, allocations: 0.4892 MB / 412.3 MB, free: 4.941 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.402e-05/0.03566, allocations: 37.69 kB / 412.4 MB, free: 4.898 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.331e-06/0.03567, allocations: 7.984 kB / 412.4 MB, free: 4.891 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.17e-05/0.03575, allocations: 24.84 kB / 412.4 MB, free: 4.863 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003044/0.03605, allocations: 79.83 kB / 412.5 MB, free: 4.785 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009953/0.03705, allocations: 1.237 MB / 413.7 MB, free: 3.445 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002859/0.03733, allocations: 47.78 kB / 413.8 MB, free: 3.398 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.921e-05/0.03736, allocations: 12 kB / 413.8 MB, free: 3.387 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.0001699/0.03753, allocations: 206.5 kB / 414 MB, free: 3.184 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.732e-05/0.03762, allocations: 63.58 kB / 414 MB, free: 3.121 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009962/0.03862, allocations: 376.2 kB / 414.4 MB, free: 2.742 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-06/0.03862, allocations: 4 kB / 414.4 MB, free: 2.738 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.03862, allocations: 3.938 kB / 414.4 MB, free: 2.734 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.03863, allocations: 0 / 414.4 MB, free: 2.734 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004742/0.0391, allocations: 404.9 kB / 414.8 MB, free: 2.309 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.0391, allocations: 0 / 414.8 MB, free: 2.309 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002906/0.03939, allocations: 51.95 kB / 414.9 MB, free: 2.258 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.059e-05/0.03947, allocations: 24.84 kB / 414.9 MB, free: 2.23 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.145e-05/0.0395, allocations: 4 kB / 414.9 MB, free: 2.227 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009692/0.04047, allocations: 1.257 MB / 416.1 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.04047, allocations: 0 / 416.1 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001295/0.04176, allocations: 0.529 MB / 416.7 MB, free: 320 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001321/0.04189, allocations: 79.55 kB / 416.7 MB, free: 240 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.187e-05/0.04196, allocations: 8 kB / 416.7 MB, free: 232 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002469/0.0422, allocations: 27.97 kB / 416.8 MB, free: 204 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.576e-05/0.0423, allocations: 23.95 kB / 416.8 MB, free: 180 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.188e-05/0.04232, allocations: 8 kB / 416.8 MB, free: 172 kB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0008669/0.04319, allocations: 0.663 MB / 417.5 MB, free: 15.51 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.04319, allocations: 0 / 417.5 MB, free: 15.51 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006395/0.04383, allocations: 219.4 kB / 417.7 MB, free: 15.3 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (iceT.inertia.w,iceT.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 (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.00252/0.04635, allocations: 0.6486 MB / 418.3 MB, free: 14.95 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001716/0.04806, allocations: 0.8454 MB / 419.2 MB, free: 14.04 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.04807, allocations: 0 / 419.2 MB, free: 14.04 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000519/0.04858, allocations: 250.5 kB / 419.4 MB, free: 13.79 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005097/0.04909, allocations: 108 kB / 419.5 MB, free: 13.69 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002038/0.05113, allocations: 1.261 MB / 420.8 MB, free: 12.39 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003649/0.0515, allocations: 342 kB / 421.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002196/0.05172, allocations: 84.22 kB / 421.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001187/0.05184, allocations: 44.48 kB / 421.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.05184, allocations: 4 kB / 421.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of Templates: time 0.01345/0.06529, allocations: 6.909 MB / 428.2 MB, free: 5.051 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01 -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.179365880787373] Failed to read output from testmodel.py, exit status != 0: 0.07358374819159508 0.08717796400000001 0.06942878400000001 Calling exit ...