Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_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.0009586/0.0009586, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001002/0.001002, allocations: 169 kB / 24.06 MB, free: 456 kB / 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 1.004/1.004, allocations: 177.1 MB / 204.5 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] 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.03471/0.03471, allocations: 6.505 MB / 267.5 MB, free: 6.477 MB / 250.7 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.TestIceP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.545e-06/2.545e-06, allocations: 4 kB / 339.3 MB, free: 11.57 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.996e-05/2.25e-05, allocations: 5.266 kB / 339.3 MB, free: 11.57 MB / 314.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceP): time 0.003974/0.003996, allocations: 3.738 MB / 343.1 MB, free: 7.805 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002241/0.006238, allocations: 1.967 MB / 345 MB, free: 5.832 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002597/0.006497, allocations: 11.94 kB / 345 MB, free: 5.82 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004025/0.0069, allocations: 210.7 kB / 345.2 MB, free: 5.613 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005199/0.00742, allocations: 294.4 kB / 345.5 MB, free: 5.324 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006023/0.008022, allocations: 411 kB / 345.9 MB, free: 4.922 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005554/0.008578, allocations: 0.686 MB / 346.6 MB, free: 4.234 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000244/0.008822, allocations: 156.2 kB / 346.8 MB, free: 4.078 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003845/0.009206, allocations: 390.9 kB / 347.1 MB, free: 3.695 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002844/0.00949, allocations: 255.3 kB / 347.4 MB, free: 3.445 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.526e-05/0.009546, allocations: 60 kB / 347.5 MB, free: 3.387 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001491/0.009695, allocations: 127.8 kB / 347.6 MB, free: 3.262 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001601/0.009855, allocations: 227.3 kB / 347.8 MB, free: 3.039 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001463/0.01, allocations: 211.3 kB / 348 MB, free: 2.832 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005785/0.01058, allocations: 0.5876 MB / 348.6 MB, free: 2.242 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.01058, allocations: 0 / 348.6 MB, free: 2.242 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.01058, allocations: 0 / 348.6 MB, free: 2.242 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.01059, allocations: 0 / 348.6 MB, free: 2.242 MB / 314.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.001089/0.01168, allocations: 1.154 MB / 349.7 MB, free: 1.043 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.933e-05/0.01171, allocations: 8.031 kB / 349.8 MB, free: 1.035 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001225/0.01183, allocations: 120.4 kB / 349.9 MB, free: 0.918 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004338/0.01226, allocations: 472.9 kB / 350.3 MB, free: 436 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.174e-05/0.0123, allocations: 37.31 kB / 350.4 MB, free: 396 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.865e-05/0.01234, allocations: 40.38 kB / 350.4 MB, free: 356 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004033/0.01275, allocations: 365.4 kB / 350.8 MB, free: 15.95 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/0.01277, allocations: 11.95 kB / 350.8 MB, free: 15.94 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.731e-05/0.01279, allocations: 19.98 kB / 350.8 MB, free: 15.92 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.0128, allocations: 8 kB / 350.8 MB, free: 15.91 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001559/0.01296, allocations: 118.8 kB / 350.9 MB, free: 15.79 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001393/0.01435, allocations: 1.506 MB / 352.4 MB, free: 14.23 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000283/0.01463, allocations: 178.5 kB / 352.6 MB, free: 14.05 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.033e-05/0.01469, allocations: 47.66 kB / 352.6 MB, free: 14 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.472e-05/0.01472, allocations: 7.984 kB / 352.7 MB, free: 13.99 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000151/0.01487, allocations: 119.7 kB / 352.8 MB, free: 13.86 MB / 330.7 MB Notification: Performance of pre-optimization done (n=27): time 1.463e-06/0.01487, allocations: 0 / 352.8 MB, free: 13.86 MB / 330.7 MB Notification: Performance of matching and sorting (n=27): time 0.0005983/0.01547, allocations: 350.7 kB / 353.1 MB, free: 13.51 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.96e-05/0.01551, allocations: 85.11 kB / 353.2 MB, free: 13.41 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004907/0.016, allocations: 0.6866 MB / 353.9 MB, free: 12.7 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.554e-05/0.01602, allocations: 33.7 kB / 353.9 MB, free: 12.66 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002321/0.01626, allocations: 439.1 kB / 354.3 MB, free: 12.23 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.398e-05/0.01631, allocations: 95.19 kB / 354.4 MB, free: 12.14 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.71e-05/0.0164, allocations: 83.64 kB / 354.5 MB, free: 12.04 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000184/0.01658, allocations: 0.5741 MB / 355.1 MB, free: 11.46 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.565e-05/0.01667, allocations: 78.97 kB / 355.2 MB, free: 11.37 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001288/0.0168, allocations: 200.5 kB / 355.4 MB, free: 11.12 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001854/0.01698, allocations: 221 kB / 355.6 MB, free: 10.87 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.01698, allocations: 3.938 kB / 355.6 MB, free: 10.87 MB / 330.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000396/0.01738, allocations: 393.3 kB / 356 MB, free: 10.46 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.089e-05/0.01741, allocations: 44.66 kB / 356 MB, free: 10.41 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.01742, allocations: 4 kB / 356 MB, free: 10.41 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001862/0.0176, allocations: 67.56 kB / 356.1 MB, free: 10.34 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001593/0.01776, allocations: 71.91 kB / 356.2 MB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001078/0.01884, allocations: 2.099 MB / 358.3 MB, free: 8.059 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001396/0.01898, allocations: 35.83 kB / 358.3 MB, free: 8.023 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.829e-05/0.019, allocations: 15.98 kB / 358.3 MB, free: 8.008 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001488/0.01915, allocations: 205.3 kB / 358.5 MB, free: 7.797 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001185/0.01927, allocations: 196.6 kB / 358.7 MB, free: 7.559 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001664/0.01943, allocations: 211.4 kB / 358.9 MB, free: 7.312 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.293e-06/0.01943, allocations: 0 / 358.9 MB, free: 7.312 MB / 330.7 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0003569/0.01979, allocations: 391.8 kB / 359.3 MB, free: 6.906 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/0.01981, allocations: 41.84 kB / 359.3 MB, free: 6.859 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.01982, allocations: 4 kB / 359.3 MB, free: 6.855 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001315/0.01995, allocations: 75.69 kB / 359.4 MB, free: 6.777 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/0.02008, allocations: 63.91 kB / 359.5 MB, free: 6.715 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009477/0.02103, allocations: 2.099 MB / 361.6 MB, free: 4.5 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001308/0.02116, allocations: 47.7 kB / 361.6 MB, free: 4.453 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.381e-05/0.02117, allocations: 12 kB / 361.6 MB, free: 4.441 MB / 330.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 (iceP.tokgFuel.local_reset,trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1) * 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.0001099/0.02128, allocations: 284 kB / 361.9 MB, free: 4.156 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.981e-05/0.02135, allocations: 83.55 kB / 362 MB, free: 4.074 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003041/0.02166, allocations: 243.8 kB / 362.2 MB, free: 3.82 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.02166, allocations: 8.031 kB / 362.2 MB, free: 3.812 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.02166, allocations: 192 / 362.2 MB, free: 3.812 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.02167, allocations: 7.984 kB / 362.2 MB, free: 3.805 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006325/0.0223, allocations: 0.6901 MB / 362.9 MB, free: 3.078 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.0223, allocations: 0 / 362.9 MB, free: 3.078 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001214/0.02242, allocations: 39.97 kB / 363 MB, free: 3.039 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001284/0.02255, allocations: 67.56 kB / 363 MB, free: 2.969 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/0.02257, allocations: 8 kB / 363 MB, free: 2.961 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009024/0.02347, allocations: 2.087 MB / 365.1 MB, free: 0.7617 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.02347, allocations: 0 / 365.1 MB, free: 0.7617 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003878/0.02386, allocations: 456.1 kB / 365.6 MB, free: 296 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.27e-05/0.02392, allocations: 71.5 kB / 365.6 MB, free: 224 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.59e-05/0.02396, allocations: 8 kB / 365.7 MB, free: 216 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.02407, allocations: 15.98 kB / 365.7 MB, free: 200 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.483e-05/0.02412, allocations: 23.95 kB / 365.7 MB, free: 176 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/0.02413, allocations: 11.98 kB / 365.7 MB, free: 164 kB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002878/0.02442, allocations: 422.8 kB / 366.1 MB, free: 15.75 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02442, allocations: 0 / 366.1 MB, free: 15.75 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005234/0.02494, allocations: 239.4 kB / 366.4 MB, free: 15.52 MB / 346.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.001254/0.0262, allocations: 0.5716 MB / 366.9 MB, free: 15.18 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006582/0.02686, allocations: 0.7999 MB / 367.7 MB, free: 14.3 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.02686, allocations: 0 / 367.7 MB, free: 14.3 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001744/0.02703, allocations: 265.3 kB / 368 MB, free: 14.02 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003802/0.02741, allocations: 117.9 kB / 368.1 MB, free: 13.91 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001469/0.02888, allocations: 1.118 MB / 369.2 MB, free: 12.75 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001119/0.02899, allocations: 169.3 kB / 369.4 MB, free: 12.57 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001455/0.02914, allocations: 68.31 kB / 369.4 MB, free: 12.5 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001893/0.02933, allocations: 158.2 kB / 369.6 MB, free: 12.34 MB / 346.7 MB Notification: Performance of SimCode: time 9.41e-07/0.02933, allocations: 0 / 369.6 MB, free: 12.34 MB / 346.7 MB Notification: Performance of Templates: time 0.01124/0.04057, allocations: 8.557 MB / 378.2 MB, free: 3.844 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.111119979992509]