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.0008709/0.0008709, allocations: 69.11 kB / 20.65 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.001033/0.001033, allocations: 173 kB / 24.06 MB, free: 448 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 0.9889/0.9889, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.06099/0.06099, allocations: 6.479 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 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 1.834e-06/1.834e-06, allocations: 0 / 339.3 MB, free: 11.57 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.251e-05/2.435e-05, allocations: 6.312 kB / 339.3 MB, free: 11.57 MB / 314.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceP): time 0.007581/0.007605, allocations: 3.752 MB / 343 MB, free: 7.793 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002582/0.01019, allocations: 1.963 MB / 345 MB, free: 5.824 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002713/0.01046, allocations: 11.88 kB / 345 MB, free: 5.812 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004256/0.01088, allocations: 206.7 kB / 345.2 MB, free: 5.609 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003664/0.01455, allocations: 302.3 kB / 345.5 MB, free: 5.312 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007444/0.01529, allocations: 411 kB / 345.9 MB, free: 4.91 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006972/0.01599, allocations: 0.686 MB / 346.6 MB, free: 4.223 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000273/0.01626, allocations: 156.2 kB / 346.8 MB, free: 4.066 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004695/0.01673, allocations: 395 kB / 347.1 MB, free: 3.68 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003369/0.0201, allocations: 255.2 kB / 347.4 MB, free: 3.43 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 8.963e-05/0.02019, allocations: 59.98 kB / 347.5 MB, free: 3.371 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000183/0.02037, allocations: 123.8 kB / 347.6 MB, free: 3.25 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001877/0.02056, allocations: 227.2 kB / 347.8 MB, free: 3.027 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001842/0.02075, allocations: 207.3 kB / 348 MB, free: 2.824 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009296/0.02168, allocations: 0.5876 MB / 348.6 MB, free: 2.234 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.02168, allocations: 0 / 348.6 MB, free: 2.234 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.02168, allocations: 0 / 348.6 MB, free: 2.234 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.025e-05/0.02169, allocations: 4 kB / 348.6 MB, free: 2.23 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.004525/0.02621, allocations: 1.158 MB / 349.7 MB, free: 1.027 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.02625, allocations: 8.031 kB / 349.8 MB, free: 1.02 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001655/0.02642, allocations: 120.4 kB / 349.9 MB, free: 0.9023 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005519/0.02697, allocations: 472.9 kB / 350.3 MB, free: 420 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.474e-05/0.027, allocations: 33.38 kB / 350.4 MB, free: 384 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.132e-05/0.02706, allocations: 44.38 kB / 350.4 MB, free: 340 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004877/0.02755, allocations: 365.3 kB / 350.8 MB, free: 15.94 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.05e-05/0.02757, allocations: 7.953 kB / 350.8 MB, free: 15.93 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.091e-05/0.0276, allocations: 16 kB / 350.8 MB, free: 15.91 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.02761, allocations: 8 kB / 350.8 MB, free: 15.91 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001981/0.02781, allocations: 122.8 kB / 350.9 MB, free: 15.79 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004845/0.03266, allocations: 1.503 MB / 352.4 MB, free: 14.23 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003454/0.033, allocations: 175.5 kB / 352.6 MB, free: 14.05 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.944e-05/0.03308, allocations: 51.66 kB / 352.6 MB, free: 13.99 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.834e-05/0.03311, allocations: 4 kB / 352.6 MB, free: 13.99 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001847/0.03329, allocations: 119.7 kB / 352.8 MB, free: 13.86 MB / 330.7 MB Notification: Performance of pre-optimization done (n=27): time 2.384e-06/0.0333, allocations: 0 / 352.8 MB, free: 13.86 MB / 330.7 MB Notification: Performance of matching and sorting (n=27): time 0.0007291/0.03403, allocations: 350.7 kB / 353.1 MB, free: 13.5 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.109e-05/0.03407, allocations: 81.11 kB / 353.2 MB, free: 13.41 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006434/0.03471, allocations: 0.6827 MB / 353.9 MB, free: 12.71 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.97e-05/0.03474, allocations: 33.7 kB / 353.9 MB, free: 12.67 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00334/0.03808, allocations: 439.1 kB / 354.3 MB, free: 12.23 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.215e-05/0.03815, allocations: 91.19 kB / 354.4 MB, free: 12.14 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001188/0.03827, allocations: 91.62 kB / 354.5 MB, free: 12.04 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000211/0.03848, allocations: 0.578 MB / 355.1 MB, free: 11.45 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001126/0.03859, allocations: 82.97 kB / 355.2 MB, free: 11.36 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001577/0.03875, allocations: 192.6 kB / 355.4 MB, free: 11.12 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004753/0.03923, allocations: 220.9 kB / 355.6 MB, free: 10.87 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.03923, allocations: 7.969 kB / 355.6 MB, free: 10.86 MB / 330.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000536/0.03977, allocations: 401 kB / 356 MB, free: 10.45 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.407e-05/0.0398, allocations: 33.69 kB / 356 MB, free: 10.41 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.03981, allocations: 4 kB / 356 MB, free: 10.41 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002112/0.04002, allocations: 67.8 kB / 356.1 MB, free: 10.34 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002049/0.04022, allocations: 71.91 kB / 356.1 MB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004661/0.04488, allocations: 2.091 MB / 358.2 MB, free: 8.062 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001888/0.04507, allocations: 39.83 kB / 358.3 MB, free: 8.023 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.363e-05/0.0451, allocations: 20.02 kB / 358.3 MB, free: 8.004 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001846/0.04528, allocations: 205.3 kB / 358.5 MB, free: 7.793 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001471/0.04543, allocations: 200.6 kB / 358.7 MB, free: 7.551 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002039/0.04563, allocations: 211.3 kB / 358.9 MB, free: 7.305 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.693e-06/0.04563, allocations: 0 / 358.9 MB, free: 7.305 MB / 330.7 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.00046/0.04609, allocations: 391.9 kB / 359.3 MB, free: 6.898 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.725e-05/0.04612, allocations: 41.62 kB / 359.3 MB, free: 6.852 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-06/0.04613, allocations: 4 kB / 359.3 MB, free: 6.848 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001622/0.04629, allocations: 64.05 kB / 359.4 MB, free: 6.781 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001792/0.04647, allocations: 71.84 kB / 359.5 MB, free: 6.711 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004305/0.05077, allocations: 2.091 MB / 361.5 MB, free: 4.504 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001978/0.05097, allocations: 47.7 kB / 361.6 MB, free: 4.457 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.02e-05/0.05099, allocations: 12 kB / 361.6 MB, free: 4.445 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.000127/0.05112, allocations: 288 kB / 361.9 MB, free: 4.156 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.353e-05/0.0512, allocations: 75.58 kB / 362 MB, free: 4.082 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003903/0.05159, allocations: 255.8 kB / 362.2 MB, free: 3.816 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.05159, allocations: 4 kB / 362.2 MB, free: 3.812 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.0516, allocations: 192 / 362.2 MB, free: 3.812 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.0516, allocations: 0 / 362.2 MB, free: 3.812 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000798/0.0524, allocations: 0.694 MB / 362.9 MB, free: 3.082 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.0524, allocations: 4 kB / 362.9 MB, free: 3.078 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001546/0.05256, allocations: 43.97 kB / 363 MB, free: 3.035 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002037/0.05276, allocations: 55.58 kB / 363 MB, free: 2.977 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.1e-05/0.05278, allocations: 8 kB / 363 MB, free: 2.969 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004347/0.05713, allocations: 2.095 MB / 365.1 MB, free: 0.7617 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.05713, allocations: 0 / 365.1 MB, free: 0.7617 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004962/0.05763, allocations: 460 kB / 365.6 MB, free: 292 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.007e-05/0.05771, allocations: 71.5 kB / 365.6 MB, free: 220 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.746e-05/0.05776, allocations: 7.938 kB / 365.6 MB, free: 212 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001604/0.05792, allocations: 19.98 kB / 365.7 MB, free: 192 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.523e-05/0.05798, allocations: 27.98 kB / 365.7 MB, free: 164 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.699e-05/0.058, allocations: 11.98 kB / 365.7 MB, free: 152 kB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003711/0.05837, allocations: 422.8 kB / 366.1 MB, free: 15.74 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.05837, allocations: 0 / 366.1 MB, free: 15.74 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009214/0.05929, allocations: 235.4 kB / 366.3 MB, free: 15.51 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.004474/0.06377, allocations: 0.5576 MB / 366.9 MB, free: 15.19 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007725/0.06454, allocations: 0.7916 MB / 367.7 MB, free: 14.31 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.06454, allocations: 0 / 367.7 MB, free: 14.31 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002626/0.0648, allocations: 266.1 kB / 368 MB, free: 14.03 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005652/0.06537, allocations: 129.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.001988/0.06736, allocations: 1.121 MB / 369.2 MB, free: 12.75 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001766/0.06753, allocations: 169.3 kB / 369.4 MB, free: 12.56 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000211/0.06774, 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.000275/0.06802, allocations: 158.2 kB / 369.6 MB, free: 12.34 MB / 346.7 MB Notification: Performance of SimCode: time 1.283e-06/0.06802, allocations: 0 / 369.6 MB, free: 12.34 MB / 346.7 MB Notification: Performance of Templates: time 0.01127/0.07929, allocations: 8.552 MB / 378.1 MB, free: 3.855 MB / 346.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=240 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.347080712672323]