Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.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.001092/0.001092, allocations: 80.48 kB / 19.93 MB, free: 4.629 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.001075/0.001075, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8501/0.8501, allocations: 177.1 MB / 203.5 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.02391/0.02391, allocations: 6.471 MB / 266.4 MB, free: 6.863 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.TestIceT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.665e-06/2.665e-06, allocations: 0 / 392.9 MB, free: 5.234 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.273e-05/2.54e-05, allocations: 2.281 kB / 392.9 MB, free: 5.23 MB / 362.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceT): time 0.003961/0.003986, allocations: 3.516 MB / 396.4 MB, free: 1.695 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002088/0.006074, allocations: 1.885 MB / 398.3 MB, free: 15.8 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002634/0.006338, allocations: 11.94 kB / 398.3 MB, free: 15.79 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004061/0.006744, allocations: 206.8 kB / 398.5 MB, free: 15.59 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006197/0.007364, allocations: 282.4 kB / 398.8 MB, free: 15.31 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006401/0.008004, allocations: 406.5 kB / 399.2 MB, free: 14.92 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006736/0.008677, allocations: 0.6547 MB / 399.8 MB, free: 14.26 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002716/0.008949, allocations: 143.2 kB / 400 MB, free: 14.11 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003919/0.009341, allocations: 367.1 kB / 400.3 MB, free: 13.75 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003248/0.009666, allocations: 255.2 kB / 400.6 MB, free: 13.5 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.557e-05/0.009731, allocations: 64 kB / 400.6 MB, free: 13.44 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000291/0.01002, allocations: 183.7 kB / 400.8 MB, free: 13.26 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001561/0.01018, allocations: 223.2 kB / 401 MB, free: 13.04 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004116/0.01059, allocations: 207.3 kB / 401.2 MB, free: 12.84 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008804/0.01147, allocations: 0.9308 MB / 402.2 MB, free: 11.91 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.01147, allocations: 4 kB / 402.2 MB, free: 11.9 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.01148, allocations: 0 / 402.2 MB, free: 11.9 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.356e-05/0.01149, allocations: 0 / 402.2 MB, free: 11.9 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: 86 * Number of variables: 86 Notification: Performance of Generate backend data structure: time 0.001428/0.01292, allocations: 1.055 MB / 403.2 MB, free: 10.8 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.01296, allocations: 11.97 kB / 403.2 MB, free: 10.79 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001252/0.01308, allocations: 88.38 kB / 403.3 MB, free: 10.71 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000589/0.01367, allocations: 0.5372 MB / 403.9 MB, free: 10.14 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.468e-05/0.0137, allocations: 29.38 kB / 403.9 MB, free: 10.12 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.953e-05/0.01374, allocations: 40.33 kB / 403.9 MB, free: 10.08 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005723/0.01432, allocations: 0.5113 MB / 404.5 MB, free: 9.523 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.01433, allocations: 3.938 kB / 404.5 MB, free: 9.52 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.492e-05/0.01436, allocations: 12 kB / 404.5 MB, free: 9.508 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.904e-06/0.01436, allocations: 11.98 kB / 404.5 MB, free: 9.496 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004441/0.01481, allocations: 315.7 kB / 404.8 MB, free: 9.184 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001567/0.01638, allocations: 1.449 MB / 406.2 MB, free: 7.68 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005358/0.01691, allocations: 316.6 kB / 406.5 MB, free: 7.367 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001693/0.01708, allocations: 120.6 kB / 406.7 MB, free: 7.246 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.173e-05/0.01711, allocations: 4 kB / 406.7 MB, free: 7.242 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002752/0.01739, allocations: 179.3 kB / 406.8 MB, free: 7.055 MB / 378.7 MB Notification: Performance of pre-optimization done (n=24): time 2.505e-06/0.01739, allocations: 0 / 406.8 MB, free: 7.055 MB / 378.7 MB Notification: Performance of matching and sorting (n=24): time 0.0008287/0.01822, allocations: 480 kB / 407.3 MB, free: 6.578 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.907e-05/0.01828, allocations: 136.5 kB / 407.4 MB, free: 6.414 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001007/0.01928, allocations: 0.9533 MB / 408.4 MB, free: 5.449 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.743e-05/0.01931, allocations: 37.7 kB / 408.4 MB, free: 5.406 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001903/0.0195, allocations: 348.5 kB / 408.8 MB, free: 5.062 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.863e-05/0.01955, allocations: 79.34 kB / 408.9 MB, free: 4.984 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.4e-05/0.01964, allocations: 73.69 kB / 408.9 MB, free: 4.906 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.01975, allocations: 386.7 kB / 409.3 MB, free: 4.52 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002207/0.01997, allocations: 162.5 kB / 409.5 MB, free: 4.352 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002626/0.02024, allocations: 336 kB / 409.8 MB, free: 3.965 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004067/0.02064, allocations: 347.9 kB / 410.1 MB, free: 3.594 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.02065, allocations: 0 / 410.1 MB, free: 3.594 MB / 378.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0006185/0.02126, allocations: 0.5201 MB / 410.6 MB, free: 3.051 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.431e-05/0.0213, allocations: 41.69 kB / 410.7 MB, free: 3.004 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.0213, allocations: 0 / 410.7 MB, free: 3.004 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001184/0.02142, allocations: 16.86 kB / 410.7 MB, free: 2.984 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001876/0.02161, allocations: 83.81 kB / 410.8 MB, free: 2.902 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006966/0.02231, allocations: 1.256 MB / 412 MB, free: 1.539 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001817/0.02249, allocations: 51.78 kB / 412.1 MB, free: 1.488 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.773e-05/0.02251, allocations: 12 kB / 412.1 MB, free: 1.477 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003548/0.02286, allocations: 377.6 kB / 412.5 MB, free: 1.098 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002319/0.02309, allocations: 313 kB / 412.8 MB, free: 0.7344 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003531/0.02345, allocations: 328.2 kB / 413.1 MB, free: 392 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.804e-06/0.02345, allocations: 4 kB / 413.1 MB, free: 388 kB / 378.7 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0005651/0.02401, allocations: 0.4927 MB / 413.6 MB, free: 15.86 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.552e-05/0.02404, allocations: 40.34 kB / 413.6 MB, free: 15.82 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.785e-06/0.02404, allocations: 8.156 kB / 413.6 MB, free: 15.81 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.668e-05/0.02411, allocations: 20.86 kB / 413.7 MB, free: 15.79 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001502/0.02426, allocations: 75.89 kB / 413.7 MB, free: 15.71 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006008/0.02486, allocations: 1.245 MB / 415 MB, free: 14.37 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001754/0.02503, allocations: 51.84 kB / 415 MB, free: 14.32 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.607e-05/0.02505, allocations: 16 kB / 415.1 MB, free: 14.3 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,iceT.tokgFuel.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 40 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003851/0.02544, allocations: 200.2 kB / 415.2 MB, free: 14.1 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.289e-05/0.0255, allocations: 67.56 kB / 415.3 MB, free: 14.04 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00054/0.02604, allocations: 376.3 kB / 415.7 MB, free: 13.65 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.02604, allocations: 7.938 kB / 415.7 MB, free: 13.64 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.02605, allocations: 0 / 415.7 MB, free: 13.64 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.02605, allocations: 4.031 kB / 415.7 MB, free: 13.64 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003158/0.02637, allocations: 400.9 kB / 416.1 MB, free: 13.21 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.02637, allocations: 0 / 416.1 MB, free: 13.21 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001453/0.02652, allocations: 59.89 kB / 416.1 MB, free: 13.16 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.719e-05/0.02657, allocations: 20.84 kB / 416.2 MB, free: 13.13 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.626e-05/0.02659, allocations: 8 kB / 416.2 MB, free: 13.12 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005445/0.02713, allocations: 1.245 MB / 417.4 MB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.02713, allocations: 0 / 417.4 MB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006548/0.02779, allocations: 0.5208 MB / 417.9 MB, free: 11.23 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.615e-05/0.02788, allocations: 87.53 kB / 418 MB, free: 11.15 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.559e-05/0.02791, allocations: 8 kB / 418 MB, free: 11.14 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.02802, allocations: 27.97 kB / 418.1 MB, free: 11.11 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.441e-05/0.02809, allocations: 27.89 kB / 418.1 MB, free: 11.09 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.139e-05/0.0281, allocations: 12 kB / 418.1 MB, free: 11.07 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005329/0.02863, allocations: 0.6826 MB / 418.8 MB, free: 10.39 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02863, allocations: 4 kB / 418.8 MB, free: 10.39 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005038/0.02914, allocations: 251.3 kB / 419 MB, free: 10.14 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (inertia.w,loadTorque.phi,iceT.tokgFuel.y) * 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 (23): * Single equations (assignments): 20 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001193/0.03033, allocations: 0.7444 MB / 419.8 MB, free: 9.715 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009941/0.03132, allocations: 0.841 MB / 420.6 MB, free: 8.812 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.03133, allocations: 0.875 kB / 420.6 MB, free: 8.812 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002503/0.03158, allocations: 258.3 kB / 420.9 MB, free: 8.547 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003415/0.03192, allocations: 98.47 kB / 421 MB, free: 8.457 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001489/0.03341, allocations: 1.313 MB / 422.3 MB, free: 7.105 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004753/0.03388, allocations: 341.8 kB / 422.6 MB, free: 6.746 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.582e-05/0.03398, allocations: 48.48 kB / 422.7 MB, free: 6.699 MB / 394.7 MB Notification: Performance of SimCode: time 8.92e-07/0.03398, allocations: 0 / 422.7 MB, free: 6.699 MB / 394.7 MB Notification: Performance of Templates: time 0.01112/0.0451, allocations: 11.73 MB / 434.4 MB, free: 10.96 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.620070368051529] Failed to read output from testmodel.py, exit status != 0: 0.0507777351886034 0.19326900000000002 0.179959268 Calling exit ...