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.0008015/0.0008015, allocations: 76.5 kB / 19.92 MB, free: 4.617 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.0008154/0.0008154, allocations: 178.2 kB / 23.21 MB, free: 1.332 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.8915/0.8915, allocations: 177.2 MB / 203.6 MB, free: 5.754 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.02584/0.02584, allocations: 6.471 MB / 266.5 MB, free: 6.852 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 2.505e-06/2.505e-06, allocations: 0 / 393 MB, free: 5.219 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.458e-05/2.708e-05, allocations: 2.281 kB / 393 MB, free: 5.215 MB / 362.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceP): time 0.00396/0.003987, allocations: 3.615 MB / 396.6 MB, free: 1.578 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002094/0.00608, allocations: 1.923 MB / 398.5 MB, free: 15.65 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002541/0.006334, allocations: 15.94 kB / 398.5 MB, free: 15.63 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004148/0.006749, allocations: 214.8 kB / 398.7 MB, free: 15.42 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005747/0.007324, allocations: 290.3 kB / 399 MB, free: 15.14 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006493/0.007973, allocations: 421.4 kB / 399.4 MB, free: 14.73 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005793/0.008553, allocations: 0.6859 MB / 400.1 MB, free: 14.04 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002745/0.008827, allocations: 160.2 kB / 400.3 MB, free: 13.88 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004666/0.009294, allocations: 387 kB / 400.7 MB, free: 13.5 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003061/0.0096, allocations: 263.2 kB / 400.9 MB, free: 13.24 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.4e-05/0.009664, allocations: 60 kB / 401 MB, free: 13.18 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001675/0.009831, allocations: 123.8 kB / 401.1 MB, free: 13.06 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001742/0.01001, allocations: 219.3 kB / 401.3 MB, free: 12.84 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001822/0.01019, allocations: 211.3 kB / 401.5 MB, free: 12.64 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007867/0.01097, allocations: 0.8878 MB / 402.4 MB, free: 11.75 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.01098, allocations: 0 / 402.4 MB, free: 11.75 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.01098, allocations: 0 / 402.4 MB, free: 11.75 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.352e-05/0.01099, allocations: 0 / 402.4 MB, free: 11.75 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.001272/0.01226, allocations: 1.058 MB / 403.5 MB, free: 10.65 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.01231, allocations: 8.031 kB / 403.5 MB, free: 10.64 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001279/0.01243, allocations: 88.38 kB / 403.6 MB, free: 10.55 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006749/0.01311, allocations: 0.5449 MB / 404.1 MB, free: 9.984 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.747e-05/0.01315, allocations: 33.38 kB / 404.1 MB, free: 9.949 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.73e-05/0.0132, allocations: 48.38 kB / 404.2 MB, free: 9.902 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005885/0.01379, allocations: 474.5 kB / 404.6 MB, free: 9.414 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.496e-05/0.01382, allocations: 11.89 kB / 404.7 MB, free: 9.402 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.937e-05/0.01385, allocations: 19.98 kB / 404.7 MB, free: 9.383 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.826e-06/0.01386, allocations: 8 kB / 404.7 MB, free: 9.375 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004827/0.01434, allocations: 327.8 kB / 405 MB, free: 9.051 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00155/0.01589, allocations: 1.503 MB / 406.5 MB, free: 7.496 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005678/0.01646, allocations: 357.7 kB / 406.9 MB, free: 7.141 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001987/0.01665, allocations: 124.8 kB / 407 MB, free: 7.016 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.436e-05/0.01669, allocations: 7.984 kB / 407 MB, free: 7.008 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002992/0.01699, allocations: 197.1 kB / 407.2 MB, free: 6.801 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 1.623e-06/0.01699, allocations: 0 / 407.2 MB, free: 6.801 MB / 378.7 MB Notification: Performance of matching and sorting (n=27): time 0.00102/0.01801, allocations: 0.5661 MB / 407.7 MB, free: 6.227 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.433e-05/0.01805, allocations: 85.11 kB / 407.8 MB, free: 6.125 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007496/0.0188, allocations: 0.9339 MB / 408.8 MB, free: 5.18 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.523e-05/0.01883, allocations: 29.7 kB / 408.8 MB, free: 5.145 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002062/0.01904, allocations: 372.5 kB / 409.1 MB, free: 4.773 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.299e-05/0.01909, allocations: 99.23 kB / 409.2 MB, free: 4.676 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.4e-05/0.01917, allocations: 78.02 kB / 409.3 MB, free: 4.59 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.0193, allocations: 386.8 kB / 409.7 MB, free: 4.203 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002501/0.01955, allocations: 168.1 kB / 409.9 MB, free: 4.031 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002671/0.01982, allocations: 271 kB / 410.1 MB, free: 3.727 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004411/0.02026, allocations: 378.2 kB / 410.5 MB, free: 3.328 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.02026, allocations: 0 / 410.5 MB, free: 3.328 MB / 378.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000681/0.02095, allocations: 0.5608 MB / 411.1 MB, free: 2.746 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.073e-05/0.02098, allocations: 33.7 kB / 411.1 MB, free: 2.707 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.02098, allocations: 7.938 kB / 411.1 MB, free: 2.699 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001804/0.02116, allocations: 56.81 kB / 411.2 MB, free: 2.641 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001739/0.02134, allocations: 79.88 kB / 411.2 MB, free: 2.562 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001111/0.02245, allocations: 1.673 MB / 412.9 MB, free: 0.7891 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001629/0.02261, allocations: 55.67 kB / 413 MB, free: 0.7344 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.962e-05/0.02263, allocations: 16 kB / 413 MB, free: 0.7188 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003583/0.02299, allocations: 378.6 kB / 413.3 MB, free: 348 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002285/0.02322, allocations: 259.1 kB / 413.6 MB, free: 48 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000384/0.0236, allocations: 340.4 kB / 413.9 MB, free: 15.68 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.743e-06/0.0236, allocations: 0 / 413.9 MB, free: 15.68 MB / 394.7 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0006037/0.02421, allocations: 0.5364 MB / 414.5 MB, free: 15.12 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.71e-05/0.02424, allocations: 41.69 kB / 414.5 MB, free: 15.08 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.344e-06/0.02424, allocations: 0 / 414.5 MB, free: 15.08 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001143/0.02435, allocations: 64.81 kB / 414.6 MB, free: 15.01 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001442/0.0245, allocations: 71.89 kB / 414.6 MB, free: 14.94 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009631/0.02546, allocations: 1.692 MB / 416.3 MB, free: 13.15 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001505/0.02561, allocations: 39.88 kB / 416.4 MB, free: 13.11 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.686e-05/0.02563, allocations: 11.98 kB / 416.4 MB, free: 13.1 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.0001135/0.02574, allocations: 210.7 kB / 416.6 MB, free: 12.89 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.274e-05/0.02579, allocations: 67.53 kB / 416.7 MB, free: 12.82 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005681/0.02636, allocations: 429.8 kB / 417.1 MB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.02636, allocations: 8 kB / 417.1 MB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.02637, allocations: 0 / 417.1 MB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.02637, allocations: 0 / 417.1 MB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009355/0.0273, allocations: 0.8935 MB / 418 MB, free: 11.45 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.02731, allocations: 8 kB / 418 MB, free: 11.44 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001473/0.02745, allocations: 55.89 kB / 418 MB, free: 11.39 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001072/0.02756, allocations: 52.81 kB / 418.1 MB, free: 11.33 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.02758, allocations: 8 kB / 418.1 MB, free: 11.32 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009455/0.02852, allocations: 1.669 MB / 419.8 MB, free: 9.547 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.02852, allocations: 0 / 419.8 MB, free: 9.547 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00075/0.02927, allocations: 0.649 MB / 420.4 MB, free: 8.879 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.604e-05/0.02935, allocations: 83.55 kB / 420.5 MB, free: 8.797 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.348e-05/0.02938, allocations: 8 kB / 420.5 MB, free: 8.789 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001302/0.02951, allocations: 23.97 kB / 420.5 MB, free: 8.766 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.734e-05/0.02959, allocations: 31.89 kB / 420.6 MB, free: 8.734 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.431e-05/0.0296, allocations: 7.984 kB / 420.6 MB, free: 8.727 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005201/0.03012, allocations: 0.6786 MB / 421.2 MB, free: 8.055 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03012, allocations: 0 / 421.2 MB, free: 8.055 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005642/0.03069, allocations: 231.4 kB / 421.5 MB, free: 7.828 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.001099/0.03179, allocations: 0.6496 MB / 422.1 MB, free: 7.477 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0011/0.03289, allocations: 0.9059 MB / 423 MB, free: 6.508 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.03289, allocations: 0 / 423 MB, free: 6.508 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002715/0.03316, allocations: 279 kB / 423.3 MB, free: 6.223 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003492/0.03351, allocations: 93.59 kB / 423.4 MB, free: 6.137 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001492/0.035, allocations: 1.305 MB / 424.7 MB, free: 4.801 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002352/0.03524, allocations: 362 kB / 425.1 MB, free: 4.422 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001512/0.03539, allocations: 92.25 kB / 425.1 MB, free: 4.332 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.023e-05/0.03546, allocations: 36.5 kB / 425.2 MB, free: 4.297 MB / 394.7 MB Notification: Performance of SimCode: time 4.2e-07/0.03546, allocations: 0 / 425.2 MB, free: 4.297 MB / 394.7 MB Notification: Performance of Templates: time 0.009838/0.0453, allocations: 7.746 MB / 432.9 MB, free: 12.62 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 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 2.979652164503932] Failed to read output from testmodel.py, exit status != 0: 0.05111356172710657 0.202771424 0.046514516000000006 Calling exit ...