Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.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.0012/0.0012, allocations: 92.22 kB / 19.65 MB, free: 276 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.001106/0.001106, allocations: 173 kB / 23.02 MB, free: 1.547 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.9637/0.9637, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.04075/0.04075, allocations: 6.487 MB / 266.4 MB, free: 6.641 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.TestIceConn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.464e-06/2.464e-06, allocations: 0 / 338.1 MB, free: 10.82 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.334e-05/2.581e-05, allocations: 2.312 kB / 338.1 MB, free: 10.81 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn): time 0.004064/0.00409, allocations: 3.805 MB / 341.9 MB, free: 6.984 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001687/0.005777, allocations: 1.203 MB / 343.1 MB, free: 5.777 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000261/0.006038, allocations: 11.94 kB / 343.1 MB, free: 5.766 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003897/0.006428, allocations: 194.9 kB / 343.3 MB, free: 5.574 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005129/0.006941, allocations: 294.3 kB / 343.6 MB, free: 5.285 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005526/0.007493, allocations: 367.1 kB / 343.9 MB, free: 4.926 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005267/0.00802, allocations: 0.6587 MB / 344.6 MB, free: 4.266 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002926/0.008313, allocations: 187.8 kB / 344.8 MB, free: 4.078 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004174/0.00873, allocations: 387 kB / 345.2 MB, free: 3.699 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002376/0.008968, allocations: 251.3 kB / 345.4 MB, free: 3.453 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.704e-05/0.009015, allocations: 56 kB / 345.5 MB, free: 3.398 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001379/0.009152, allocations: 119.8 kB / 345.6 MB, free: 3.281 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001294/0.009282, allocations: 231.2 kB / 345.8 MB, free: 3.055 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001172/0.009399, allocations: 199.4 kB / 346 MB, free: 2.859 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004994/0.009898, allocations: 0.5759 MB / 346.6 MB, free: 2.281 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.009901, allocations: 0 / 346.6 MB, free: 2.281 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.009902, allocations: 0 / 346.6 MB, free: 2.281 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.245e-06/0.00991, allocations: 0 / 346.6 MB, free: 2.281 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.0009467/0.01086, allocations: 1.15 MB / 347.7 MB, free: 1.086 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.01089, allocations: 8.031 kB / 347.7 MB, free: 1.078 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000112/0.011, allocations: 120.4 kB / 347.8 MB, free: 0.9609 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004156/0.01142, allocations: 476.9 kB / 348.3 MB, free: 480 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.691e-05/0.01144, allocations: 33.38 kB / 348.3 MB, free: 444 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.43e-05/0.01149, allocations: 40.38 kB / 348.4 MB, free: 404 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003799/0.01187, allocations: 363.8 kB / 348.7 MB, free: 16 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.01188, allocations: 0 / 348.7 MB, free: 16 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.261e-05/0.01191, allocations: 16 kB / 348.7 MB, free: 0 / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.705e-05/0.01193, allocations: 8.047 kB / 348.8 MB, free: 15.99 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002219/0.01215, allocations: 141.8 kB / 348.9 MB, free: 15.85 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001551/0.01371, allocations: 1.619 MB / 350.5 MB, free: 14.17 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003115/0.01402, allocations: 179.4 kB / 350.7 MB, free: 13.98 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.793e-05/0.0141, allocations: 55.66 kB / 350.7 MB, free: 13.92 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.765e-05/0.01412, allocations: 8 kB / 350.8 MB, free: 13.91 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001645/0.01429, allocations: 120.9 kB / 350.9 MB, free: 13.78 MB / 282.7 MB Notification: Performance of pre-optimization done (n=26): time 1.653e-06/0.01429, allocations: 0 / 350.9 MB, free: 13.78 MB / 282.7 MB Notification: Performance of matching and sorting (n=26): time 0.0006475/0.01494, allocations: 365.1 kB / 351.2 MB, free: 13.41 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.456e-05/0.01497, allocations: 55.39 kB / 351.3 MB, free: 13.35 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005692/0.01554, allocations: 0.6987 MB / 352 MB, free: 12.63 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.388e-05/0.01556, allocations: 41.64 kB / 352 MB, free: 12.58 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002248/0.01579, allocations: 423.2 kB / 352.4 MB, free: 12.16 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.163e-05/0.01584, allocations: 87.23 kB / 352.5 MB, free: 12.08 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8e-05/0.01592, allocations: 83.72 kB / 352.6 MB, free: 11.98 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001707/0.01609, allocations: 0.5664 MB / 353.2 MB, free: 11.41 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001042/0.0162, allocations: 82.41 kB / 353.2 MB, free: 11.32 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001745/0.01637, allocations: 172.4 kB / 353.4 MB, free: 11.11 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002246/0.0166, allocations: 236 kB / 353.6 MB, free: 10.84 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.0166, allocations: 0 / 353.6 MB, free: 10.84 MB / 282.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0004442/0.01704, allocations: 422.4 kB / 354.1 MB, free: 10.41 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.15e-05/0.01707, allocations: 33.92 kB / 354.1 MB, free: 10.37 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.413e-06/0.01708, allocations: 4 kB / 354.1 MB, free: 10.36 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002102/0.01729, allocations: 63.64 kB / 354.2 MB, free: 10.3 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000149/0.01744, allocations: 67.91 kB / 354.2 MB, free: 10.23 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001183/0.01862, allocations: 2.137 MB / 356.4 MB, free: 7.969 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001426/0.01876, allocations: 43.72 kB / 356.4 MB, free: 7.926 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.084e-05/0.01879, allocations: 12 kB / 356.4 MB, free: 7.914 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 (powReq.count,$PRE.powReq.count,powReq.T_start,$PRE.powReq.T_start,$whenCondition1,ice.tokgFuel.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * 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.0001459/0.01893, allocations: 176.5 kB / 356.6 MB, free: 7.73 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.275e-05/0.01899, allocations: 75.52 kB / 356.7 MB, free: 7.656 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003505/0.01934, allocations: 259 kB / 356.9 MB, free: 7.391 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.01935, allocations: 8.031 kB / 356.9 MB, free: 7.383 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.01935, allocations: 0 / 356.9 MB, free: 7.383 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.01936, allocations: 3.984 kB / 356.9 MB, free: 7.379 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003419/0.0197, allocations: 432.4 kB / 357.3 MB, free: 6.922 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.0197, allocations: 4 kB / 357.4 MB, free: 6.918 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001172/0.01982, allocations: 39.97 kB / 357.4 MB, free: 6.879 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001464/0.01996, allocations: 55.64 kB / 357.4 MB, free: 6.82 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.545e-05/0.01998, allocations: 8 kB / 357.5 MB, free: 6.812 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001072/0.02105, allocations: 2.129 MB / 359.6 MB, free: 4.566 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.02106, allocations: 4.125 kB / 359.6 MB, free: 4.562 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004162/0.02147, allocations: 356.5 kB / 359.9 MB, free: 4.188 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.86e-05/0.02154, allocations: 83.53 kB / 360 MB, free: 4.105 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.033e-05/0.02157, allocations: 8 kB / 360 MB, free: 4.098 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.146e-05/0.02165, allocations: 15.98 kB / 360 MB, free: 4.082 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.822e-05/0.02172, allocations: 23.95 kB / 360.1 MB, free: 4.059 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.397e-05/0.02173, allocations: 11.92 kB / 360.1 MB, free: 4.047 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003648/0.0221, allocations: 462.9 kB / 360.5 MB, free: 3.602 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.0221, allocations: 0 / 360.5 MB, free: 3.602 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003394/0.02244, allocations: 127.7 kB / 360.7 MB, free: 3.477 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (loadTorque.phi,ice.inertia.w,ice.tokgFuel.y) * Number of discrete variables: 3 ($whenCondition1,powReq.T_start,powReq.count) * Number of discrete states: 1 (powReq.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 18 * 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.001194/0.02363, allocations: 0.5634 MB / 361.2 MB, free: 3.141 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004768/0.02411, allocations: 446.2 kB / 361.7 MB, free: 2.664 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.02411, allocations: 0 / 361.7 MB, free: 2.664 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002045/0.02431, allocations: 273.9 kB / 361.9 MB, free: 2.375 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003161/0.02463, allocations: 100.9 kB / 362 MB, free: 2.277 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001522/0.02615, allocations: 1.121 MB / 363.1 MB, free: 1.117 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001222/0.02627, allocations: 169.2 kB / 363.3 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001152/0.02639, allocations: 48.25 kB / 363.4 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.609e-05/0.02647, allocations: 40.48 kB / 363.4 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of SimCode: time 7.82e-07/0.02647, allocations: 4 kB / 363.4 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of Templates: time 0.01055/0.03702, allocations: 7.046 MB / 370.4 MB, free: 9.852 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1402035509236157]