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.0008766/0.0008766, allocations: 76.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.0008305/0.0008305, allocations: 181.9 kB / 23.22 MB, free: 1.348 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.8612/0.8612, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 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.02482/0.02482, allocations: 6.472 MB / 266.4 MB, free: 6.836 MB / 250.7 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 3.507e-06/3.507e-06, allocations: 0 / 392.9 MB, free: 5.207 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.841e-05/3.192e-05, allocations: 10.16 kB / 392.9 MB, free: 5.195 MB / 362.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceP): time 0.004643/0.004675, allocations: 3.621 MB / 396.5 MB, free: 1.555 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002478/0.007153, allocations: 1.92 MB / 398.4 MB, free: 15.63 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000283/0.007437, allocations: 11.94 kB / 398.5 MB, free: 15.62 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004139/0.00785, allocations: 214.7 kB / 398.7 MB, free: 15.41 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006146/0.008465, allocations: 290.3 kB / 398.9 MB, free: 15.12 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007743/0.009239, allocations: 421.4 kB / 399.4 MB, free: 14.71 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006689/0.009908, allocations: 0.6821 MB / 400 MB, free: 14.03 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002775/0.01019, allocations: 156.2 kB / 400.2 MB, free: 13.87 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005012/0.01069, allocations: 391 kB / 400.6 MB, free: 13.48 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003264/0.01101, allocations: 259.2 kB / 400.8 MB, free: 13.23 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.562e-05/0.01107, allocations: 56 kB / 400.9 MB, free: 13.18 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001807/0.01125, allocations: 119.9 kB / 401 MB, free: 13.06 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001681/0.01142, allocations: 223.2 kB / 401.2 MB, free: 12.84 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001558/0.01157, allocations: 211.3 kB / 401.4 MB, free: 12.63 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008076/0.01238, allocations: 0.8956 MB / 402.3 MB, free: 11.73 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.01239, allocations: 0 / 402.3 MB, free: 11.73 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.01239, allocations: 0 / 402.3 MB, free: 11.73 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.48e-05/0.0124, allocations: 0 / 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.001668/0.01407, allocations: 1.066 MB / 403.4 MB, free: 10.63 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.01411, allocations: 8.031 kB / 403.4 MB, free: 10.62 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000125/0.01423, allocations: 88.38 kB / 403.5 MB, free: 10.54 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005901/0.01482, allocations: 0.5372 MB / 404 MB, free: 9.973 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.911e-05/0.01485, allocations: 29.38 kB / 404 MB, free: 9.941 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.927e-05/0.0149, allocations: 40.38 kB / 404.1 MB, free: 9.902 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005779/0.01548, allocations: 482.5 kB / 404.6 MB, free: 9.406 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.115e-05/0.0155, allocations: 15.94 kB / 404.6 MB, free: 9.391 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.604e-05/0.01553, allocations: 12 kB / 404.6 MB, free: 9.379 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.01553, allocations: 12 kB / 404.6 MB, free: 9.367 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004732/0.01601, allocations: 327.7 kB / 404.9 MB, free: 9.043 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001745/0.01775, allocations: 1.51 MB / 406.4 MB, free: 7.48 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006382/0.01839, allocations: 342.8 kB / 406.8 MB, free: 7.137 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001914/0.01858, allocations: 128.8 kB / 406.9 MB, free: 7.008 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.553e-05/0.01862, allocations: 8 kB / 406.9 MB, free: 7 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002918/0.01891, allocations: 193.1 kB / 407.1 MB, free: 6.797 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 2.545e-06/0.01891, allocations: 0 / 407.1 MB, free: 6.797 MB / 378.7 MB Notification: Performance of matching and sorting (n=27): time 0.00107/0.01998, allocations: 0.57 MB / 407.7 MB, free: 6.219 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.146e-05/0.02003, allocations: 85.05 kB / 407.7 MB, free: 6.117 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000792/0.02082, allocations: 0.9378 MB / 408.7 MB, free: 5.168 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.671e-05/0.02085, allocations: 29.7 kB / 408.7 MB, free: 5.133 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002084/0.02106, allocations: 368.5 kB / 409.1 MB, free: 4.766 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.059e-05/0.02112, allocations: 103.2 kB / 409.2 MB, free: 4.664 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.911e-05/0.02121, allocations: 81.95 kB / 409.2 MB, free: 4.574 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.02133, allocations: 378.8 kB / 409.6 MB, free: 4.195 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005201/0.02185, allocations: 176.1 kB / 409.8 MB, free: 4.016 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002479/0.0221, allocations: 267.1 kB / 410 MB, free: 3.715 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000423/0.02252, allocations: 370.2 kB / 410.4 MB, free: 3.324 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.668e-06/0.02253, allocations: 0 / 410.4 MB, free: 3.324 MB / 378.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007144/0.02324, allocations: 0.5608 MB / 411 MB, free: 2.742 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.693e-05/0.02328, allocations: 33.7 kB / 411 MB, free: 2.703 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.02329, allocations: 8.156 kB / 411 MB, free: 2.695 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002052/0.02349, allocations: 68.75 kB / 411.1 MB, free: 2.625 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001861/0.02368, allocations: 75.88 kB / 411.2 MB, free: 2.551 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001181/0.02486, allocations: 1.669 MB / 412.8 MB, free: 0.7812 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001965/0.02506, allocations: 59.67 kB / 412.9 MB, free: 0.7227 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.902e-05/0.02508, allocations: 16 kB / 412.9 MB, free: 0.707 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003939/0.02547, allocations: 374.6 kB / 413.3 MB, free: 340 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002334/0.0257, allocations: 255.2 kB / 413.5 MB, free: 44 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000388/0.02609, allocations: 340.4 kB / 413.8 MB, free: 15.68 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.814e-06/0.02609, allocations: 0 / 413.8 MB, free: 15.68 MB / 394.7 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0006385/0.02673, allocations: 0.5404 MB / 414.4 MB, free: 15.12 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.933e-05/0.02676, allocations: 37.73 kB / 414.4 MB, free: 15.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.02677, allocations: 7.922 kB / 414.4 MB, free: 15.07 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001408/0.02691, allocations: 64.81 kB / 414.5 MB, free: 15 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001576/0.02706, allocations: 71.89 kB / 414.6 MB, free: 14.93 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001163/0.02823, allocations: 1.688 MB / 416.2 MB, free: 13.14 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001852/0.02841, allocations: 39.86 kB / 416.3 MB, free: 13.11 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.02843, allocations: 16 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 0.0001585/0.02859, allocations: 200.1 kB / 416.5 MB, free: 12.89 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.777e-05/0.02865, allocations: 67.53 kB / 416.6 MB, free: 12.82 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000931/0.02958, allocations: 437.8 kB / 417 MB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.02958, allocations: 4 kB / 417 MB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.02959, allocations: 0 / 417 MB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.02959, allocations: 0 / 417 MB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001042/0.03063, allocations: 0.8974 MB / 417.9 MB, free: 11.44 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.03064, allocations: 0 / 417.9 MB, free: 11.44 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001492/0.03079, allocations: 47.95 kB / 417.9 MB, free: 11.39 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000132/0.03092, allocations: 64.81 kB / 418 MB, free: 11.32 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.865e-05/0.03094, allocations: 7.938 kB / 418 MB, free: 11.32 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001111/0.03205, allocations: 1.677 MB / 419.7 MB, free: 9.531 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.03205, allocations: 3.938 kB / 419.7 MB, free: 9.527 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008158/0.03287, allocations: 0.645 MB / 420.3 MB, free: 8.863 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.357e-05/0.03295, allocations: 83.55 kB / 420.4 MB, free: 8.781 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.635e-05/0.03299, allocations: 8 kB / 420.4 MB, free: 8.773 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001382/0.03313, allocations: 23.97 kB / 420.4 MB, free: 8.75 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.111e-05/0.03322, allocations: 31.88 kB / 420.5 MB, free: 8.719 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.537e-05/0.03323, allocations: 12 kB / 420.5 MB, free: 8.707 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000602/0.03383, allocations: 0.6669 MB / 421.2 MB, free: 8.047 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03383, allocations: 0 / 421.2 MB, free: 8.047 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007477/0.03458, allocations: 239.4 kB / 421.4 MB, free: 7.812 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.001105/0.03569, allocations: 0.6487 MB / 422 MB, free: 7.465 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001219/0.03691, allocations: 0.9093 MB / 422.9 MB, free: 6.492 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.03691, allocations: 0 / 422.9 MB, free: 6.492 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002984/0.03721, allocations: 275.5 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.0004313/0.03764, allocations: 89.98 kB / 423.3 MB, free: 6.125 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001902/0.03954, allocations: 1.338 MB / 424.6 MB, free: 4.75 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002403/0.03978, allocations: 350 kB / 425 MB, free: 4.383 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.871e-05/0.03987, allocations: 52.42 kB / 425 MB, free: 4.332 MB / 394.7 MB Notification: Performance of SimCode: time 8.81e-07/0.03987, allocations: 0 / 425 MB, free: 4.332 MB / 394.7 MB Notification: Performance of Templates: time 0.01182/0.05169, allocations: 11.43 MB / 436.5 MB, free: 8.902 MB / 410.7 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: 5.21823794580996] Failed to read output from testmodel.py, exit status != 0: 0.05811182036995888 0.21826922 0.204128736 Calling exit ...