Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.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.001169/0.001169, allocations: 93.06 kB / 19.65 MB, free: 280 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.001347/0.001347, allocations: 169.3 kB / 23.02 MB, free: 1.555 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.9094/0.9094, allocations: 177.1 MB / 203.4 MB, free: 5.621 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.02556/0.02556, allocations: 6.472 MB / 266.4 MB, free: 6.625 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.TestIceT01,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceT01,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 338.1 MB, free: 10.78 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.297e-05/1.449e-05, allocations: 5.125 kB / 338.1 MB, free: 10.77 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceT01): time 0.003225/0.00324, allocations: 3.719 MB / 341.8 MB, free: 7.027 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001646/0.004885, allocations: 1.936 MB / 343.7 MB, free: 5.082 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001905/0.005076, allocations: 7.938 kB / 343.7 MB, free: 5.074 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003468/0.005423, allocations: 206.8 kB / 343.9 MB, free: 4.871 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004435/0.005866, allocations: 282.4 kB / 344.2 MB, free: 4.594 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000496/0.006362, allocations: 411 kB / 344.6 MB, free: 4.191 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004238/0.006786, allocations: 0.6507 MB / 345.3 MB, free: 3.539 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002132/0.006999, allocations: 155.2 kB / 345.4 MB, free: 3.383 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003101/0.007309, allocations: 371 kB / 345.8 MB, free: 3.02 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002169/0.007526, allocations: 243.3 kB / 346 MB, free: 2.781 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.416e-05/0.00757, allocations: 56 kB / 346.1 MB, free: 2.727 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001138/0.007684, allocations: 115.8 kB / 346.2 MB, free: 2.613 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001081/0.007792, allocations: 215.3 kB / 346.4 MB, free: 2.402 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001085/0.007901, allocations: 203.3 kB / 346.6 MB, free: 2.203 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004257/0.008326, allocations: 0.5642 MB / 347.2 MB, free: 1.637 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.008328, allocations: 0 / 347.2 MB, free: 1.637 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.008329, allocations: 0 / 347.2 MB, free: 1.637 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.008334, allocations: 0 / 347.2 MB, free: 1.637 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: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.0009023/0.009237, allocations: 1.115 MB / 348.3 MB, free: 484 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.257e-05/0.009269, allocations: 12.03 kB / 348.3 MB, free: 472 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000106/0.009375, allocations: 120.3 kB / 348.4 MB, free: 352 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004336/0.009809, allocations: 477 kB / 348.9 MB, free: 15.85 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.939e-05/0.009838, allocations: 29.38 kB / 348.9 MB, free: 15.82 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.295e-05/0.009891, allocations: 40.33 kB / 348.9 MB, free: 15.79 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004312/0.01032, allocations: 373.2 kB / 349.3 MB, free: 15.39 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/0.01034, allocations: 7.938 kB / 349.3 MB, free: 15.38 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.333e-05/0.01036, allocations: 12 kB / 349.3 MB, free: 15.37 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.829e-06/0.01037, allocations: 8 kB / 349.3 MB, free: 15.36 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002059/0.01058, allocations: 129.8 kB / 349.5 MB, free: 15.23 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00139/0.01197, allocations: 1.554 MB / 351 MB, free: 13.61 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003063/0.01227, allocations: 171.4 kB / 351.2 MB, free: 13.43 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.33e-05/0.01235, allocations: 47.66 kB / 351.2 MB, free: 13.38 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.75e-05/0.01238, allocations: 8 kB / 351.2 MB, free: 13.38 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00016/0.01254, allocations: 109 kB / 351.3 MB, free: 13.25 MB / 282.7 MB Notification: Performance of pre-optimization done (n=24): time 1.904e-06/0.01254, allocations: 4 kB / 351.3 MB, free: 13.25 MB / 282.7 MB Notification: Performance of matching and sorting (n=24): time 0.0004841/0.01302, allocations: 296.3 kB / 351.6 MB, free: 12.95 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.799e-05/0.01306, allocations: 81.11 kB / 351.7 MB, free: 12.86 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005665/0.01363, allocations: 0.7065 MB / 352.4 MB, free: 12.13 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.37e-05/0.01365, allocations: 33.69 kB / 352.4 MB, free: 12.09 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002209/0.01387, allocations: 411.4 kB / 352.8 MB, free: 11.68 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.745e-05/0.01393, allocations: 95.19 kB / 352.9 MB, free: 11.59 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.292e-05/0.01401, allocations: 79.31 kB / 353 MB, free: 11.5 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001721/0.01418, allocations: 0.5703 MB / 353.6 MB, free: 10.92 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001072/0.01429, allocations: 85.3 kB / 353.7 MB, free: 10.83 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001501/0.01444, allocations: 208.5 kB / 353.9 MB, free: 10.57 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002125/0.01465, allocations: 226.5 kB / 354.1 MB, free: 10.31 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.01466, allocations: 0 / 354.1 MB, free: 10.31 MB / 282.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0003976/0.01505, allocations: 383.8 kB / 354.5 MB, free: 9.914 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.617e-05/0.01508, allocations: 33.69 kB / 354.5 MB, free: 9.875 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.01508, allocations: 4 kB / 354.5 MB, free: 9.871 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001306/0.01521, allocations: 27.67 kB / 354.5 MB, free: 9.84 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001624/0.01538, allocations: 67.91 kB / 354.6 MB, free: 9.773 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007292/0.01611, allocations: 1.736 MB / 356.3 MB, free: 7.918 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001322/0.01624, allocations: 39.83 kB / 356.4 MB, free: 7.879 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.66e-05/0.01626, allocations: 8 kB / 356.4 MB, free: 7.871 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001693/0.01642, allocations: 220.5 kB / 356.6 MB, free: 7.645 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001353/0.01656, allocations: 197.2 kB / 356.8 MB, free: 7.402 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000189/0.01675, allocations: 219 kB / 357 MB, free: 7.148 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.584e-06/0.01675, allocations: 4 kB / 357 MB, free: 7.145 MB / 282.7 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0003605/0.01711, allocations: 383.7 kB / 357.4 MB, free: 6.746 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.01713, allocations: 36.36 kB / 357.4 MB, free: 6.707 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.063e-06/0.01713, allocations: 224 / 357.4 MB, free: 6.707 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.695e-05/0.01719, allocations: 31.67 kB / 357.5 MB, free: 6.672 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001377/0.01733, allocations: 67.91 kB / 357.5 MB, free: 6.605 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007249/0.01805, allocations: 1.732 MB / 359.3 MB, free: 4.746 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001338/0.01819, allocations: 43.95 kB / 359.3 MB, free: 4.703 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.466e-05/0.0182, allocations: 8 kB / 359.3 MB, free: 4.695 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,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.0001099/0.01831, allocations: 292 kB / 359.6 MB, free: 4.402 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.664e-05/0.01837, allocations: 71.58 kB / 359.7 MB, free: 4.332 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002929/0.01866, allocations: 235 kB / 359.9 MB, free: 4.09 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.01866, allocations: 4 kB / 359.9 MB, free: 4.086 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.003e-06/0.01866, allocations: 0 / 359.9 MB, free: 4.086 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.01867, allocations: 3.984 kB / 359.9 MB, free: 4.082 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003251/0.01899, allocations: 416.3 kB / 360.3 MB, free: 3.641 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.019, allocations: 8 kB / 360.3 MB, free: 3.633 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000126/0.01912, allocations: 39.92 kB / 360.3 MB, free: 3.594 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.802e-05/0.01918, allocations: 27.61 kB / 360.4 MB, free: 3.562 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.607e-05/0.0192, allocations: 4 kB / 360.4 MB, free: 3.559 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000621/0.01982, allocations: 1.736 MB / 362.1 MB, free: 1.699 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.01982, allocations: 0 / 362.1 MB, free: 1.699 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003535/0.02017, allocations: 322.3 kB / 362.4 MB, free: 1.355 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.206e-05/0.02024, allocations: 75.5 kB / 362.5 MB, free: 1.281 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.158e-05/0.02027, allocations: 8 kB / 362.5 MB, free: 1.273 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.24e-05/0.02037, allocations: 23.97 kB / 362.5 MB, free: 1.25 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.644e-05/0.02042, allocations: 19.91 kB / 362.6 MB, free: 1.23 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/0.02043, allocations: 11.98 kB / 362.6 MB, free: 1.219 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003513/0.02079, allocations: 455 kB / 363 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02079, allocations: 0 / 363 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003768/0.02116, allocations: 227.5 kB / 363.2 MB, free: 0.5586 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (iceT.inertia.w,iceT.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 (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.001102/0.02226, allocations: 0.5567 MB / 363.8 MB, free: 236 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006766/0.02294, allocations: 0.7911 MB / 364.6 MB, free: 15.36 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.02294, allocations: 0 / 364.6 MB, free: 15.36 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001684/0.02311, allocations: 245.4 kB / 364.8 MB, free: 15.1 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003079/0.02342, allocations: 107.1 kB / 364.9 MB, free: 15 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001378/0.0248, allocations: 1.086 MB / 366 MB, free: 13.88 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.813e-05/0.0249, allocations: 169.2 kB / 366.2 MB, free: 13.7 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001327/0.02503, allocations: 72.22 kB / 366.2 MB, free: 13.62 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.418e-05/0.0251, allocations: 40.48 kB / 366.3 MB, free: 13.59 MB / 298.7 MB Notification: Performance of SimCode: time 8.02e-07/0.0251, allocations: 0 / 366.3 MB, free: 13.59 MB / 298.7 MB Notification: Performance of Templates: time 0.008844/0.03395, allocations: 6.986 MB / 373.3 MB, free: 6.648 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01 -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.811410853639245]