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.001469/0.001469, allocations: 84.73 kB / 19.44 MB, free: 352 kB / 13.93 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.001681/0.001681, allocations: 157.7 kB / 22.75 MB, free: 1.68 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 1.512/1.512, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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.04398/0.04398, allocations: 6.484 MB / 266 MB, free: 6.668 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.264e-06/2.264e-06, allocations: 0 / 337.3 MB, free: 11.15 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.785e-05/3.012e-05, allocations: 2.312 kB / 337.3 MB, free: 11.15 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceP): time 0.007622/0.007652, allocations: 3.618 MB / 341 MB, free: 7.512 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004844/0.0125, allocations: 1.924 MB / 342.9 MB, free: 5.582 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005348/0.01303, allocations: 11.94 kB / 342.9 MB, free: 5.57 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007645/0.0138, allocations: 206.8 kB / 343.1 MB, free: 5.367 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001245/0.01504, allocations: 302.3 kB / 343.4 MB, free: 5.07 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001275/0.01631, allocations: 411 kB / 343.8 MB, free: 4.668 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007045/0.01702, allocations: 0.6821 MB / 344.5 MB, free: 3.984 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003428/0.01736, allocations: 168.2 kB / 344.6 MB, free: 3.812 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005266/0.01789, allocations: 383 kB / 345 MB, free: 3.438 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003019/0.01819, allocations: 259.2 kB / 345.3 MB, free: 3.184 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.652e-05/0.01826, allocations: 56 kB / 345.3 MB, free: 3.129 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000186/0.01844, allocations: 123.8 kB / 345.4 MB, free: 3.008 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001464/0.01859, allocations: 223.3 kB / 345.7 MB, free: 2.789 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001818/0.01877, allocations: 207.3 kB / 345.9 MB, free: 2.586 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007809/0.01955, allocations: 0.8917 MB / 346.7 MB, free: 1.691 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.01956, allocations: 4 kB / 346.8 MB, free: 1.688 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.163e-06/0.01956, allocations: 0 / 346.8 MB, free: 1.688 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.354e-05/0.01957, allocations: 4 kB / 346.8 MB, free: 1.684 MB / 266.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.001646/0.02122, allocations: 1.054 MB / 347.8 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.02125, allocations: 12.03 kB / 347.8 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001693/0.02142, allocations: 124.3 kB / 347.9 MB, free: 468 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007595/0.02218, allocations: 0.5528 MB / 348.5 MB, free: 15.88 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.618e-05/0.02223, allocations: 29.38 kB / 348.5 MB, free: 15.85 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.048e-05/0.02232, allocations: 40.38 kB / 348.6 MB, free: 15.81 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001039/0.02336, allocations: 478.5 kB / 349 MB, free: 15.32 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.02337, allocations: 7.984 kB / 349 MB, free: 15.31 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.407e-05/0.02342, allocations: 16 kB / 349.1 MB, free: 15.29 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/0.02343, allocations: 8 kB / 349.1 MB, free: 15.29 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009605/0.02439, allocations: 327.7 kB / 349.4 MB, free: 14.96 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002887/0.02728, allocations: 1.522 MB / 350.9 MB, free: 13.38 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/0.02832, allocations: 342.8 kB / 351.2 MB, free: 13.04 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004069/0.02872, allocations: 132.8 kB / 351.4 MB, free: 12.91 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.534e-05/0.02876, allocations: 8 kB / 351.4 MB, free: 12.9 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005093/0.02927, allocations: 193.8 kB / 351.6 MB, free: 12.7 MB / 282.7 MB Notification: Performance of pre-optimization done (n=27): time 1.432e-06/0.02927, allocations: 0 / 351.6 MB, free: 12.7 MB / 282.7 MB Notification: Performance of matching and sorting (n=27): time 0.001959/0.03123, allocations: 0.5877 MB / 352.2 MB, free: 12.1 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.691e-05/0.0313, allocations: 85.05 kB / 352.2 MB, free: 12 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001395/0.03269, allocations: 0.9339 MB / 353.2 MB, free: 11.05 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.7e-05/0.03275, allocations: 29.7 kB / 353.2 MB, free: 11.02 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004267/0.03317, allocations: 372.6 kB / 353.6 MB, free: 10.65 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001181/0.03329, allocations: 95.17 kB / 353.7 MB, free: 10.56 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001555/0.03345, allocations: 78.02 kB / 353.7 MB, free: 10.47 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002805/0.03373, allocations: 378.8 kB / 354.1 MB, free: 10.09 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004852/0.03421, allocations: 176.1 kB / 354.3 MB, free: 9.914 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005619/0.03477, allocations: 271 kB / 354.5 MB, free: 9.609 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009794/0.03575, allocations: 374.2 kB / 354.9 MB, free: 9.215 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.03576, allocations: 0 / 354.9 MB, free: 9.215 MB / 282.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001504/0.03726, allocations: 0.5802 MB / 355.5 MB, free: 8.613 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.8e-05/0.0373, allocations: 29.7 kB / 355.5 MB, free: 8.578 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.03731, allocations: 7.938 kB / 355.5 MB, free: 8.57 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003855/0.0377, allocations: 85 kB / 355.6 MB, free: 8.484 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003569/0.03805, allocations: 75.89 kB / 355.7 MB, free: 8.41 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002368/0.04042, allocations: 1.688 MB / 357.4 MB, free: 6.621 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004103/0.04083, allocations: 59.67 kB / 357.4 MB, free: 6.562 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.997e-05/0.04087, allocations: 16 kB / 357.4 MB, free: 6.547 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007321/0.0416, allocations: 374.6 kB / 357.8 MB, free: 6.172 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004949/0.0421, allocations: 255.2 kB / 358.1 MB, free: 5.883 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008136/0.04291, allocations: 340.7 kB / 358.4 MB, free: 5.52 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.983e-06/0.04291, allocations: 0 / 358.4 MB, free: 5.52 MB / 282.7 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.001357/0.04427, allocations: 0.5556 MB / 358.9 MB, free: 4.941 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.345e-05/0.04432, allocations: 37.7 kB / 359 MB, free: 4.898 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.04433, allocations: 4 kB / 359 MB, free: 4.895 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003286/0.04466, allocations: 84.72 kB / 359.1 MB, free: 4.809 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003204/0.04498, allocations: 71.89 kB / 359.1 MB, free: 4.738 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002094/0.04707, allocations: 1.684 MB / 360.8 MB, free: 2.953 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003909/0.04746, allocations: 39.81 kB / 360.9 MB, free: 2.914 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.544e-05/0.04751, allocations: 19.98 kB / 360.9 MB, free: 2.895 MB / 282.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.0002273/0.04774, allocations: 208.2 kB / 361.1 MB, free: 2.684 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001536/0.04789, allocations: 75.53 kB / 361.2 MB, free: 2.609 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001271/0.04916, allocations: 433.1 kB / 361.6 MB, free: 2.172 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.04917, allocations: 4 kB / 361.6 MB, free: 2.168 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.04917, allocations: 0 / 361.6 MB, free: 2.168 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.04917, allocations: 3.938 kB / 361.6 MB, free: 2.164 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002085/0.05126, allocations: 0.8972 MB / 362.5 MB, free: 1.227 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.05126, allocations: 0 / 362.5 MB, free: 1.227 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003117/0.05157, allocations: 51.95 kB / 362.5 MB, free: 1.176 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003237/0.0519, allocations: 76.98 kB / 362.6 MB, free: 1.098 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.329e-05/0.05192, allocations: 0 / 362.6 MB, free: 1.098 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002243/0.05416, allocations: 1.68 MB / 364.3 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.05417, allocations: 7.969 kB / 364.3 MB, free: 15.31 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001719/0.05589, allocations: 0.6573 MB / 365 MB, free: 14.63 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002144/0.0561, allocations: 79.55 kB / 365 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.366e-05/0.05619, allocations: 8 kB / 365 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003318/0.05653, allocations: 31.95 kB / 365.1 MB, free: 14.52 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.05663, allocations: 31.89 kB / 365.1 MB, free: 14.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.504e-05/0.05666, allocations: 8 kB / 365.1 MB, free: 14.48 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001062/0.05772, allocations: 0.6669 MB / 365.8 MB, free: 13.82 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05772, allocations: 0 / 365.8 MB, free: 13.82 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001037/0.05876, allocations: 239.4 kB / 366 MB, free: 13.58 MB / 298.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.003217/0.06198, allocations: 0.651 MB / 366.7 MB, free: 13.23 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002242/0.06422, allocations: 0.906 MB / 367.6 MB, free: 12.26 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.06422, allocations: 0 / 367.6 MB, free: 12.26 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006526/0.06487, allocations: 270.4 kB / 367.8 MB, free: 11.98 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007966/0.06567, allocations: 106.4 kB / 367.9 MB, free: 11.88 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002864/0.06854, allocations: 1.354 MB / 369.3 MB, free: 10.49 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005301/0.06907, allocations: 356.5 kB / 369.6 MB, free: 10.12 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003132/0.06938, allocations: 80.33 kB / 369.7 MB, free: 10.04 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001465/0.06953, allocations: 40.5 kB / 369.8 MB, free: 10 MB / 298.7 MB Notification: Performance of SimCode: time 9.92e-07/0.06953, allocations: 4 kB / 369.8 MB, free: 10 MB / 298.7 MB Notification: Performance of Templates: time 0.01816/0.08769, allocations: 7.767 MB / 377.5 MB, free: 2.301 MB / 298.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: 4.725850261980668]