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.001436/0.001436, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001809/0.001809, allocations: 161.4 kB / 22.45 MB, free: 5.375 MB / 14.72 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.522/1.522, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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.05738/0.05738, allocations: 6.511 MB / 265.7 MB, free: 10.26 MB / 254.1 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.614e-06/2.614e-06, allocations: 0 / 392.2 MB, free: 9.723 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.005e-05/3.266e-05, allocations: 2.281 kB / 392.2 MB, free: 9.719 MB / 318.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceP): time 0.006397/0.006429, allocations: 3.621 MB / 395.8 MB, free: 6.078 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003493/0.009922, allocations: 1.912 MB / 397.7 MB, free: 4.16 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003767/0.0103, allocations: 15.88 kB / 397.7 MB, free: 4.145 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005702/0.01087, allocations: 206.8 kB / 397.9 MB, free: 3.941 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008646/0.01173, allocations: 298.3 kB / 398.2 MB, free: 3.648 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001006/0.01274, allocations: 427.2 kB / 398.6 MB, free: 3.234 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009789/0.01372, allocations: 0.6821 MB / 399.3 MB, free: 2.551 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004125/0.01413, allocations: 160.2 kB / 399.5 MB, free: 2.391 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007191/0.01485, allocations: 391 kB / 399.8 MB, free: 2.008 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004031/0.01525, allocations: 259.2 kB / 400.1 MB, free: 1.754 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.097e-05/0.01534, allocations: 56 kB / 400.1 MB, free: 1.699 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002518/0.0156, allocations: 123.8 kB / 400.3 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002486/0.01584, allocations: 223.2 kB / 400.5 MB, free: 1.359 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002627/0.01611, allocations: 207.3 kB / 400.7 MB, free: 1.156 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00116/0.01727, allocations: 0.8917 MB / 401.6 MB, free: 268 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.01727, allocations: 4 kB / 401.6 MB, free: 264 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.01727, allocations: 0 / 401.6 MB, free: 264 kB / 318.1 MB Notification: Performance of Transformations before backend: time 1.481e-05/0.01729, allocations: 0 / 401.6 MB, free: 264 kB / 318.1 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.001987/0.01927, allocations: 1.058 MB / 402.6 MB, free: 15.16 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.01931, allocations: 8.031 kB / 402.6 MB, free: 15.15 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001448/0.01945, allocations: 96.38 kB / 402.7 MB, free: 15.06 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008669/0.02032, allocations: 0.5371 MB / 403.3 MB, free: 14.49 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.421e-05/0.02036, allocations: 33.36 kB / 403.3 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.148e-05/0.02045, allocations: 44.38 kB / 403.4 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009718/0.02142, allocations: 474.5 kB / 403.8 MB, free: 13.92 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.973e-05/0.02144, allocations: 0 / 403.8 MB, free: 13.92 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.503e-05/0.02148, allocations: 20 kB / 403.8 MB, free: 13.9 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.295e-05/0.0215, allocations: 8 kB / 403.8 MB, free: 13.89 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009576/0.02245, allocations: 331.7 kB / 404.2 MB, free: 13.57 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002625/0.02508, allocations: 1.503 MB / 405.7 MB, free: 12.01 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001054/0.02613, allocations: 351.5 kB / 406 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003805/0.02651, allocations: 124.8 kB / 406.1 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.302e-05/0.02655, allocations: 7.938 kB / 406.1 MB, free: 11.53 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005115/0.02706, allocations: 202.5 kB / 406.3 MB, free: 11.32 MB / 334.1 MB Notification: Performance of pre-optimization done (n=27): time 2.013e-06/0.02706, allocations: 0 / 406.3 MB, free: 11.32 MB / 334.1 MB Notification: Performance of matching and sorting (n=27): time 0.001884/0.02894, allocations: 0.57 MB / 406.9 MB, free: 10.74 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.502e-05/0.02901, allocations: 89.05 kB / 407 MB, free: 10.63 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00124/0.03025, allocations: 0.9339 MB / 407.9 MB, free: 9.688 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.71e-05/0.0303, allocations: 33.7 kB / 408 MB, free: 9.648 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003362/0.03063, allocations: 360.5 kB / 408.3 MB, free: 9.293 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.86e-05/0.03073, allocations: 99.23 kB / 408.4 MB, free: 9.195 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001327/0.03086, allocations: 82.02 kB / 408.5 MB, free: 9.105 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002152/0.03108, allocations: 382.8 kB / 408.9 MB, free: 8.723 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004931/0.03157, allocations: 172.1 kB / 409 MB, free: 8.547 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000524/0.0321, allocations: 275.1 kB / 409.3 MB, free: 8.234 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008451/0.03294, allocations: 370.2 kB / 409.7 MB, free: 7.844 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.03294, allocations: 0 / 409.7 MB, free: 7.844 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001422/0.03437, allocations: 0.5646 MB / 410.2 MB, free: 7.258 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.808e-05/0.0344, allocations: 32.83 kB / 410.3 MB, free: 7.223 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.588e-05/0.03442, allocations: 7.938 kB / 410.3 MB, free: 7.215 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000283/0.0347, allocations: 65.03 kB / 410.3 MB, free: 7.148 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004035/0.03511, allocations: 79.88 kB / 410.4 MB, free: 7.07 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002036/0.03714, allocations: 1.665 MB / 412.1 MB, free: 5.305 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003368/0.03748, allocations: 55.78 kB / 412.1 MB, free: 5.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.591e-05/0.03753, allocations: 19.98 kB / 412.1 MB, free: 5.23 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007057/0.03823, allocations: 374.6 kB / 412.5 MB, free: 4.855 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005266/0.03876, allocations: 259.1 kB / 412.8 MB, free: 4.566 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007592/0.03952, allocations: 340.4 kB / 413.1 MB, free: 4.203 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.054e-06/0.03952, allocations: 0 / 413.1 MB, free: 4.203 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.001283/0.0408, allocations: 0.5402 MB / 413.6 MB, free: 3.641 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.361e-05/0.04086, allocations: 41.69 kB / 413.7 MB, free: 3.594 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.04086, allocations: 224 / 413.7 MB, free: 3.594 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000213/0.04107, allocations: 64.81 kB / 413.7 MB, free: 3.527 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003054/0.04138, allocations: 71.89 kB / 413.8 MB, free: 3.457 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001811/0.04319, allocations: 1.696 MB / 415.5 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000304/0.04349, allocations: 39.89 kB / 415.6 MB, free: 1.621 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.03e-05/0.04352, allocations: 15.98 kB / 415.6 MB, free: 1.605 MB / 334.1 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.0001859/0.04371, allocations: 204.8 kB / 415.8 MB, free: 1.398 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/0.04381, allocations: 67.53 kB / 415.8 MB, free: 1.332 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001241/0.04505, allocations: 424.9 kB / 416.2 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.04506, allocations: 7.984 kB / 416.3 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.04506, allocations: 0 / 416.3 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.04507, allocations: 3.938 kB / 416.3 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001877/0.04694, allocations: 0.8946 MB / 417.2 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.04695, allocations: 0 / 417.2 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002989/0.04724, allocations: 55.89 kB / 417.2 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002096/0.04745, allocations: 56.81 kB / 417.3 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.511e-05/0.04748, allocations: 8.188 kB / 417.3 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001904/0.04938, allocations: 1.665 MB / 418.9 MB, free: 14.06 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.04938, allocations: 0 / 418.9 MB, free: 14.06 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001719/0.0511, allocations: 0.6571 MB / 419.6 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002024/0.05131, allocations: 79.5 kB / 419.7 MB, free: 13.31 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.01e-05/0.05138, allocations: 12 kB / 419.7 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002753/0.05165, allocations: 23.97 kB / 419.7 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.007e-05/0.05174, allocations: 31.89 kB / 419.7 MB, free: 13.24 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.003e-05/0.05176, allocations: 11.92 kB / 419.7 MB, free: 13.23 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0009013/0.05266, allocations: 0.6709 MB / 420.4 MB, free: 12.56 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.05266, allocations: 0 / 420.4 MB, free: 12.56 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008834/0.05355, allocations: 231.4 kB / 420.6 MB, free: 12.34 MB / 350.1 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.002555/0.0561, allocations: 0.6612 MB / 421.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002071/0.05817, allocations: 0.8978 MB / 422.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.05818, allocations: 0 / 422.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005792/0.05875, allocations: 274.5 kB / 422.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005865/0.05934, allocations: 94.14 kB / 422.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002414/0.06176, allocations: 1.316 MB / 423.9 MB, free: 9.309 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005101/0.06227, allocations: 361.2 kB / 424.2 MB, free: 8.934 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002385/0.0625, allocations: 88.31 kB / 424.3 MB, free: 8.844 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001144/0.06262, allocations: 36.5 kB / 424.4 MB, free: 8.809 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.06262, allocations: 0 / 424.4 MB, free: 8.809 MB / 350.1 MB Notification: Performance of Templates: time 0.01722/0.07983, allocations: 7.72 MB / 432.1 MB, free: 1.141 MB / 350.1 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=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.740090411156416] Failed to read output from testmodel.py, exit status != 0: 0.08908824622631073 0.105441741 0.08475052200000001 Calling exit ...